You must configure a PuTTY session using the Secure Shell
(SSH) key pair that you have generated before you can use the command-line
interface (CLI).
Attention: Do not run scripts that create child
processes that run in the background and call SAN Volume Controller commands.
This can cause the system to lose access to data and cause data to
be lost.
Perform the following steps to configure a PuTTY
session for the CLI:
- Select .
The PuTTY Configuration window opens.
- Click Session in the Category navigation
tree. The Basic options for your PuTTY session are displayed.
- Click SSH as the Protocol option.
- Click Only on clean exit as the
Close window on exit option. This ensures that connection errors are
displayed.
- Click in the Category navigation
tree. The options controlling SSH connections are displayed.
- Click 2 as the Preferred SSH protocol
version.
- Click in
the Category navigation tree. The Options controller SSH authentication
are displayed.
- Click Browse or type
the fully qualified file name and location of the SSH client and private
key in the Private key file for authentication field.
- Click in the Category navigation tree.
- Type admin in
the Auto-login username field.
- Click Session in the Category navigation
tree. The Basic options for your PuTTY session are displayed.
- Click Default Settings and then
click Save.
- In the Host
Name (or IP Address) field, type the name or IP address
of one of the SAN Volume Controller cluster
IP addresses or host names.
- Type 22 in the Port field.
The SAN Volume Controller cluster
uses the standard SSH port.
- Type the name that you want to use to associate with this
session in the Saved Sessions field. For example,
you can name the session SAN Volume Controller Cluster
1.
- Click Save.
You have now configured a PuTTY session for the CLI.
Note: If you configured more than one IP
address for the SAN Volume Controller cluster,
repeat the previous steps to create another saved session for the
second IP address. This can then be used if the first IP address is
unavailable.