HP StorageWorks 70 HP StorageWorks Replication Solutions Manager 4.0.1 user gu - Page 324
command result values, resource names and UNC formats, job instances, SendEmail
View all HP StorageWorks 70 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 324 highlights
Comments • Associated validation commands. None • Agent and license prerequisites. Requires a host agent. Requires an Oracle-integration license. • Command result value. None. For a complete list, see command result values. • OS specifics. The format of mount point prefixes is OS-dependent. • The repository must already exist or be created by a previous step in the same job. • See resource names and UNC formats. SetNotificationPolicy Specifies the condition when a status e-mail is to be sent from a job instance. See job instances. Syntax and arguments When initially inserted into a job, the command syntax and default arguments are: SetNotificationPolicy ( %from_address%, %to_address%, JOB_STARTED_OR_STOPPED ) Sending e-mail address (%from_address%). Enter the e-mail address that the message is to be sent from. Receiving e-mail address (%to_address%). Enter the e-mail address that the message is to be sent to. Policy for automatic notification. Choices are: Policy argument Condition when job status e-mail is sent Remarks job_completed Job instance has completed. job_failed Job instance has failed. job_paused Job instance has been paused. Messages: Job state: executed a Pause() step. Job state: paused due to error or user action. job_started Job instance has started. job_started_or_stopped Job instance has started. Also when its status changes to any non-executing state, such as completed, failed, and paused. A start message is issued when a job instance is initially started. No message is sent when a paused instance is continued. No message is sent when a job instance is aborted no_notification None Examples SetNotificationPolicy ( "[email protected]", "[email protected]", JOB_STARTED_OR_STOPPED ) Comments • Associated validation commands. None • Agent and license prerequisites. None • Command result value. None. For a complete list, see command result values. • OS specifics. None • An e-mail server is required. • The e-mail message is sent only if the specified condition occurs. Compare with SendEmail 324 Jobs