Dell OpenManage Server Administrator (OMSA) es un agente de software que proporciona una solución para la para gestión de dispositivos DELL a través de un software web que se accede vía browser.

Instalación de OMSA en XenServer 6.2

Lo primero que debemos obtener es la imagen que se descarga desde el sitio oficial de Dell, hoy en día corresponde a la versión 7.4.

wget http://downloads.dell.com/FOLDER02019315M/1/OM-SrvAdmin-Dell-Web-LX-7.4.0-866.XenServer62_A00.iso

Instalar la iso en el servidor Dell con SO XenServer 6.2

xe-install-supplemental-pack OM-SrvAdmin-Dell-Web-LX-7.4.0-866.XenServer62_A00.iso

Abrir el firewall y arrancar los servicios

cd /opt/dell/srvadmin/etc
./autoconf_cim_component.sh -p 5986
service iptables save
/etc/init.d/openwsmand restart
/etc/init.d/sfcb restart
iptables -I RH-Firewall-1-INPUT -p tcp --destination-port 5986 -j ACCEPT
cd /opt/dell/srvadmin/sbin
./srvadmin-services.sh start

Instalar el cliente web

wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash
yum -y install *Meta-Package srvadmin-webserver*
/opt/dell/srvadmin/sbin/srvadmin-services.sh start

Instalación de OMSA en XenServer 6.5

Primero debemos deshabilitar temporalmente el repositorio de Citrix. Lo movemos para no perderlo definitivamente y utilizamos un repo alternativo

mv /etc/yum.repos.d/Citrix.repo /root/Citrix.repo
yum clean all
wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash

Instalamos el OMSA y abrimos el puerto 1311 en el firewall para conectarnos desde el exterior

yum --enablerepo=base install srvadmin-all
nano /etc/sysconfig/iptables

La siguiente linea debe ser agregada antes de la que menciona icmp-host-prohibited:

-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 1311 -j ACCEPT

Restarteamos/arrancamos los servicios involucrados

service iptables restart
 
/opt/dell/srvadmin/sbin/srvadmin-services.sh start

y movemos el repo original a la ubicación normal

mv /root/Citrix.repo /etc/yum.repos.d


Desde un browser soportado (léase no IE) accedemos a la siguiente URL https://:1311 (debemos ignorar los certificados)

1

2

Verificando el estado del servidor desde la linea de comandos con omreport

No hay que instalar nada, pero es cómodo generar un enlace simbólico a la ubicación donde esta instalado el omreport

A continuación listamos algunos ejemplos del uso de omreport donde se pueden ver el estado del sistema en general, una batería de controladora agotada, y la última versión del firmware de la PERC5/i entre otras cosas.

# ln -s /opt/dell/srvadmin/bin/omreport /usr/local/sbin/omreport
 
# omreport -?
 
omreport         Reports component properties.
 
The available command(s) are:
 
Command          Description
about            Product and version properties.
licenses         Displays the digital licenses of the installed hardware devices.
preferences      Report system preferences.
system           System component properties.
chassis          Chassis component properties.
storage          Display storage component properties.
 
Usage: omreport  [name=value...] ... [option...]
 
Valid command line options are:
 
-?               Print available command(s) or command help.
-fmt <lst|tbl|ssv|cdv|xml> Format for output results, default is lst.
                           Where: lst  List format.
                                  tbl  Table format.
                                  ssv  Semicolon separated format.
                                  cdv  Custom delimiter separated format.
                                  xml  Raw XML format.
-outc      Redirect output to file, delete old if exists.
  OR
-outa      Redirect output to file, append to old if exists.
  OR
Output may also be redirected using Operating System facilities (e.g. |more).
# omreport chassis
 
Health
 
Main System Chassis
 
SEVERITY : COMPONENT
Ok       : Fans
Ok       : Intrusion
Ok       : Memory
Ok       : Power Supplies
Ok       : Processors
Ok       : Temperatures
Ok       : Voltages
Ok       : Hardware Log
Ok       : Batteries
# omreport storage -?
 
storage          Display storage component properties.
 
The available command(s) are:
 
Command          Description
adisk            Display array disk(s) properties. DEPRECATED: please use pdisk
pdisk            Display physical disk(s) properties.
vdisk            Display virtual disk(s) properties.
controller       Display controller(s) properties.
enclosure        Display enclosure properties.
battery          Display battery properties.
globalinfo       Display global storage properties.
connector        Display connector properties.
cachecade        Display cachecade(s) properties.
pciessd          Display PCIeSSD subsystem properties.
fluidcache       Display Fluid Cache properties and the associated fluid cachedisks.
fluidcachepool   Display Fluid CachePool properties.
partition        Display Partition details for the specified controller and vdisk.
fluidcachedisk   Display Fluidcache disks properties.
tape             Display Tape Drive(s) properties.
 
Usage: omreport  [name=value...] ... [option...]
 
Valid command line options are:
 
-?               Print available command(s) or command help.
-fmt <lst|tbl|ssv|cdv|xml> Format for output results, default is lst.
                           Where: lst  List format.
                                  tbl  Table format.
                                  ssv  Semicolon separated format.
                                  cdv  Custom delimiter separated format.
                                  xml  Raw XML format.
-outc      Redirect output to file, delete old if exists.
  OR
-outa      Redirect output to file, append to old if exists.
  OR
Output may also be redirected using Operating System facilities (e.g. |more).
 
# omreport storage battery
List of Batteries in the System
 
Controller PERC 5/i Integrated (Slot Embedded)
ID                  : 0
Status              : Critical
Name                : Battery 0
State               : Failed
Recharge Count      : Not Applicable
Max Recharge Count  : Not Applicable
Learn State         : Idle
Next Learn Time     : 20 days 3 hours
Maximum Learn Delay : 7 days 0 hours
# omreport storage controller
 Controller  PERC 5/i Integrated (Embedded)
 
Controllers
ID                                            : 0
Status                                        : Ok
Name                                          : PERC 5/i Integrated
Slot ID                                       : Embedded
State                                         : Ready
Firmware Version                              : 5.2.2-0072
Latest Available Firmware Version             : Not Applicable
Driver Version                                : 06.803.02.00-rc1
Minimum Required Driver Version               : Not Applicable
Storport Driver Version                       : Not Applicable
Minimum Required Storport Driver Version      : Not Applicable
Number of Connectors                          : 2
Rebuild Rate                                  : 30%
BGI Rate                                      : 30%
Check Consistency Rate                        : 30%
Reconstruct Rate                              : 30%
Alarm State                                   : Not Applicable
Cluster Mode                                  : Not Applicable
SCSI Initiator ID                             : Not Applicable
Cache Memory Size                             : 256 MB
Patrol Read Mode                              : Auto
Patrol Read State                             : Ready
Patrol Read Rate                              : 30%
Patrol Read Iterations                        : 250
Abort Check Consistency on Error              : Not Applicable
Allow Revertible Hot Spare and Replace Member : Not Applicable
Load Balance                                  : Not Applicable
Auto Replace Member on Predictive Failure     : Not Applicable
Redundant Path view                           : Not Applicable
CacheCade Capable                             : Not Applicable
Persistent Hot Spare                          : Not Applicable
Encryption Capable                            : Not Applicable
Encryption Key Present                        : Not Applicable
Encryption Mode                               : Not Applicable
Preserved Cache                               : Not Applicable
T10 Protection Information Capable            : No