Hp Insight Management-Software Manuel d'utilisateur Page 60

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 96
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 59
show power-status
The -show power-status command displays the power status of the indicated bay.
Syntax
-show power-status -enclosurename <enclosurename> -bayname <bayname>
Parameters
Table 27 Parameter descriptions for -show power-status
OptionalRequiredDescriptionParameter
xThe name of an enclosure in
the domain.
-enclosurename
xThe name of the bay in the
enclosure.
NOTE: For a multi-blade
server the BayName must be
the name of the primary
bay.
-bayname
Output
The command reports the status of the indicated bay using one of the following strings and sets
the DOS ERRORLEVEL environment variable to the value shown in parenthesis:
ON—Server is present and powered on (1)
OFF—Server is present and powered off (0)
UNKNOWN—No server is present in the bay (240)
Examples
Power on the server in bay 2 of the enclosure enc0 if it is currently powered off:
vcemcli show power-status enclosurename enc0 bayname 2
if ERRORLEVEL 240 (
echo There is no server in bay 2
) else (
if ERRORLEVEL 1 (
echo Server in bay 2 is already on
) else (
echo Turning on server in bay 2
vcemcli -poweron devicebay -enclosureName enc0 -bayname 2
if ERRORLEVEL 1 goto ERRORHANDLER
)
)
Minimum Required Role Based Security
VCEM User
Remarks
An error is reported if the bay or enclosure name is invalid.
Most profile operations require that if a bay contains a server, it must be powered off before the
operation.
60 Using VCEM commands
Vue de la page 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 95 96

Commentaires sur ces manuels

Pas de commentaire