PowerPath and Navisphere install on a Linux


[root@DB01 ~]# u01]# cd emcsoft/

[root@DB01 ~]# emcsoft]# ls
EMCpower.LINUX-5.3.1.00.00-111.rhel5.x86_64.rpm
NaviCLI-Linux-64-x86-en_US-6.29.0.6.1-1.x86_64.rpm
NaviHostAgent-Linux-64-x86-en_US-6.29.0.6.1-1.x86_64.rpm

[root@DB01 ~]# emcsoft]# rpm -ivh NaviHostAgent-Linux-64-x86-en_US-6.29.0.6.1-1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:NaviHostAgent-Linux-64-########################################### [100%]

[root@DB01 ~]# emcsoft]# vi /etc/Navisphere/agent.config
###########################
# Navisphere agent.config
###########################


# an already-privileged user.
#

user system@10.13.13.197
user system@10.13.13.198
user root              # only on this machine
#user sblue@picasso    # individual user "sblue" on host "picasso"
#user lgreen@hannibal # individual user "lgreen" on host "hannibal"

#
# Poll Specification
"/etc/Navisphere/agent.config" 156L, 4754C written


[root@DB01 ~]# emcsoft]# ls
EMCpower.LINUX-5.3.1.00.00-111.rhel5.x86_64.rpm
NaviCLI-Linux-64-x86-en_US-6.29.0.6.1-1.x86_64.rpm
NaviHostAgent-Linux-64-x86-en_US-6.29.0.6.1-1.x86_64.rpm

[root@DB01 ~]# emcsoft]# rpm -ivh EMCpower.LINUX-5.3.1.00.00-111.rhel5.x86_64.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.

[root@DB01 ~]# emcsoft]# 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): BFPW-XXXX-XXXX-XXXX-MO9S-3YS6
1 key(s) successfully added.
Key successfully installed.

Key (Enter if done):
1 key(s) successfully registered.

[root@DB01 ~]# emcsoft]# init 6


[root@DB01 ~]# /etc/init.d/PowerPath status
Usage: /etc/init.d/PowerPath {start|stop}

[root@DB01 ~]# /etc/rc.d/init.d/naviagent status
naviagent (pid 6651) is running...

[root@DB01 ~]# powermt display dev=all
PowerPath modules are not loaded.
Ensure that the modules are loaded and try again.

[root@DB01 ~]# emcpadm getusedpseudos
<ERROR: unable to determine device major number>

[root@DB01 ~]#


[root@DB01 ~]# fdisk -l

Disk /dev/sda: 292.3 GB, 292326211584 bytes
255 heads, 63 sectors/track, 35539 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id System
/dev/sda1   *           1        1305    10482381   83 Linux
/dev/sda2            1306        3916    20972857+ 83 Linux
/dev/sda3            3917        5221    10482412+ 83 Linux
/dev/sda4            5222       35539   243529335    5 Extended
/dev/sda5            5222       24981   158722168+ 83 Linux
/dev/sda6           24982       28897    31455238+ 83 Linux
/dev/sda7           28898       32813    31455238+ 83 Linux
/dev/sda8           32814       34118    10482381   83 Linux
/dev/sda9           34119       35162     8385898+ 82 Linux swap / Solaris

Disk /dev/sdc: 574.0 GB, 574010687488 bytes
255 heads, 63 sectors/track, 69786 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sde: 574.0 GB, 574010687488 bytes
255 heads, 63 sectors/track, 69786 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sde doesn't contain a valid partition table

[root@DB01 ~]# powermt display dev=all
PowerPath modules are not loaded.
Ensure that the modules are loaded and try again.

[root@DB01 ~]# /etc/init.d/Power
PowerIscsi PowerMig    PowerPath  

[root@DB01 ~]# /etc/init.d/PowerPath stop
Stopping PowerPath: PowerPath is not running
done

[root@DB01 ~]# /etc/init.d/PowerPath start
Starting PowerPath: done

[root@DB01 ~]# powermt display dev=all
Pseudo name=emcpowera
CLARiiON ID=APM00100401xxxxx [B2B-CoreDB-Oracle]
Logical device ID=60060160EF3027006A89D513901BDF11 [LUN 11]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B       Array failover mode: 1
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path - -- Stats ---
### HW Path                I/O Paths    Interf.   Mode    State Q-IOs Errors
==============================================================================
   3 qla2xxx                   sdb       SP A2     active alive      0      0
   3 qla2xxx                   sdc       SP B2     active alive      0      0
   4 qla2xxx                   sdd       SP A0     active alive      0      0
   4 qla2xxx                   sde       SP B0     active alive      0      0


[root@DB01 ~]# vi /etc/modprobe.conf
alias eth0 bnx2
alias eth1 bnx2
alias eth2 bnx2
alias eth3 bnx2
alias eth4 bnx2
alias eth5 bnx2
alias scsi_hostadapter megaraid_sas
alias scsi_hostadapter1 ata_piix
alias scsi_hostadapter2 qla2xxx
###BEGINPP
include /etc/modprobe.conf.pp
###ENDPP
~
~
~

[root@DB01 ~]#


[root@DB01 ~]# emcpadm getusedpseudos
PowerPath pseudo device names in use:

Pseudo Device Name      Major# Minor#
        emcpowera         120      0

[root@DB01 ~]#

[root@DB01 ~]# fdisk -l

Disk /dev/sda: 292.3 GB, 292326211584 bytes
255 heads, 63 sectors/track, 35539 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id System
/dev/sda1   *           1        1305    10482381   83 Linux
/dev/sda2            1306        3916    20972857+ 83 Linux
/dev/sda3            3917        5221    10482412+ 83 Linux
/dev/sda4            5222       35539   243529335    5 Extended
/dev/sda5            5222       24981   158722168+ 83 Linux
/dev/sda6           24982       28897    31455238+ 83 Linux
/dev/sda7           28898       32813    31455238+ 83 Linux
/dev/sda8           32814       34118    10482381   83 Linux
/dev/sda9           34119       35162     8385898+ 82 Linux swap / Solaris

Disk /dev/sdb: 574.0 GB, 574010687488 bytes
255 heads, 63 sectors/track, 69786 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 574.0 GB, 574010687488 bytes
255 heads, 63 sectors/track, 69786 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 574.0 GB, 574010687488 bytes
255 heads, 63 sectors/track, 69786 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/sde: 574.0 GB, 574010687488 bytes
255 heads, 63 sectors/track, 69786 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sde doesn't contain a valid partition table

Disk /dev/emcpowera: 574.0 GB, 574010687488 bytes
255 heads, 63 sectors/track, 69786 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/emcpowera doesn't contain a valid partition table
[root@DB01 ~]#

[root@DB01 ~]# emcpadm getusedpseudos
PowerPath pseudo device names in use:

Pseudo Device Name      Major# Minor#
        emcpowera         120      0
        emcpowerb         120     16

[root@DB01 ~]# /etc/init.d/PowerPath stop
Stopping PowerPath: Navisphere agent is run
ning.
Please stop the agent and then re-issue PowerPath stop.
failed

[root@DB01 ~]# /etc/rc.d/init.d/naviagent stop
Shutting down Naviagent:                                   [ OK ]

[root@DB01 ~]# /etc/init.d/PowerPath stop
Stopping PowerPath: done

[root@DB01 ~]# /etc/init.d/PowerPath start
Starting PowerPath: done

[root@DB01 ~]# /etc/rc.d/init.d/naviagent start
Starting Navisphere agent:                                 [ OK ]

[root@DB01 ~]# init 6

+ Recent posts