Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cmdo(1m) [hpux man page]

cmdo(1m)																  cmdo(1m)

NAME
cmdo - Execute process on multiple remote Serviceguard nodes. SYNOPSIS
cmdo [[-n node_name]...] [-t timeout] command DESCRIPTION
cmdo will execute a process on a multiple remote Serviceguard nodes and return any output or return value. cmdo is limited in several ways. cmdo is best suited for situations where other remote execution facilities are not available. For a more full featured tool for remote execution within a cluster, see cexec(1m) provided by Distributed Systems Administration Utilities. To use this command, the local user must have the root access role on each of the involved nodes. For more information on Serviceguard access control policies, see the manual, Managing Serviceguard. To use the cmdo command without specifying -n options, the local node must be configured into a Serviceguard cluster. If no -n options are specified, the command will be executed on all available nodes in the cluster. The command will be executed in an environment which matches the local node. All environment variables defined locally will be available on the remote node. Output from stderr and stdout for the remote process will be combined and delivered in one transmission. This command should not be used for interactive commands or commands which will return large quantities of output. Output from each node will be displayed sequentially as the operation is executed on each remote node. Input via stdin is not supported. Killing the cmdo process does not stop any remote executions of the command. cmdo should not be used on any command which may hang without specifying a timeout value. Options And Arguments -t timeout Kill the executed command if it does not exit within the specified timeout (in seconds) -n node_name Serviceguard node to execute command on. If no -n options are specified, all the nodes configured in the cluster are used. command Command to execute on remote node. May be quoted. RETURN VALUE
cmdo returns the following values: 0 Successful completed on all nodes. >0 Command failed on one or more nodes with the specified exit value. EXAMPLES
Execute an 'ls' in a remote directory on all nodes within the cluster. cmdo ls /tmp Execute an 'ls' in a remote directory on two nodes not configured within a Serviceguard cluster. cmdo -n node1 -n node2 ls /tmp AUTHOR
cmdo was developed by HP. SEE ALSO
cexec(1m), cmcp(1m), cmexec(1m), cmsync(1m), cmquerycl(1m), cmviewcl(1m) Requires Optional Serviceguard Software cmdo(1m)

Check Out this Related Man Page

sgmgr(1M)																 sgmgr(1M)

NAME
sgmgr - Serviceguard Manager SYNOPSIS
filename ] | COMserver username password cluster_name ...]] COMserver2 Remarks Serviceguard Manager is the graphical user interface for Serviceguard or Serviceguard Extension for RAC software, Version A.11.12 or later, Serviceguard products are not included in the standard HP-UX operating system. DESCRIPTION
The command starts Serviceguard Manager, the graphical user interface for Serviceguard clusters. Serviceguard Manager can be installed on HP-UX, Linux, or Windows. Serviceguard Manager can be used to view saved data files of a single cluster, or to see running clusters. To see the "live" cluster map, Serviceguard Manager connects to a Serviceguard node on the same subnet as those clusters, specifically to a part of Serviceguard called the Cluster Object Manager (COM). Options supports the options listed below. No options are required. If any option is not specified, the user will be prompted to supply it after the interface opens. Open a previously saved or example object data file. The file will have the .sgm extension. It can display only one cluster. This option cannot be used with any other options. Specify the Serviceguard node that will be the server. This node's COM will query cluster objects running on its subnets, and will report their status and configuration. Servers with Serviceguard Version A.11.12 or later can monitor clusters. Servers with Ser- viceguard Version A.11.14 or later can also perform administrative actions. Servers with Version A.11.16 or later can also configure clusters. To specify multiple sessions, repeat the -s option. The user login name for the COMserver node. Valid only if COMserver is specified. The user password on the COMserver node. Valid only if username is specified. In creating the map, the COMserver will include the cluster where it is a member. In creating the map, the COMserver will report information about the specified cluster_name(s). Specify clusters with the following cluster software installed: MC/Serviceguard Version A.10.10 or later, MC/LockManager Version A.11.02 or later, Serviceguard OPS or Extension for RAC Version A.11.08 or later, and all versions of MetroClusters and ContinentalClusters. To see several clusters, repeat the -c option. If you specify this unused nodes option all COMservers will report information about nodes that have Serviceguard installed, but are not currently configured in any cluster. To connect to another COMserver for another session, repeat the -s options. AUTHOR
was developed by HP. SEE ALSO
See documents at http://docs.hp.com/hpux/ha including: Managing Serviceguard. Configuring OPS Clusters with Serviceguard OPS Edition. Using Serviceguard Extension for Real Application Cluster (RAC). Series 700 or 800 Works with Optional Serviceguard or Serviceguard Extension for RAC Software sgmgr(1M)
Man Page