Home | History | Annotate | Download | only in man1m
 te
CDDL HEADER START

The contents of this file are subject to the terms of the
Common Development and Distribution License (the "License").
You may not use this file except in compliance with the License.

You can obtain a copy of the license at CDDL.txt
or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions
and limitations under the License.

When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at CDDL.txt.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]

CDDL HEADER END
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
cconsole 1M "8 Sep 2007" "Sun Cluster 3.2" "System Administration Commands"
NAME
cconsole , crlogin, cssh, ctelnet - multi window, multi machine, remote console, login, ssh, and telnet commands
SYNOPSIS

$CLUSTER_HOME/bin/cconsole [-s] [ -l  username] [clustername... | nodename...]

$CLUSTER_HOME/bin/crlogin [-l username] [clustername...
| nodename...]

$CLUSTER_HOME/bin/cssh [-l username] [-p ssh-port] [clustername...
| nodename...]

$CLUSTER_HOME/bin/ctelnet [clustername... | nodename...]
DESCRIPTION

These utilities initiate a multiple window connection to a set of specified hosts. There are three variations: one that is specifically intended for remote console access while the others provide remote logins using rlogin, ssh, or telnet.

Each utility starts a host window for each of the specified hosts, as well as a common window. Input directed into the common window is sent to each of these host windows.

This tool is useful for system administration tasks that require similar things to be done on each of several hosts. For tasks that are identical on all hosts, typing in the common window sends the characters to all of the hosts. However, the host windows are normal terminal windows so they can also be used one at a time (by moving the mouse into one of them and typing directly into it) to perform host specific tasks.

The common window also allows the user to select which hosts receive the characters typed in the common window, so only the specified hosts will receive input.

These utilities use entries in two different databases, /etc/clusters and /etc/serialports.

"cconsole"

The cconsole command provides remote console access through the telnet command. All normal telnet escape characters are available to the user. See the telnet(1) man page for a complete listing of telnet escape characters. Because there are a few telnet escapes that are commonly used, they are provided here as well. The escape character is Control-], specified below as ^].

.na ^] quit .ad Quit the session. Analogous to ~. in tip and rlogin.

.na ^] send brk .ad Send a break signal to the remote system. This is what is needed to halt the Sun CPU. The normal key board sequence is "L1-A."

"crlogin"

The crlogin utility provides remote login through the rlogin command to multiple cluster nodes.

"cssh"

The cssh utility establishes Secure Shell connections directly to the cluster nodes through the ssh command.

"ctelnet"

The ctelnet utility is similar to cconsole except that the connection is directly over the Internet.

OPTIONS

The following options are supported:

.na -l username .ad Specifies the user name for the ssh connection. This option is passed to the cconsole, crlogin, or cssh utility when the utility is launched from the CCP. The ctelnet utility ignores this option. If the -l option is not specified, the user name that launched the CCP is effective.

.na -p ssh-port .ad Specifies the Secure Shell port number to use. This option is passed to the cssh utility when the utility is launched from the CCP. The cconsole, crlogin, and ctelnet utilities ignore this option, If the -p option is not specified, the default port number 22 is used for secure connections.

.na -s .ad Specifies using Secure Shell connections to node consoles instead of telnet connections. This option is passed to the cconsole utility when the utility is launched from the CCP. The crlogin, cssh, and ctelnet utilities ignore this option. If the -s option is not specified, the cconsole utility uses telnet connections to the consoles. To override the -s option, deselect the Use SSH checkbox in the Options menu of the cconsole graphical user interface (GUI).

ENVIRONMENT VARIABLES

The following environment variables affect the execution of these utilities:

.na CLUSTER_HOME .ad Location of Sun Cluster System tools. Defaults to /opt/SUNWcluster.

ATTRIBUTES

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

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWccon
Interface StabilityEvolving
SEE ALSO

rlogin(1), ssh(1), telnet(1), tip(1), ccp(1M), chosts(1M), cports(1M), clusters(4), serialports(4), attributes(5)

NOTES

The standard set of X Window System command line arguments are accepted.