Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

test an SVM mirror before going live

Status
Not open for further replies.

hcclnoodles

IS-IT--Management
Jun 3, 2004
123
GB
Hi there, I have set up mirroring on an x86 solaris box using SVM, its my first time doing this and everything seems to have gone as planned, however, I want to test that it is working before i put it into production

What is the best way for me to do this, can I just pull the root disk out of the chassis when the box is running to simulate an outage.....will it carry on running off the mirrored disk ?, or will only take effect when rebooted ....alternativly, is there a command that will provide the complete test for me to save me doing physuical tests?

any help would be greatly appreciated
 
depending on your hardware, guessing it is a soho PC you don't have the features powering down controllers, disks, powersupplies etc. so the only way to test, what you have configured is to manually remove a drive. It will continue working if you configured it correctly. Guessing it won't boot, if you have less than n/2+1 statedatabase on the running disk. somewhere deep in this board you will find a kernel setting, which will tell SVM that you just have 2 diks in this system and it should boot the system from the remaining...

can you post a metastat output? I can have a look...

Best Regards, Franz
--
UNIX System Manager from Munich, Germany
 
If you are using Disksuite 4.2.1 and later, this entry in /etc/system will allow you to boot with 50% state databases.

set md:mirrored_root_flag=1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top