Hp Virtual Connect Enterprise Manager Software Manual de usuario Pagina 73

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 113
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 72
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 31 Parameter descriptions for -show power-status
OptionalRequiredDescriptionParameter
xSpecifies the name of an
enclosure in the domain.
-enclosurename
xSpecifies the name of the
bay in the enclosure.
NOTE: For a multiblade
server, the bay name must
be the name of the primary
bay.
-bayname
Output
The command reports the status of the indicated bay by using one of the following strings and sets
the DOS ERRORLEVEL environment variable to the value shown in parentheses:
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.
show power-status 73
Vista de pagina 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 112 113

Comentarios a estos manuales

Sin comentarios