Product data
Chapter 12. High availability and redundancy 321
After the configuration completes, you can use the floating IP address to connect
to the Systems Director server on the active node.
12.4.2 Steps to install High Availability using the CLI
As an alternative to the graphical user interface, you can use the SDMC
command-line interface to configure and administrate High Availability.
To configure High Availability using the CLI, connect, using an SSH session, to
the SDMC that is designated to be the primary node in the High Availability
cluster. Log in as sysadmin and issue the following command with the respective
parameters:
smcli configureHA --secondary-node <second node> --password <password>
--primary-rep-addr <primary replication IP address>
--secondary-rep-addr <secondary replication IP address> --floating-addr
"<floating IP address>,<network interface>"
Example 12-1 shows the command with parameters that was run to create an
SDMC High Availability cluster in the ITSO lab environment.
Example 12-1 Configuring High Availability using the CLI
smcli configureHA --secondary-node sdmcb --password passw0rd
--primary-rep-addr 10.0.0.1 --secondary-rep-addr 10.0.0.2
--floating-addr "172.16.20.29,eth0"
Additional options (such as the network time server or tiebreaker address) can
also be specified using additional flags. Run smcli configureHA --help or refer
to the configureHA man pages for information about additional options.
Additional command-line tools
Here are additional command-line tools for installing and configuring High
Availability. Run <command> --help or use the man pages for information about
additional options:
smcli configureHA Performs the initial High Availability configuration.
smcli failover Performs a manual failover.
smcli removeHA Removes the High Availability configuration.
smhastatus Returns a High Availability status.
smha Manages High Availability.