PowerPath para Linux: PowerPath no se inicia después del reinicio y se debe iniciar manualmente

Summary: PowerPath para Linux: PowerPath no se inicia después del reinicio y se debe iniciar manualmente.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Sistema operativo: Red Hat Enterprise Linux 7.x, OEL 7.x y SLES 12
Esto no se aplica a las versiones de Red Hat Enterprise Linux 5.x, 6.x y SLES 11.
Software de EMC: PowerPath para Linux 6.x

PowerPath no se inicia automáticamente después del reinicio del host.
PowerPath se puede iniciar manualmente sin ningún problema.
No se registran errores boot.log cuando se inicia y se detiene el servicio de PowerPath.

Después de que el sistema se reinicia, verá que PowerPath falla con "Error de inicialización", ya que el servicio no se pudo iniciar:

# powermt display dev=all ERROR: Cannot open PowerPath. Initialization error
# cat /var/log/boot.log |grep Power Starting PowerPath startup script... [ OK ] Stopped PowerPath startup script. <--- Starting PowerPath Management Daemon... Starting PowerPathPost startup script... [ OK ] Started PowerPathPost startup script. [ OK ] Started PowerPath Management Daemon.

 

Cause

En el inicio, PowerPath tiene algunas comprobaciones iniciales antes de continuar con el inicio real. Una de estas es comprobar cuándo se inició PowerPath por última vez, y esto se determina calculando la antigüedad de un archivo marcador. En el arranque, el reloj del sistema se sincroniza inicialmente con el reloj del hardware. Sin embargo, si se configura un cliente NTP en el host, cuando se inicia, el reloj del sistema se actualiza desde un servidor NTP.

El problema surge si el reloj del hardware está demasiado desincronizado con el reloj NTP, generalmente cuando está muy atrasado. En el arranque del host, PowerPath comienza mucho antes que el cliente NTP. Por lo tanto, cuando intenta determinar cuándo intenta calcular la antigüedad del archivo marcador, es un valor negativo y PowerPath se cierra inmediatamente sin continuar con el inicio.

 

Resolution

Solución alternativa:
Actualice el hwclock al reloj del sistema mediante el siguiente comando en el host:

hwclock --systohc

Esto actualiza el reloj del hardware a la hora correcta en el host.

Corrección permanente:
El problema se solucionará en PowerPath para Linux 6.3.

 

Additional Information

Puede ejecutar el siguiente comando para comprobar la hora en que se inició PowerPath por última vez:

systemctl status PowerPath.service

Por lo general, verá que la última vez que PowerPath estuvo activo tiene una gran diferencia horaria:

systemctl status PowerPath.service   PowerPath.service - PowerPath startup script Loaded: loaded (/usr/lib/systemd/system/PowerPath.service; enabled; vendor preset: disabled) Active: inactive (dead) since Thu 2017-04-06 12:00:15 GET; 4h 0min ago Process: 2075 ExecStopPost=/usr/lib/PowerPath/PowerPath check_service_stop (code=exited, status=0/SUCCESS) Process: 1807 ExecStartPost=/usr/lib/PowerPath/PowerPath check_service_start (code=killed, signal=TERM) Process: 1665 ExecStart=/usr/lib/PowerPath/PowerPath start (code=exited, status=0/SUCCESS) Main PID: 1665 (code=exited, status=0/SUCCESS)

------------------------------------------------------------------------------------------
Otra forma de encontrarlo es la marca de habilitación "-x" en el script de inicio de PowerPath.
Para OEL 7.x, los scripts de inicio son los siguientes:

/usr/lib/PowerPath/PowerPath
/etc/opt/emcpower/EMCpower.LINUX-6.1.0.00.00/enable

Ejemplo:

# head -5 /usr/lib/PowerPath/PowerPath
#!/bin/sh -x

Una vez que reinicie el host, los registros se capturarán en boot.log. También ejecute el siguiente comando donde last_boot tendría la extracción del mismo:

journalctl -b 0 > last_boot

En los siguientes registros detallados que se recopilaron anteriormente, vemos el retraso de -13991.

Apr 20 10:23:23 revdb1.mfg.ge PowerPath[1751]: + '[' yes == yes -a -f /tmp/.pp_systemctl_check ']'
Apr 20 10:23:23 revdb1.mfg.ge PowerPath[1751]: ++ date +%s
Apr 20 10:23:23 revdb1.mfg.ge PowerPath[1751]: ++ date +%s -r /tmp/.pp_systemctl_check
Apr 20 10:23:23 revdb1.mfg.ge PowerPath[1751]: + '[' -13991 -lt 5 ']'
Apr 20 10:23:23 revdb1.mfg.ge PowerPath[1751]: + rm -f /tmp/.pp_systemctl_check
Apr 20 10:23:23 revdb1.mfg.ge PowerPath[1751]: + /bin/true
Apr 20 10:23:23 revdb1.mfg.ge PowerPath[1751]: + rc_exit
Apr 20 10:23:23 revdb1.mfg.ge PowerPath[1751]: + exit 0

 

Affected Products

PowerPath for Linux

Products

PowerPath, PowerPath for Linux
Article Properties
Article Number: 000168026
Article Type: Solution
Last Modified: 20 Oct 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.