2017-06-20 18:56:24 +00:00
|
|
|
nodeconsole(8) -- Open a console to a confluent node
|
2016-12-01 21:37:50 +00:00
|
|
|
=====================================================
|
|
|
|
|
|
|
|
## SYNOPSIS
|
2018-12-04 15:41:50 +00:00
|
|
|
`nodeconsole [options] <noderange>`
|
2016-12-01 21:37:50 +00:00
|
|
|
|
|
|
|
## DESCRIPTION
|
|
|
|
|
|
|
|
**nodeconsole** opens an interactive console session to a given node. This is the
|
|
|
|
text or serial console of a system. Exiting is done by hitting `Ctrl-e`, then `c`,
|
2017-06-20 18:56:24 +00:00
|
|
|
then `.`. Note that console output by default is additionally logged to
|
2016-12-01 21:37:50 +00:00
|
|
|
`/var/log/confluent/consoles/`**NODENAME**.
|
|
|
|
|
2017-11-10 15:37:48 +00:00
|
|
|
When the console connection to the target is broken, then confluent on backend
|
|
|
|
will initiate an automatic retry interval that is randomized between 2 and 4 minutes.
|
|
|
|
The reopen escape sequence below requests an immediate retry, as does connecting
|
|
|
|
a new session.
|
|
|
|
|
2018-12-04 15:41:50 +00:00
|
|
|
## OPTIONS
|
|
|
|
|
|
|
|
* `-t`, `--tile`:
|
|
|
|
Use tmux to arrange consoles of the given noderange into a tiled layout on
|
|
|
|
the terminal screen
|
|
|
|
|
2022-06-08 15:14:51 +00:00
|
|
|
* `-l`, `--log`:
|
|
|
|
Perform a log reply on the current, local log in /var/log/confluent/consoles.
|
|
|
|
If in collective mode, this only makes sense to use on the current collective
|
|
|
|
manager at this time.
|
|
|
|
|
2016-12-01 21:37:50 +00:00
|
|
|
## ESCAPE SEQUENCE COMMANDS
|
|
|
|
|
|
|
|
While connected to a console, a number of commands may be performed through escape
|
|
|
|
sequences. To begin an command escape sequence, hit `Ctrl-e`, then `c`. The next
|
|
|
|
keystroke will be interpreted as a command. The following commands are available.
|
|
|
|
|
|
|
|
* `.`:
|
|
|
|
Exit the session and return to the command prompt
|
|
|
|
* `b`:
|
2017-06-20 18:56:24 +00:00
|
|
|
[send Break]
|
2016-12-01 21:37:50 +00:00
|
|
|
Send a break to the remote console when possible (some console plugins may not support this)
|
|
|
|
* `o`:
|
2017-06-20 18:56:24 +00:00
|
|
|
[reOpen]
|
2016-12-01 21:37:50 +00:00
|
|
|
Request confluent to disconnect and reconnect to console. For example if there is suspicion
|
|
|
|
that the console has gone inoperable, but would work if reconnected.
|
2017-06-20 18:56:24 +00:00
|
|
|
* `po`:
|
|
|
|
[Power Off]
|
|
|
|
Power off server immediately, without waiting for OS to shutdown
|
|
|
|
* `ps`:
|
|
|
|
[Power Shutdown]
|
|
|
|
Request OS shut down gracefully, and then power off
|
|
|
|
* `pb<ent>`:
|
|
|
|
[Power Boot]
|
|
|
|
Cause system to immediately boot, resetting or turning on as appropriate.
|
|
|
|
Hitting enter is required to execute the reboot rather than another pb sequence
|
|
|
|
* `pbs`:
|
|
|
|
[Power Boot Setup]
|
|
|
|
Request immediate boot ultimately landing in interactive firmware setup
|
|
|
|
* `pbn`:
|
|
|
|
[Power Boot Network]
|
|
|
|
Request immediate boot to network
|
2017-11-10 15:37:48 +00:00
|
|
|
* `r`:
|
|
|
|
[send Resize]
|
|
|
|
This queries the current terminal and sends stty commands to advertise the user termineal
|
|
|
|
size to the remote console
|
2016-12-01 21:37:50 +00:00
|
|
|
* `?`:
|
|
|
|
Get a list of supported commands
|
2017-06-20 18:56:24 +00:00
|
|
|
* `<ent>`:
|
|
|
|
Hit enter to skip entering a command at the escape prompt.
|