![](../graphics/a.gif) |
|
|
System Administration | runcmdsync(1m) |
| runcmdsync - prepare a specified script
for recovery after a failover |
SYNOPSIS
| runcmdsync script_name [parameters] |
|
The runcmdsync(1M) command prepares the specified script for automatic synchronization (recovery) after a failover. runcmdsync creates a command synchronization descriptor that identifies the script to be recovered. This descriptor is added to the command synchronization list that determines the scripts to be restarted after a failover. The runcmdsync command also removes this descriptor from the command synchronization list when the script terminates.
To specify restart points in a script, see initcmdsync(1M) and the family of synchronization commands.
|
|
The following options are supported:
- -h
- Help. Displays usage descriptions. Note Use alone. Any option specified in addition to -h is ignored.
-
script_name
- Identifies the script to be prepared for command synchronization. script_name must be the absolute path name of an executable command. The command must exist in the same location on both SCs.
-
parameters
- Specifies the options or parameters associated with the specified script. These parameters are stored on the spare system controller (SC) and are used to restart the specified command or script after an automatic failover.
|
|
Group Privileges Required
|
You must have platform administrator, platform operator, platform service, domain administrator, or domain configurator privileges to run this command.
Refer to Chapter 2, "SMS Security Options and Administrative Privileges" in the System Management Services (SMS) 1.4.1 Administrator Guide for more information.
|
|
|
The following exit values are returned:
-
0
- Successful completion.
- >0
- An error occurred.
|
|
See attributes(5) for descriptions of the following attributes.
Attribute Types | Attribute Values |
Availability | SUNWSMSop |
|
|
cancelcmdsync(1m), initcmdsync(1m), savecmdsync(1m), showcmdsync(1m)
|
SMS 1.4.1 | Go To Top | Last Changed 19 September 2003 |
Company Info
|
Contact
|
Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 USA. All rights reserved.
|