Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
System Administrationruncmdsync(1m)


NAME

 runcmdsync - prepare a specified script for recovery after a failover

SYNOPSIS

 runcmdsync script_name [parameters]
 runcmdsync -h

DESCRIPTION

 

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.

OPTIONS

 

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.

EXTENDED DESCRIPTION

 

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 Administrator Guide for more information.

EXIT STATUS

 

The following exit values are returned:

0
Successful completion.
>0
An error occurred.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes.

Attribute TypesAttribute Values
AvailabilitySUNWSMSop

SEE ALSO

 

cancelcmdsync(1m), initcmdsync(1m), savecmdsync(1m), showcmdsync(1m)


SMS 1.4Go To TopLast Changed 19 September 2003