If you must enter and run command-line instructions, you
can access the SAN Volume Controller command-line
interface (CLI) from the server where the SAN Volume Controller Console is
installed.
Perform the following steps to access the CLI:
- Start PuTTY by clicking or by going to the directory
and double-clicking the putty.exe file. If the server is
configured to use PuTTY for command-line access, the session settings
might be saved. The SAN Volume Controller Console installation
package includes PuTTY, which you can use to connect to the SAN Volume Controller cluster
over either IPv4 or IPv6. You must use PuTTY 0.60 or a higher version
to connect to a SAN Volume Controller cluster
that has an IPv6 address.
Note: The
cluster can have two management IP addresses; therefore, you might
see more than one saved session.
If the cluster is not listed
under Saved sessions, ask the customer to set up PuTTY for command-line
access and then restart this procedure. The
PuTTY Configuration panel
for the
Session category contains the details
that need to be filled in before PuTTY can open a session at all:
- The Host Name field is where you type the
name or the IP address of the server you want to connect to.
- The Connection type field lets you choose
what type of connection you want to make.
- The Port field is where you specify which
port number on the server to connect to.
Perform
the following steps if the cluster that you need to access is listed
under Saved Sessions:
- Select the menu item for the cluster.
- Click Load.
- Click Open.
- If you are using SSH to
connect to a server for the first time, you see the PuTTY
Security Alert message. Click Yes.
The command-line window for service is displayed.
login as: service
Authenticating with public key "rsa-key-20030213"
IBM_2145:service>
- Type the user name service at the
login prompt. When the service prompt is displayed, you can use the
CLI to issue commands.
- Issue a command following the service prompt to display
information about the SAN Volume Controller.
For example, issue the following command to view the current status
of the nodes that are used by the SAN Volume Controller cluster:
svcinfo lsnode -nohdr -delim :
The
current status of the nodes used by the SAN Volume Controller cluster
is displayed.
login as: service
Authenticating with public key "rsa-key-20030213"
IBM_2145:service>svcinfo lsnode -nohdr -delim :
1:node1:1OL3ANP:50050768010000F6:online:0:io_grp0:no:202378101C0D17A0
2:node2:1OL3BNZ:5005076801000184:online:0:io_grp0:yes:202378101C0D27AA
3:node3:1OL3BNZ:5005076801000101:online:1:io_grp1:no:202378101C0D27AA
4:node4:1OL3ANP:5005076801000147:online:1:io_grp1:no:202378101C0D17A0
IBM_2145:service>
- Issue the following command:
svcinfo lscluster clustername
where clustername represents
the name of the cluster for which you want to list the details.
You are set up to use the CLI from the server where the SAN Volume Controller Console is
installed.