Unsolved
This post is more than 5 years old
16 Posts
0
2227
January 31st, 2008 11:00
mounting snapshots to Windows Server 2003 R2
Server is Windows Server 2003 Enterprise R2 SP2.
Have Powerpath 5.10 installed.
Navisphere Agent 6.26.0.2.20
Navisphere CLI 6.26.0.2.24
Trying to use a batch file to automate the process of starting a SnapView session, activating snapshots, and then using diskpart to scan the system for the new drive.
There are 3 LUNs presented to the production host which have been converted into a dynamic drive and spanned in Windows.
I'm trying to mount the snapshots of the production LUNs to my backup server to perform a backup of the data. I have to do it this way because the production server is a turn-key vendor solution that I cannot load agents or software onto for mgmt purposes. I can perform the process manually but when I attempt to script it out it becomes very unstable if working at all.
Here is the start script I use in my environment:
naviseccli -h 172.22.3.92 snapview -startsession CentricitySnap -snapshotname CentricitySnapMeta1,CentricitySnapMeta2,CentricitySnapMeta3
naviseccli -h 172.22.3.92 snapview -activatesnapshot CentricitySnap -snapshotname CentricitySnapMeta1
naviseccli -h 172.22.3.92 snapview -activatesnapshot CentricitySnap -snapshotname CentricitySnapMeta2
naviseccli -h 172.22.3.92 snapview -activatesnapshot CentricitySnap -snapshotname CentricitySnapMeta3
"C:\Program Files\VERITAS\Netbackup\bin\sleep.exe" 20
Diskpart.exe calls a simple text script to perform the "rescan" function
"C:\Program Files\VERITAS\Netbackup\bin\sleep.exe" 20
Diskpart.exe calls a simple text script to perform a disk select & online functions
"C:\Program Files\VERITAS\Netbackup\bin\sleep.exe" 20
I've added the sleep commands in there thinking that perhaps everything was happening so fast that commands were walking over each other but so far it hasn't helped.
What could be going wrong? The script will work once, then fail the next time altoghether with varying errors being thrown by Windows.
Help?
Have Powerpath 5.10 installed.
Navisphere Agent 6.26.0.2.20
Navisphere CLI 6.26.0.2.24
Trying to use a batch file to automate the process of starting a SnapView session, activating snapshots, and then using diskpart to scan the system for the new drive.
There are 3 LUNs presented to the production host which have been converted into a dynamic drive and spanned in Windows.
I'm trying to mount the snapshots of the production LUNs to my backup server to perform a backup of the data. I have to do it this way because the production server is a turn-key vendor solution that I cannot load agents or software onto for mgmt purposes. I can perform the process manually but when I attempt to script it out it becomes very unstable if working at all.
Here is the start script I use in my environment:
naviseccli -h 172.22.3.92 snapview -startsession CentricitySnap -snapshotname CentricitySnapMeta1,CentricitySnapMeta2,CentricitySnapMeta3
naviseccli -h 172.22.3.92 snapview -activatesnapshot CentricitySnap -snapshotname CentricitySnapMeta1
naviseccli -h 172.22.3.92 snapview -activatesnapshot CentricitySnap -snapshotname CentricitySnapMeta2
naviseccli -h 172.22.3.92 snapview -activatesnapshot CentricitySnap -snapshotname CentricitySnapMeta3
"C:\Program Files\VERITAS\Netbackup\bin\sleep.exe" 20
Diskpart.exe calls a simple text script to perform the "rescan" function
"C:\Program Files\VERITAS\Netbackup\bin\sleep.exe" 20
Diskpart.exe calls a simple text script to perform a disk select & online functions
"C:\Program Files\VERITAS\Netbackup\bin\sleep.exe" 20
I've added the sleep commands in there thinking that perhaps everything was happening so fast that commands were walking over each other but so far it hasn't helped.
What could be going wrong? The script will work once, then fail the next time altoghether with varying errors being thrown by Windows.
Help?
No Events found!
bodnarg
2 Intern
•
385 Posts
0
February 1st, 2008 05:00
Maybe something has changed, but I know EMC did not support Dynamic disks replicas due to some unstability in that code and the way the disk signature could appear on a clone. This had something to do (going off memory here) with the fact that Dynamic disks are based off a very scale down version of VxVM and are missing a lot of the API calls to allow for seamless disk cloning. Got this both from a Microsoft and an EMC technician and is the reason we had avoided using Dynamic disks.
However, seems odd however that this would work for you from the command line and not from a script.
Do you have any output from one of the executions where it fails?
jmcdsi
16 Posts
0
February 1st, 2008 05:00
Basically if I reboot the server and run the script to start a SnapView session, activate the snapshots and then bring them online in Windows it works. I then use a different script to tear down the drive again. If I repeat this process it fails and I'm getting (2) different errors in Windows Event Viewer, they are:
Event ID: 2 - Unspecified error (80004005) from source LDM
Event ID: 10 - Unexpected provider failure. Restarting the service may fix the problem. Error code: 80042420@02000034 from source Virtual Disk Service
Unfortunately for me this system is a turn-key solution provided by an outside vendor and cannot load backup agents or any software onto the system. Need to figure out how to regularly backup the data in a different way.
bodnarg
2 Intern
•
385 Posts
0
February 1st, 2008 06:00
Yes - all basic disk. We were discouraged from using Dynamic disks by EMC. This is slightly dated information (about 18 months old) but unless something changed within Windows 2003 in the latest SP probably still applicable warning.
Our bigger concern was our SRDF replication and possible issues with Dynamic storage more than local replication for our backup process (if that fails on rare occasion not as big of a deal)
bencrookEMC
30 Posts
0
February 1st, 2008 06:00
I wrote an emc primus article emc93930 that talks about problems with dynamic disks. it is symmetrix oriented, but the problem is in the OS so it would pour over to Clariion or any other vendor.
also see primus emc178895 that I just wrote the other day to tackle issues or discussions like yours. if you can get to either of these on powerlink in the knowledgebase let me know.
bodnarg
2 Intern
•
385 Posts
0
February 1st, 2008 06:00
rem Add for Windows 2003
net stop "Logical Disk Manager Administrative Service"
net stop "Virtual Disk Service"
net start "Logical Disk Manager Administrative Service"
net start "Virtual Disk Service"
Basically bounced these services as part of this script process. I'd still be a little leery about the dynamic disk supportability of your equation...
jmcdsi
16 Posts
0
February 1st, 2008 06:00
Before the mount, after the mount?
Is your environment non-dynamic disks?
thanks for the reply...good info
bencrookEMC
30 Posts
0
February 1st, 2008 10:00
jmcdsi
16 Posts
0
February 1st, 2008 10:00
Did a seach for your primus docs but having trouble finding them.
Where should I go to get them.
xe2sdc
2 Intern
•
2.8K Posts
0
February 18th, 2008 01:00
Bencrook could you check the primus ??
Thx
xe2sdc
2 Intern
•
2.8K Posts
0
February 18th, 2008 07:00
bencrookEMC
30 Posts
0
February 18th, 2008 07:00
xe2sdc
2 Intern
•
2.8K Posts
0
February 18th, 2008 07:00
jmcdsi
16 Posts
0
February 18th, 2008 07:00
I now have a case open with EMC and Microsoft and the best part was it took all of 2 replies before the Microsoft "engineer" was blaming EMC for the problem.
I will be picking this back up tomorrow and hopefully get some additional information regarding the issue.
bodnarg
2 Intern
•
385 Posts
0
February 18th, 2008 07:00
I guess our local representatives liked each other - neither company blamed the other just stated the realities of the limitations with Dynamic disk
Will be very interesting to see the official response.