PowerPath for Linux: PowerPath non si avvia dopo il riavvio e deve essere avviato manualmente

Summary: PowerPath for Linux: PowerPath non si avvia dopo il riavvio e deve essere avviato 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 e SLES 12
Non si applica alle versioni di Red Hat Enterprise Linux 5.x, 6.x e SLES 11.
Software EMC: PowerPath per Linux 6.x

PowerPath non si avvia automaticamente dopo il riavvio dell'host.
PowerPath può essere avviato manualmente senza alcun problema.
All'avvio e all'arresto del servizio PowerPath non viene registrato alcun errore boot.log.

Dopo il riavvio del sistema, è possibile vedere che PowerPath ha esito negativo con "Errore di inizializzazione" poiché il servizio non è stato in grado di avviarsi:

# 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

All'avvio, PowerPath esegue alcuni controlli iniziali prima di procedere con l'avvio effettivo. Uno di questi consiste nel verificare quando PowerPath è stato avviato l'ultima volta e questo viene determinato calcolando l'età di un file di marcatori. All'avvio, il clock di sistema viene inizialmente sincronizzato con il clock hardware. Tuttavia, se sull host è configurato un client NTP, all'avvio l'orologio di sistema viene aggiornato da un server NTP.

Il problema sorge se l'orologio hardware non è sincronizzato con quello dell'orologio NTP, di solito quando è molto indietro. All'avvio dell host, PowerPath si avvia molto prima del client NTP. Pertanto, quando si tenta di determinare quando si tenta di calcolare l'età del file di marcatura, il valore è negativo e PowerPath si chiude immediatamente senza procedere con l'avvio.

 

Resolution

Soluzione alternativa:
Aggiornare hwclock all'orologio di sistema utilizzando il seguente comando sull host:

hwclock --systohc

In questo modo l'orologio hardware viene aggiornato sull'ora corretta sull host.

Correzione permanente:
Il problema verrà risolto in PowerPath for Linux 6.3.

 

Additional Information

È possibile eseguire il comando seguente per verificare l'ora dell'ultimo avvio di PowerPath:

systemctl status PowerPath.service

L'ultima volta che PowerPath è stato attivo presenta un'enorme differenza di fuso orario:

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)

------------------------------------------------------------------------------------------
Un altro modo per trovarlo è il flag di abilitazione '-x' nello script di avvio di PowerPath.
Per OEL 7.x, gli script di avvio sono:

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

Esempio:

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

Una volta riavviato l'host, i registri verranno acquisiti in boot.log. Eseguire anche il comando seguente dove last_boot avrebbe l'estratto dello stesso:

journalctl -b 0 > last_boot

Nei seguenti log dettagliati raccolti in precedenza, viene visualizzato lo sfasamento temporale di -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.