keith
Yes. after modified config/agent.conf and modify it as
host: scServer@*
command: snapdrive
I found %SNAME_%SNAP_TYPE_%SNAP_TIME could not work. SC treat is as strings rather env varifiable.
the command i used:
NTAP_SNAPSHOT_CREATE_CMD01=snapdrive snap create -fs /u01/app -snapname %SNAME_%SNAP_TYPE_%SNAP_TIME
in the log:
[Fri Apr 27 17:14:50 2012] INFO: Running snapshot create command NTAP_SNAPSHOT_CREATE_CMD01 [snapdrive snap create -fs /u01/app -snapname %SNAME_%SNAP_TYPE_%SNAP_TIME]
[Fri Apr 27 17:14:16 2012] [133.9.206.165:9090(3.5.0.1)] DEBUG: Executing command [snapdrive snap create -fs /u01/app -snapname %SNAME_%SNAP_TYPE_%SNAP_TIME]
[Fri Apr 27 17:14:18 2012] [133.9.206.165:9090(3.5.0.1)] TRACE: Command [snapdrive snap create -fs /u01/app -snapname %SNAME_%SNAP_TYPE_%SNAP_TIME] finished with
exit code: [0]
stdout: [Starting snap create /u01/app
WARNING: DO NOT CONTROL-C!
If snap create is interrupted, incomplete snapdrive
generated data may remain on the filer volume(s)
which may interfere with other snap operations.
Successfully created snapshot ]
why %SNAME_%SNAP_TYPE_%SNAP_TIME does work? what's matter?
BR
TC