sun storage sscs script

From: ssloh (ssloh@singnet.com.sg)
Date: Fri Oct 13 2006 - 03:52:16 EDT


Hi folk,

I am trying to write a storage scripts using sscs to do the following on my SE6130
1. To put the DB into hot backup mode
2. To resnap the DB volumes in the storage
3. To put the DB back to normal
4. Mount the DB volume to backup server
Once completed the backup, unmount DB volumes from backup server.

If somebody willing to share the scripts in order to accomplish above job would be very much appreciated.
Similar scripting using sscs will be helpful too :) thanks a lots

While I am trying this command #sscs login -h localhost -u root
It prompted me the root password, how to pile in the password without user interaction for the script ?

I had tried #echo rootpassword | sscs login -h localhost -u root it does not work, any other suggestions ?

Best Regards
ssloh
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:00 EDT