Domanda: Come installo e configuro EMC Powerpath software in ambiente Linux?
Risposta: Prima di avviare l'installazione e la configurazione di EMC powerpath, accertarsi che le schede HBA siano installate sul server e che gli switch Fibre Channel siano suddivisi in zone correttamente.
1. Installa EMC Powerpath su Linux
Scarica il software Powerpath dal sito Web di EMC powerlink. Se hai acquistato il supporto EMC, dovresti avere accesso a powerlink.
Nell'esempio seguente, EMC Powerpath 5 ( EMCpower.LINUX-5.3.0.00.00-185.rhel5.i386.rpm ) è installato su Red Hat 5. (per CLARiiON matrice)
# rpm -ivh EMCpower.LINUX-5.3.0.00.00-185.rhel5.i386.rpm --test Preparing... ########################################### [100%] # rpm -ivh EMCpower.LINUX-5.3.0.00.00-185.rhel5.i386.rpm Preparing... ########################################### [100%] 1:EMCpower.LINUX ########################################### [100%] All trademarks used herein are the property of their respective owners. NOTE:License registration is not required to manage the CLARiiON AX series array.
2. Registra EMC Powerpath
Prima di poter utilizzare il software EMC powerpath, è necessario registrarlo utilizzando la chiave di licenza EMC Powerpath ricevuta al momento dell'acquisto del software da EMC.
Usa lo strumento emcpreg per installare la chiave di licenza EMC Powerpath come mostrato di seguito.
# emcpreg -install =========== EMC PowerPath Registration =========== Do you have a new registration key or keys to enter?[n] y Enter the registration keys(s) for your product(s), one per line, pressing Enter after each key. After typing all keys, press Enter again. Key (Enter if done): **emc-powerpath-license-key** 1 key(s) successfully added. Key successfully installed. Key (Enter if done): Key is invalid, ignored. Try again or press Enter if done. 1 key(s) successfully registered.
3. Verifica la registrazione di EMC Powerpath
Usa il comando powermt di EMC per verificare la registrazione come mostrato di seguito.
# powermt check_registration Key **emc-powerpath-license-key** Product: PowerPath Capabilities: All
4. Verifica percorsi multipli
Dopo aver installato EMC powerpath, esegui powermt display dev=all come mostrato di seguito per verificare se più percorsi vengono visualizzati di conseguenza.
# powermt display dev=all Pseudo name=emcpowera CLARiiON ID=00000000000 [db-server] Logical device ID=12121212121212 [LUN 1] state=alive; policy=CLAROpt; priority=0; queued-IOs=0 Owner: default=SP A, current=SP A ============================================================================== ---------------- Host --------------- - Stor - -- I/O Path - -- Stats --- ### HW Path I/O Paths Interf. Mode State Q-IOs Errors ============================================================================== 1 QLogic Fibre Channel 2300 sdb SP A4 active alive 0 0 1 QLogic Fibre Channel 2300 sdd SP B4 active alive 0 0 2 QLogic Fibre Channel 2300 sdf SP A5 active alive 0 0 2 QLogic Fibre Channel 2300 sdh SP B5 active alive 0 0