Informes de errores – HP Software HP Insight Management Manual del usuario

Página 20

Advertising
background image

-toenclosurename : The target Virtual Connect enclosure name
-untagged : Controls whether the network handles untagged packets
-uplinkset : The name of the shared uplinkset
-username : Username for CHAP and CHAPM authentication.
-validate : Validates certain preconditions
-vcdomaingroup : The name of the VCEM domain group for the profile
-vlanid : The vlanid to be used for the port mapping.
-vlanids : The vlanids to be used for the port mapping.
-wwntypeoverride : Override VCEM WWN and instead use the factory default

------------------------------------------------------------------
Managed Elements
------------------------------------------------------------------
devicebay : Bay which can contain a Virtual Connect server.
enet-connection : Ethernet Network Connection
fc-connection : Fibre Channel SAN Fabric Connections
fcoe-connection : FCoE Fabric Connections
iscsi-boot-param : iSCSI Boot Parameter information
iscsi-connection : iSCSI Network Connections
job : VCEM jobs
power-status : Bay power status
profile : Virtual Connect Server Profile
profiles : VCEMCLI profile export information
server-port-map : Shared Server Downlink Port Mapping Configuration
server-port-map-range : Shared Server Downlink Port Mapping Range Configuration
vcem-status : The VCEM management status of the VC domain
version : VCEMCLI Version Information

Informes de errores

Todos los comandos VCEMCLI pueden informar de errores. Estos mensajes de error contienen una
breve descripción de la excepción y un valor numérico que representa el código de error para la
excepción correspondiente.

VCEMCLI establece la variable de entorno de DOS ERRORLEVEL dependiendo de si el comando
se ejecuta correctamente o si da errores. La ejecución correcta del comando se indica con un nivel
de cero (0). El error se indica con los niveles de uno (1) o un número mayor, donde el valor
específico corresponde a un error descrito en las tablas de mensajes de errores.

Para el comando -show, la variable de entorno ERRORLEVEL se establece para indicar el estado
y no una condición de error. Esto permite que un script ejecute -show para trabajos o estados
de encendido y, a continuación, según cual sea el valor de ERRORLEVEL, cambie el flujo de
control de un script. Por ejemplo:

for /L %%I in (1,1,%MAXBAYS%) DO (
%CLI% -show power-status -enclosureName %ENCLNAME% -bayname %%I
if ERRORLEVEL 240 (
echo There is no server in bay %%I
) else (
if ERRORLEVEL 1 (
echo Server in bay %%I is already on
) else (
echo Turning on server in bay %%I
%CLI% -poweron devicebay -enclosureName %ENCLNAME% -bayname %%I
if ERRORLEVEL 1 goto ERRORHANDLER
)
)
)

Consulte

«Error Messages» (página 86)

o la documentación de Systems Insight Manager si desea

más información.

20

Uso de VCEMCLI

Advertising
Este manual se refiere a los siguientes productos: