And where would this backup which you need come from ? You need a backup file of some sort to be able to restore !
If you don't have a backup file you need to reconstruct it by listing the masked LUN's on each and every host (you need to do this on each host) and somehow find out to which FA each HBA is zoned to.
If you have the wwpn's of the HBA's (you can look this up in the switch configs), and the symdev numbers each host had access to you can create a script to fill the vcmd again.
What I do is create a scheduled task on a Windows with SE on it and run the script below on a daily basis. Then I backup the directory that the VCMDB backup is saved to for even more protection.
RRR
6 Operator
•
5739 Posts
1961
0
Posted July 6th, 2010 00:00
And where would this backup which you need come from ? You need a backup file of some sort to be able to restore !
If you don't have a backup file you need to reconstruct it by listing the masked LUN's on each and every host (you need to do this on each host) and somehow find out to which FA each HBA is zoned to.
If you have the wwpn's of the HBA's (you can look this up in the switch configs), and the symdev numbers each host had access to you can create a script to fill the vcmd again.
symmask -sid -wwn -dir 4A -p 0 add devs symdev1,symdev2,symdev3,symdev4
symmask -sid -wwn -dir 13A -p 0 add devs symdev1,symdev2,symdev3,symdev4