EMC多路徑軟件其實(shí)就是2個(gè)rpm包,可以根據(jù)自己的系統(tǒng)版本安裝對應(yīng)版本的rpm包(emc廠商提供)。如下事例:
公司主營業(yè)務(wù):網(wǎng)站設(shè)計(jì)、成都網(wǎng)站制作、移動(dòng)網(wǎng)站開發(fā)等業(yè)務(wù)。幫助企業(yè)客戶真正實(shí)現(xiàn)互聯(lián)網(wǎng)宣傳,提高企業(yè)的競爭能力。創(chuàng)新互聯(lián)建站是一支青春激揚(yáng)、勤奮敬業(yè)、活力青春激揚(yáng)、勤奮敬業(yè)、活力澎湃、和諧高效的團(tuán)隊(duì)。公司秉承以“開放、自由、嚴(yán)謹(jǐn)、自律”為核心的企業(yè)文化,感謝他們對我們的高要求,感謝他們從不同領(lǐng)域給我們帶來的挑戰(zhàn),讓我們激情的團(tuán)隊(duì)有機(jī)會用頭腦與智慧不斷的給客戶帶來驚喜。創(chuàng)新互聯(lián)建站推出新晃免費(fèi)做網(wǎng)站回饋大家。
rpm–ivh EMCpower.LINUX-5.3.1.00.00-111.rhel.x86_64.rpm
rpm–ivh NaviHostAgent-Linux-64-x86-en_US-6.29.6.0.35-1.x86_64.rpm
powermt語法:
Usage:
powermt
powermt check [force] [hba=
powermt check_registration
powermt config
powermt display [ports][dev=
powermt display options
powermt display paths [every=<#seconds>]
powermt display unmanaged
powermt manage{dev=
powermt unmanage{dev=
powermt load[file=
powermt release
powermt remove [force]hba=
powermt restore[hba=
powermt save[file=
powermt setmode=active|standby [hba=
powermt set periodic_autorestore=on|off
powermt setpolicy={ad|bf|co|lb|li|nr|re|rr|so} [dev=
powermt setpriority=
powermt update lun_names
powermt version
[root@jason1~]# powermt display dev=all
Pseudoname=emcpowera
CLARiiONID=CKM00103500808 [pacsserver-HA]
Logicaldevice ID=60060160C3102A0068A82245E5CADF11[LUN 0]
state=alive;policy=CLAROpt; priority=0; queued-IOs=0
Owner:default=SP B, current=SP B Arrayfailover mode: 1
==============================================================================
----------------Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
5 lpfc sdb SP A1 active alive 0 0
5 lpfc sde SP B1 active alive 0 0
6 lpfc sdh SP A0 active alive 0 0
6 lpfc sdk SP B0 active alive 0 0
Pseudoname=emcpowerb
CLARiiONID=CKM00103500808 [pacsserver-HA]
Logicaldevice ID=60060160C3102A00F07501DDB37AE011[LUN 1]
state=alive;policy=CLAROpt; priority=0; queued-IOs=0
Owner:default=SP A, current=SP A Arrayfailover mode: 1
==============================================================================
----------------Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
5 lpfc sdc SPA1 active alive 0 0
5 lpfc sdf SP B1 active alive 0 0
6 lpfc sdi SP A0 active alive 0 0
6 lpfc sdl SP B0 active alive 0 0
Pseudoname=emcpowerc
CLARiiONID=CKM00103500808 [pacsserver-HA]
Logicaldevice ID=60060160C3102A0066BBCCE7B37AE011 [LUN 2]
state=alive;policy=CLAROpt; priority=0; queued-IOs=0
Owner:default=SP B, current=SP B Arrayfailover mode: 1
==============================================================================
----------------Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
5 lpfc sdd SP A1 active alive 0 0
5 lpfc sdg SP B1 active alive 0 0
6 lpfc sdj SP A0 active alive 0 0
6 lpfc sdm SP B0 active alive 0 0
[root@jason1~]#
[root@jason2~]# powermt display dev=all
Pseudoname=emcpowera
CLARiiONID=CKM00103500808 [pacsserver-HA]
Logicaldevice ID=60060160C3102A0068A82245E5CADF11[LUN 0]
state=alive;policy=CLAROpt; priority=0; queued-IOs=0
Owner:default=SP B, current=SP B Arrayfailover mode: 1
==============================================================================
----------------Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
5 lpfc sdb SP A1 active alive 0 0
5 lpfc sde SP B1 active alive 0 0
6 lpfc sdh SP A0 active alive 0 0
6 lpfc sdk SP B0 active alive 0 0
Pseudoname=emcpowerb
CLARiiONID=CKM00103500808 [pacsserver-HA]
Logicaldevice ID=60060160C3102A00F07501DDB37AE011[LUN 1]
state=alive;policy=CLAROpt; priority=0; queued-IOs=0
Owner:default=SP A, current=SP A Arrayfailover mode: 1
==============================================================================
----------------Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
5 lpfc sdc SP A1 active alive 0 0
5 lpfc sdf SP B1 active alive 0 0
6 lpfc sdi SP A0 active alive 0 0
6 lpfc sdl SP B0 active alive 0 0
Pseudoname=emcpowerc
CLARiiONID=CKM00103500808 [pacsserver-HA]
Logicaldevice ID=60060160C3102A0066BBCCE7B37AE011 [LUN 2]
state=alive;policy=CLAROpt; priority=0; queued-IOs=0
Owner:default=SP B, current=SP B Arrayfailover mode: 1
==============================================================================
----------------Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
5 lpfc sdd SP A1 active alive 0 0
5 lpfc sdg SP B1 active alive 0 0
6 lpfc sdj SP A0 active alive 0 0
6 lpfc sdm SP B0 active alive 0 0
[root@jason2~]#
[root@jason1~]# powermt check_registration
KeyBXPV-CB4G-2FCK-QSIS-MC9M-JVJT
Product: PowerPath
Capabilities: All
[root@jason1~]#
[root@jason2~]# powermt check_registration
KeyBXPV-CB4G-2FCK-QSIS-MC9M-JVJT
Product: PowerPath
Capabilities: All
[root@jason2~]#
備注:兩節(jié)點(diǎn)注冊信息一致,當(dāng)其中一節(jié)點(diǎn)重裝系統(tǒng)之后,可以通過該命令在另一節(jié)點(diǎn)上查看注冊信息獲取key進(jìn)行注冊。
[root@jason2~]#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): BXPV-CB4G-2FCK-QSIS-MC9M-JVJT
1 key(s) successfully added.
Key successfully installed.
Key(Enter if done):
1 key(s) successfully registered.
[root@jason2~]
mode模式unlic問題解決,如下情況。紅色字體部分。
[root@jason2~]# powermt display dev=all
Pseudoname=emcpowera
CLARiiONID=CKM00103500808 [pacsserver-HA]
Logicaldevice ID=60060160C3102A0068A82245E5CADF11[LUN 0]
state=alive;policy=BasicFailover; priority=0; queued-IOs=0
Owner:default=SP B, current=SP B Arrayfailover mode: 1
==============================================================================
----------------Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
5lpfc sdb SP A1 unlic alive 0 0
5lpfc sde SP B1 unlic alive 0 0
6 lpfc sdh SP B0 active alive 0 0
6 lpfc sdk SP A0 active alive 0 0
Pseudoname=emcpowerb
CLARiiONID=CKM00103500808 [pacsserver-HA]
Logicaldevice ID=60060160C3102A00F07501DDB37AE011[LUN 1]
state=alive;policy=BasicFailover; priority=0; queued-IOs=0
Owner:default=SP A, current=SP A Arrayfailover mode: 1
==============================================================================
----------------Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
5 lpfc sdc SP A1 unlic alive 0 0
5lpfc sdf SP B1 unlic alive 0 0
6 lpfc sdi SP B0 active alive 0 0
6 lpfc sdl SP A0 active alive 0 0
Pseudoname=emcpowerc
CLARiiONID=CKM00103500808 [pacsserver-HA]
Logicaldevice ID=60060160C3102A0066BBCCE7B37AE011 [LUN 2]
state=alive;policy=BasicFailover; priority=0; queued-IOs=0
Owner:default=SP B, current=SP B Arrayfailover mode: 1
==============================================================================
----------------Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
5 lpfc sdd SP A1 unlic alive 0 0
5 lpfc sdg SP B1 unlic alive 0 0
6 lpfc sdj SP B0 active alive 0 0
6 lpfc sdm SP A0 active alive 0 0
此問題是由于未注冊lisence且mode未修改造成,通過注冊lisence之后手動(dòng)修改mode進(jìn)行保存解決。如下:
[root@jason2~]#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): BXPV-CB4G-2FCK-QSIS-MC9M-JVJT
1 key(s) successfully added.
Key successfully installed.
Key(Enter if done):
1 key(s) successfully registered.
[root@jason2~]#powermt set policy=co dev=all
[root@jason2~]#powermt save
注冊之后繼續(xù)查看如下。
[root@jason2~]#powermt display dev=all
Pseudoname=emcpowera
CLARiiONID=CKM00103500808 [pacsserver-HA]
Logicaldevice ID=60060160C3102A0068A82245E5CADF11[LUN 0]
state=alive;policy=CLAROpt; priority=0; queued-IOs=0
Owner:default=SP B, current=SP B Arrayfailover mode: 1
==============================================================================
----------------Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
5 lpfc sdb SP A1 active alive 0 0
5 lpfc sde SP B1 active alive 0 0
6 lpfc sdh SP A0 active alive 0 0
6 lpfc sdk SP B0 active alive 0 0
Pseudoname=emcpowerb
CLARiiONID=CKM00103500808 [pacsserver-HA]
Logicaldevice ID=60060160C3102A00F07501DDB37AE011[LUN 1]
state=alive;policy=CLAROpt; priority=0; queued-IOs=0
Owner:default=SP A, current=SP A Arrayfailover mode: 1
==============================================================================
----------------Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
5 lpfc sdc SP A1 active alive 0 0
5 lpfc sdf SP B1 active alive 0 0
6 lpfc sdi SP A0 active alive 0 0
6 lpfc sdl SP B0 active alive 0 0
Pseudoname=emcpowerc
CLARiiONID=CKM00103500808 [pacsserver-HA]
Logicaldevice ID=60060160C3102A0066BBCCE7B37AE011 [LUN 2]
state=alive;policy=CLAROpt; priority=0; queued-IOs=0
Owner:default=SP B, current=SP B Arrayfailover mode: 1
==============================================================================
----------------Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
5 lpfc sdd SP A1 active alive 0 0
5 lpfc sdg SP B1 active alive 0 0
6 lpfc sdj SPA0 active alive 0 0
6 lpfc sdm SP B0 active alive 0 0
[root@jason2 ~]#