Petals CLI SNAPSHOT

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (6)

View Page History
** *<alias>.username*: the JMX user name for the default Petals node (optional).
** *<alias>.password*: the JMX password for the default Petals node (optional).
** *<alias>.passphrase*: the security passphrase to access sensible information or execute sensible operation on other Petals nodes (than the one on which Petals CLI is connected) of the topology.
When optional keys are not defined, Petals CLI will ask for their values manually (or you will have to use the right options with the commands).
If the file does not exist, or that _$PETALS_CLI_PREFS_ points to an invalid location, Petals CLI will use default settings when possible. Otherwise, it will display an error message.
h3. Getting the topology

When connected to a container, it is possible to get information about the topology of this node is part of.

{code}
{code}

Sensible information as credentials are returned only if a security passphrase is provided. This passphrase can be provided using the command option '-p'. Otherwise, it is retrieve from the preferences file through the sub-property of alias: {{<alias>.passphrase}}.
\\ {code}
petals-cli@host:port> topology-list -p mypassphrase
Domain: Domain 1
Subdomain: SubDomain 1
* Container: Node1
** information including credentials
{code}

This command shows a set of Petals nodes, sorted by domain and sub-domains, each node having the following information:
* Container name
* Host
* Node ports
* Node credentials (only if the security passphrase is provided and correct)

h3. Getting the server properties