since you have done it manually ..it's really just a matter of putting your command in a file and maybe using variable names instead of hard coding file system names, for example:
Unfortunately Celerra developers refuse to release error codes so it's nearly impossible to take actions within the script based on error codes. For example if there is a snapsure process in progress, it will not allow you to take a snapshot until the one running completes. Checking $? value does not help a lot. I submitted an RFE to get error codes from Celerra developers two years ago...still waiting.
JohnH4
32 Posts
0
February 13th, 2009 14:00
dynamox
9 Legend
•
20.4K Posts
0
February 13th, 2009 14:00
dynamox
9 Legend
•
20.4K Posts
0
February 13th, 2009 15:00
JohnH4
32 Posts
0
February 13th, 2009 15:00
I have done manually before, but would like to try scripting it for middle of night migration
I know there is replication technique, but it seems too complex and I'm not sure about the sequence of steps
-J
JohnH4
32 Posts
0
February 13th, 2009 15:00
dynamox
9 Legend
•
20.4K Posts
1
February 14th, 2009 23:00
Unfortunately Celerra developers refuse to release error codes so it's nearly impossible to take actions within the script based on error codes. For example if there is a snapsure process in progress, it will not allow you to take a snapshot until the one running completes. Checking $? value does not help a lot. I submitted an RFE to get error codes from Celerra developers two years ago...still waiting.
JohnH4
32 Posts
0
February 16th, 2009 08:00
Thats what I was looking for, just a sanity check on a scripting method.
I'll give that a go on a test fs and let you know.
If anyone else wants to add, I'm keeping the topic open for a while.
-John