HP CloudSystem Foundation Guide de l'utilisateur Page 192

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 211
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 191
B Working with the csadmin CLI
The csadmin CLI provides command line access for storage system administrative tasks, private
network VLAN management tasks, appliance management tasks, and console user management
tasks.
This appendix provides information on how to configure a CLI shell to ease secure access when
using the csadmin command line and how to view available help from the command line. It
defines required and optional csadmin command syntax, and provides usage examples.
The csadmin CLI provides command line access for storage system administrative tasks, private
network VLAN management tasks, appliance management tasks, and console user management
tasks.
NOTE: See Supported console operations on the CloudSystem appliances (page 199) for
information about using csadmin to enable access to the CloudSystem Foundation and CloudSystem
Enterprise appliance consoles from the hypervisor console and setting a password for the
cloudadmin user.
Configure a CLI shell to ease secure access when using csadmin
Configuring a CLI shell enables you to automatically apply permissions to commands rather than
entering the full CLI syntax with all permissions each time you run a command.
Procedure 85 Configuring a CLI shell
1. On a Windows or Linux system where csadmin is installed, open a command shell.
2. Configure a shell to identify command permissions by entering commands similar to the
following. For example, if you are using a Linux system, enter:
export OS_USERNAME=<admin_user_name>export OS_PASSWORD=<admin_password>
export OS_AUTH_URL=https://<IP_address_of_base_appliance>/rest/identity/v2.0
If you are using a POSIX shell on a Windows system, enter:
set OS_USERNAME=<admin_user_name>
set OS_PASSWORD=<admin_password>
set;
OS_AUTH_URL=https://<IP_address_of_base_appliance>/rest/identity/v2.0
See also Troubleshoot csadmin (page 183).
Getting help for csadmin
To view csadmin help from the command line, use either of the following commands.
csadmin --help
Lists all available CLI commands and additional details for optional arguments.
csadmin help <command name>
Lists detailed help for a specific command.
Order of syntax for commands and arguments
The following example shows the order of syntax for all csadmin CLI commands and arguments.
csadmin <optional arguments> <cmd> <required common arguments for the command> <optional common arguments for
the command> <args specific to the command> <positional argument for the command>
Optional arguments
You can enter the following optional arguments directly after the csadmin command.
--version: Shows the program version number and exits the csadmin CLI.
-v, --verbose: Increases the amount of output displayed. This command can be repeated.
192 Working with the csadmin CLI
Vue de la page 191
1 2 ... 187 188 189 190 191 192 193 194 195 196 197 ... 210 211

Commentaires sur ces manuels

Pas de commentaire