C H A P T E R 8 |
Installing and Accessing the Command-Line Interface |
This chapter explains how to install the command-line interface (CLI) on a Solaris, Linux, HP-UX, IBM AIX, Windows NT, Windows 2000, and Windows 2003 host. The CLI enables you to perform many of the same operations you perform by choosing menu options from the firmware application or Sun StorEdge Configuration Service. CLI commands have the advantage of being scriptable, which is especially useful in large data center environments with many arrays that need to be configured similarly. Topics covered in this chapter include:
TABLE 8-1 lists the system requirements for each of the supported platforms.
Sun Linux 5.0 on a Sun |
|
This section lists the installation package and provides steps for installing the CLI on each of the supported platforms.
Note - You must be superuser (administrator) to install the CLI. |
The CLI installation package is contained on the Sun StorEdge 3000 Family Professional Storage Manager CD, and includes the files listed in TABLE 8-2. The package must be installed on a server that is attached to the array.
1. Insert the Sun StorEdge 3000 Family Professional Storage Manager CD and type:
2. To access the CLI, log in as root on the server on which you installed the CLI (and that is attached to the array), and type:
For a list of options and subcommands, see the man page.
Note - If you do not have /usr/sbin in your PATH environment variable, you can invoke the CLI as /usr/sbin/sccli. |
The CLI is installed in /opt/SUNWsscs/sbin/sccli.
1. Insert the Sun StorEdge 3000 Family Professional Storage Manager CD and change to the \product\windows directory.
2. Double-click setup.exe and select Sun StorEdge Command-Line Interface.
The default installation directory is C:\Program Files\Sun\sccli.
3. If CLI is installed on the same machine as the device you want to manage, to access the CLI, choose Start Programs
Sun StorEdge 3000 Family
Command-Line Interface.
4. If the CLI is installed on a different machine from the device you want to manage, to access the CLI, choose Start Run and type sccli followed by the IP address of the device you want to manage.
1. Mount the CD drive on your file system if it is not already mounted.
2. Insert the Sun StorEdge 3000 Family Professional Storage Manager CD and type:
To access the CLI, log in as root on the server on which you installed the CLI (and that is attached to the array), and type:
For a list of options and subcommands, see the man page.
The CLI is installed in /opt/SUNWsscs/sbin/sccli.
1. Make sure that a mounting point has been created for the CD.
2. Insert the Sun StorEdge 3000 Family Professional Storage Manager CD.
3. Determine the device entry for the CD:
Note the device entry, for example:
4. Mount the CD on your file system if it is not already mounted.
The CLI is installed in /opt/SUNWsscs/sbin/sccli.
1. Insert the Sun StorEdge Professional Storage Manager CD and type:
After the CLI is installed successfully, "SUCCESS" is displayed in the Result column of the Installation Summary.
The CLI is installed in /usr/SUNWsscs/sbin/sccli.
This section explains how to uninstall the CLI.
Use the pkgrm command to uninstall the CLI.
Use the Microsoft Windows Add/Remove Programs utility to remove the CLI.
1. Choose Start Settings
Control Panel
Add/Remove Programs.
2. Select SUNWsccli and select Add/Remove.
Respond appropriately to the prompts.
Use the rpm -e command to uninstall the CLI.
Use the swremove command to uninstall the CLI.
Use the installp -u command to uninstall the CLI.
Copyright © 2004, Sun Microsystems, Inc. All rights reserved.