EMC多路徑軟件其實就是2個rpm包,可以根據自己的系統版本安裝對應版本的rpm包(emc廠商提供)。如下事例:
公司主營業(yè)務:網站設計、成都網站制作、移動網站開發(fā)等業(yè)務。幫助企業(yè)客戶真正實現互聯網宣傳,提高企業(yè)的競爭能力。創(chuàng)新互聯建站是一支青春激揚、勤奮敬業(yè)、活力青春激揚、勤奮敬業(yè)、活力澎湃、和諧高效的團隊。公司秉承以“開放、自由、嚴謹、自律”為核心的企業(yè)文化,感謝他們對我們的高要求,感謝他們從不同領域給我們帶來的挑戰(zhàn),讓我們激情的團隊有機會用頭腦與智慧不斷的給客戶帶來驚喜。創(chuà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 <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é)點重裝系統之后,可以通過該命令在另一節(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 ~]#
當前名稱:EMC存儲多路徑軟件安裝配置及相關命令
文章鏈接:http://www.rwnh.cn/article18/gopsdp.html
成都網站建設公司_創(chuàng)新互聯,為您提供品牌網站建設、面包屑導航、品牌網站設計、定制網站、Google、ChatGPT
聲明:本網站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