EnglishFrenchSpanish

Ad


OnWorks favicon

cconp - Online in the Cloud

Run cconp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cconp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ccon - Cluster administration tool

SYNOPSIS


ccon [-K <seconds>] [-q] [-c '<filename>'] [-C '<filename>'] [--debug [[...] ||
<INTEGER>]] [-d] [-e '<[user@]<host>[:port]>'] [-f '<font>'] [-h] [-L '[tag]'] [-H] [-M
'<STRING>'] [-p <port>] [-Q] [-s] [-r '<filename>'] [-t '<STRING>'] [-g] [-T '<title>']
[-u] [-?] [-A] [-v]

DESCRIPTION


The command opens an administration console and an xterm to all specified hosts. Any text
typed into the administration console is replicated to all windows. All windows may also
be typed into directly.

This tool is intended for (but not limited to) cluster administration where the same
configuration or commands must be run on each node within the cluster. Performing these
commands all at once via this tool ensures all nodes are kept in sync.

Connections are opened using console which must be correctly installed and configured.

Extra caution should be taken when editing files as lines may not necessarily be in the
same order; assuming line 5 is the same across all servers and modifying that is
dangerous. It's better to search for the specific line to be changed and double-check all
terminals are as expected before changes are committed.

Further Notes
Please also see "KNOWN BUGS".

· The dotted line on any sub-menu is a tear-off, i.e. click on it and the sub-menu is
turned into its own window.

· Unchecking a hostname on the Hosts sub-menu will unplug the host from the cluster
control window, so any text typed into the console is not sent to that host. Re-
selecting it will plug it back in.

· If your window manager menu bars are obscured by terminal windows see the
"screen_reserve_XXXXX" options in the $HOME/.clusterssh/config file (see "FILES").

· If the terminals overlap too much see the "terminal_reserve_XXXXX" options in the
$HOME/.clusterssh/config file (see "FILES").

· When using ClusterSSH on a large number of systems to connect to a single system using
an SSH utility (e.g. you issue a command to to copy a file using scp from the remote
computers to a single host) and when these connections require authentication (i.e.
you are going to authenticate with a password), the sshd daemon at that location may
refuse connections after the number "MaxStartups" limit in sshd_config is exceeded.
(If this value is not set, it defaults to 10). This is expected behavior; sshd uses
this mechanism to prevent DoS attacks from unauthenticated sources. Please tune
sshd_config and reload the SSH daemon, or consider using the ~/.ssh/authorized_keys
mechanism for authentication if you encounter this problem.

· If client windows fail to open, try running:

"ccon -e {single host name}"

This will test the mechanisms used to open windows to hosts. This could be due to
either the "-xrm" terminal option which enables "AllowSendEvents" (some terminals do
not require this option, other terminals have another method for enabling it - see
your terminal documentation) or the configuration of "console".

OPTIONS


Some of these options may also be defined within the configuration file. Default options
are shown as appropriate.

--autoclose <seconds>, -K <seconds>
Number of seconds to wait before closing finished terminal windows.

--autoquit, -q
Toggle automatically quiting after the last client window has closed (overriding the
config file).

--cluster-file '<filename>', -c '<filename>'
Use supplied file as additional cluster file (see also "FILES").

--config-file '<filename>', -C '<filename>'
Use supplied file as additional configuration file (see also "FILES").

--debug [[...] || <INTEGER>]
Enable debugging. Either a level can be provided or the option can be repeated
multiple times. Maximum level is 4.

--dump-config, -d
Dump the current configuration in the same format used by the $HOME/.clusterssh/config
file.

--evaluate '<[user@]<host>[:port]>', -e '<[user@]<host>[:port]>'
Display and evaluate the terminal and connection arguments to display any potential
errors. The <hostname> is required to aid the evaluation.

--font '<font>', -f '<font>'
Specify the font to use in the terminal windows. Use standard X font notation such as
"5x8".

--help, -h
Show basic help text and exit

