您好,登錄后才能下訂單哦!
EMC多路徑軟件其實就是2個rpm包,可以根據(jù)自己的系統(tǒng)版本安裝對應版本的rpm包(emc廠商提供)。如下事例:
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 <command>[class=<symm|clariion|invista|ess|hitachi|hpxp|hphsx|all>]
powermt check [force] [hba=<hba#>|all] [dev=<device>|all]
powermt check_registration
powermt config
powermt display [ports][dev=<device>|all] [every=<#seconds>]
powermt display options
powermt display paths [every=<#seconds>]
powermt display unmanaged
powermt manage{dev=<device> | class={invista | hitachi | hpxp | ess | hphsx}}
powermt unmanage{dev=<device> | class={invista | hitachi | hpxp | ess | hphsx}}
powermt load[file=<filename>]
powermt release
powermt remove [force]hba=<hba#>|all | dev=<device>|all
powermt restore[hba=<hba#>|all] [dev=<device>|all]
powermt save[file=<filename>]
powermt setmode=active|standby [hba=<hba#>|all] [dev=<device>|all]
powermt set periodic_autorestore=on|off
powermt setpolicy={ad|bf|co|lb|li|nr|re|rr|so} [dev=<device>|all]
powermt setpriority=<priority> [dev=<device>|all]
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é)點注冊信息一致,當其中一節(jié)點重裝系統(tǒng)之后,可以通過該命令在另一節(jié)點上查看注冊信息獲取key進行注冊。
[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之后手動修改mode進行保存解決。如下:
[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 ~]#
免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。