Feeds:
Posts
Comments

Archive for the ‘HP-UX’ Category

Install PowerPath for HP-UX following EMC guide

Installation and Administration Guide
P/N 300-001-529
Rev A01
#swinstall –x autoreboot=true mount_all_filesystems=false \
-s /cdrom/UNIX/HP/EMCPower.HP.4.2.0 EMCPower
Register PowerPath on the host following EMC guide.
o    Installation and Administration Guide
P/N 300-001-529
Rev A01
#emcpreg –install    #Enter registration key
Configure PowerPath devices, fail over and load balancing following EMC guide.

Installation and Administration Guide
P/N 300-001-529
Rev A01

#powermt config
#powermt set policy=co dev=all
# powermt display
Symmetrix logical device count=0
CLARiiON logical device count=9
====================================================================
—– Host Bus Adapters ———  —— I/O Paths —–  —— Stats ——
### HW Path                        Summary   Total   Dead  IO/Sec Q-IOs Errors
====================================================================
22 1/0/6/1/0.97.22.19.0           optimal       9      0       –     0      0
23 1/0/4/1/0.97.42.19.0           optimal       9      0       –     0      0
24 1/0/2/1/0.97.42.19.0           optimal       9      0       –     0      0
5 1/0/6/1/0.97.26.19.0           optimal       9      0       –     0      0
26 1/0/4/1/0.97.45.19.0           optimal       9      0       –     0      0
27 1/0/2/1/0.97.45.19.0           optimal       9      0       –     0      0

Configure PowerPath Volumes following EMC guide.
o    PowerPath Volume Manager User’s Guide
P/N 300-001-522
Rev A03
Create Volume Groups

Run the powermt display command to identify the
storage elements that will belong to the volume group.
#powermt display dev=all

Run powervadm list to confirm unique volume group naming and storage elements do not belong to any other PPVG volume group on the host.
#powervadm list

NOTE: If you are working in an environment where storage elements are shared
among hosts, take the precaution of running the powervadm
rediscover command before creating a volume group. Running the
powervadm rediscover command causes the powervg create
command to fail if you attempt to create a volume group using a storage
element that belongs to an existing PPVM volume group on a different
host.

Run the powervg create command to create the volume group.
NOTE: Only one storage element is specified. By default, the
powervg create command fails if you attempt to create a
volume group with one storage element. If you specify the
-continue argument, the powervg create command
create the volume group, but returns a warning that both
copies of the metadata are on the same storage element.
– multiple storage elements are specified, and one or more
are unavailable or cannot be used (for example, a
Symmetrix gatekeeper device). By default, the powervg
create command fails if any specified storage element is
invalid or unavailable. If you include the -continue
argument and the powervg create command encounters
an invalid or unavailable storage element, it creates the
volume group with the available storage elements, and
returns a warning that not all of the specified storage
elements were used.

#powervg create -vg oracle10g -se c22t0d0 c22t0d1 c22t0d2 –continue
#powervol create -vg oracle10g -vol ora100gbr5v08 -ua -se c24t1d0

To view volume group information

#powervadm [list|show]
#powervadm show -tab

To view information about a specific volume group
#powervg [list|show] –vg volumename –vol
#powervg [list|show] –vg volumename –se

The -vol and the -se arguments are mutually exclusive.
Backup metadata
#powervmeta backup -vg oracle10g -f /tmp/oracle10g_metadata.071304

Destory Volumes and Volume Groups run the following commands

#powervol destroy –vg oracle10g –vol ora22gbr1v01
#powervg destroy –vg oracle10g

A volume group can be active on only one host. If multiple hosts need
access to the storage elements in a volume group, that volume group
must be under the control of a cluster manager that will reserve the
storage elements to a single host. PPVM does not support sharing a
volume group among multiple hosts simultaneously as in, for example,
an Oracle Parallel Server (OPS) environment.

Display RAID Group and other information.
/opt/Navisphere/bin/navicli -h 10.1.201.62 getlun > /tmp/lun

powermt display dev=all

Read Full Post »