IHAC to use SC3.5 to backup Oracle DB running in Suse linux. we installed ScServer in a windows server and installed ScAgent in Linux server. we already installed and configure SDU in linux and test the command. I found I could not enter linux command in GUI windows for "snapshot create command" and sounds I have to use rsh. is it correct?
BTW, scAgent could not auto-start when linux server reboot. How to set it?
We dont really have an sample's the script itself is a sample. The issue is every unix flavor has a slightly different way to handle start scripts. For example redhat uses chkconfig which requires adding a few lines to beginning of script http://linux.die.net/man/8/chkconfig chkconfig: and description:. Most other unix versions that dont use schkconfig will work if you simply copy the script to /etc/init.d and link to rc2.d for start, the link needs to be something like S99scAgent and in /etc/init.d just scAgent.
You need to directly edit the config file and enter the command for snapshot (NTAP_SNAPSHOT_CREATE_CMD<#>) . No need to use rsh, you only need to enter the command, it will be executed directly on the agent by snapcreator.
For starting the agent at startup you mite need to create a init.d script or put it in rc.local.
[Fri Apr 27 16:51:18 2012] [126.96.36.199:9090(188.8.131.52)] ERROR: [agt-00011] Command [/usr/sbin/snapdrive snap create -fs /u01/app -snapname %SNAME_%SNAP_TYPE_%SNAP_TIME] is not allowed
[Fri Apr 27 16:51:54 2012] ERROR: [scf-00103] Running snapshot create command [/usr/sbin/snapdrive snap create -fs /u01/app -snapname %SNAME_%SNAP_TYPE_%SNAP_TIME] failed with exit code  and message [At least one command is not allowed to be executed remotely]
########## SNAPSHOT CREATE COMMANDS FINISHED WITH FAILURES ##########
in fact, in order to verify SC will call local (server side, windows) command or remote (Agent side, linux). I insert two cmd lines. one is "ls" and one is "dir". the cmd "ls" return error. so I think scServer only call local cmd.