Storage Software
1753781 Members
7567 Online
108799 Solutions
New Discussion юеВ

Re: SSSU for Solaris

 
SOLVED
Go to solution
Sue Ellen Berkmeyer
Occasional Contributor

SSSU for Solaris

Can I call sssu commands from within a UNIX shell script? I want to take a nightly snapclone of an Oracle database in hot backup mode.

 

P.S. This thread has been moved from Storage Area Networks (SAN) (Enterprise) to HP Storage System Scripting Utility (SSSU). -HP Forum Moderator

3 REPLIES 3
Ivan Ferreira
Honored Contributor
Solution

Re: SSSU for Solaris

Normally, you create a sssu file with sssu commands. For example, in your Unix script you will have:

!#/bin/ksh
#
# Set database in backup mode
$ORACLE_HOME/bin/db_backup.sh enable
# Start SSSU cloning
sssu "file sssu_commands.cmd"
# Set database in normal mode
$ORACLE_HOME/bin/db_backup.sh disable
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Sheldon Smith
HPE Pro

Re: SSSU for Solaris

FYI: And in addition to using a separate file, you can also use HERE documents:

$ sssu <select manager localhost user=administrator pass=administrator
select system "MyEVA"
exit
EOT

Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company

Accept or Kudo

Sue Ellen Berkmeyer
Occasional Contributor

Re: SSSU for Solaris

Thanks for both replies. I am new to the EVA San environment. Was using a NetApp filer. Have to totally redo the Oracle backup/recovery and cloning strategy. Will probably use the SSSU and Unix scripting since we don't currently have a license for the RSM Oracle-Integration feature.