--list '[tag]', -L '[tag]'
List available cluster tags. Tag is optional. If a tag is provided then hosts for
that tag are listed. NOTE: format of output changes when using "--quiet" or "-Q"
option.

--man, -H
Show full help text (the man page) and exit

--master '<STRING>', -M '<STRING>'
The console client program polls master as the primary server, rather than the default
set at compile time (typically ``console'').

--port <port>, -p <port>
Specify an alternate port for connections.

--quiet, -Q
Do not output extra text when using some options

--show-history, -s
Show history within console window.

--tag-file '<filename>', -r '<filename>'
Use supplied file as additional tag file (see also "FILES")

--term-args '<STRING>', -t '<STRING>'
Specify arguments to be passed to terminals being used.

--tile, -g
Toggle window tiling (overriding the config file).

--title '<title>', -T '<title>'
Specify the initial part of the title used in the console and client windows.

--unique-servers, -u
Toggle connecting to each host only once when a hostname has been specified multiple
times.

--usage, -?
Show synopsis and exit

--use-all-a-records, -A
If a hostname resolves to multiple IP addresses, toggle whether or not to connect to
all of them, or just the first one (see also config file entry).

--version, -v
Show version information and exit

ARGUMENTS


The following arguments are supported:

[user@]<hostname>[:port] ...
Open an xterm to the given hostname and connect to the administration console. The
optional port number can be used if the server is not listening on the standard port.

<tag> ...
Open a series of xterms defined by <tag> in one of the supplementary configuration
files (see "FILES").

Note: specifying a username on a cluster tag will override any usernames defined in
the cluster.

KEY SHORTCUTS


The following key shortcuts are available within the console window, and all of them may
be changed via the configuration files.

Control-Shift-plus
Open the 'Add Host(s) or Cluster(s)' dialogue box. Multiple host or cluster names can
be entered, separated by spaces.

Alt-n
Paste in the hostname part of the specific connection string to each client, minus any
username or port, e.g.

"scp /etc/hosts server:files/<Alt-n>.hosts"

would replace the <Alt-n> with the client's name in each window.

Alt-l
Paste in the hostname of the server cssh is ebing run on

Alt-q
Quit the program and close all connections and windows.

Alt-r
Retile all the client windows.

Alt-u
Paste in the username for the connection

EXAMPLES


Open up a session to 3 servers
$ ccon server1 server2 server3

Open up a session to a cluster of servers identified by the tag 'farm1' and give the
controlling window a specific title, where the tag is defined in one of the default
configuration files
$ ccon -T 'Web Farm Cluster 1' farm1

Connect to different servers using different login names. NOTE: this can also be achieved
by setting up appropriate options in the configuration files. Do not close the console
when the last terminal exits.
$ ccon user1@server1 admin@server2

Open up a cluster defined in a non-default configuration file
$ ccon -c $HOME/cssh.extra_clusters db_cluster

Override the configured/default port to use 2022 instead
$ ccon -p 2022 server1 server2

Use cconp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

  • 1
    abi-tracker
    abi-tracker
    abi-tracker - visualize ABI changes
    timeline of a C/C++ software library.
    DESCRIPTION: NAME: ABI Tracker
    (abi-tracker) Visualize ABI changes
    timeline of a C/C+...
    Run abi-tracker
  • 2
    abicheck
    abicheck
    abicheck - check application binaries
    for calls to private or evolving symbols
    in libraries and for static linking of
    some system libraries. ...
    Run abicheck
  • 3
    couriermlm
    couriermlm
    couriermlm - The Courier mailing list
    manager ...
    Run couriermlm
  • 4
    couriertcpd
    couriertcpd
    couriertcpd - the Courier mail server
    TCP server daemon ...
    Run couriertcpd
  • 5
    gbklatex
    gbklatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbklatex
  • 6
    gbkpdflatex
    gbkpdflatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbkpdflatex
  • More »

Ad