Operating System - HP-UX
1752579 Members
3071 Online
108788 Solutions
New Discussion

Re: How to change wwid in HP-UX

 
Sshahzeb
Visitor

How to change wwid in HP-UX

I have slice one LUN from HSV300 Storage and mount on two servers which having oracle servicegurad cluster.

I want to mount one LUN(WWN = 0x600143800648e6910002200000d60000) on both node with same disk name (/dev/rdisk/disk50) and also same wwid as like other disk assign wwid and LUN number.

Please suggest me how to I do this.

===========================================================================

NODE1:-

# ioscan -P wwid -C disk
Class I H/W Path wwid
===============================
disk 3 64000/0xfa00/0x2 N/A
disk 16 64000/0xfa00/0x7 0x600143800648e6910000500000390000
disk 17 64000/0xfa00/0x8 0x600143800648e69100005000003d0000
disk 18 64000/0xfa00/0x9 0x600143800648e6910000500000410000
disk 25 64000/0xfa00/0xa 0x600143800648e6910000500000450000
disk 26 64000/0xfa00/0xb 0x600143800648e6910000500000490000
disk 27 64000/0xfa00/0xc 0x600143800648e69100005000004d0000
disk 30 64000/0xfa00/0xd 0x600143800648e6910000500000710000
disk 33 64000/0xfa00/0xe 0x600143800648e6910000500000790000
disk 36 64000/0xfa00/0xf 0x600143800648e6910000500000750000
disk 39 64000/0xfa00/0x10 0x600143800648e6910000500000850000
disk 42 64000/0xfa00/0x11 0x600143800648e6910000500000690000
disk 45 64000/0xfa00/0x12 0x600143800648e6910000500000650000
disk 48 64000/0xfa00/0x13 0x600143800648e69100005000006d0000
disk 100 64000/0xfa00/0x1e 0x600143800648e69100022000007c0000
disk 101 64000/0xfa00/0x1f 0x600508b100105439535a303053450001
disk 102 64000/0xfa00/0x20 0x600508b100105439535a303053450002
disk 109 64000/0xfa00/0x24 0x600143800648e6910002200000d60000

# ll /dev/rdisk

crw-r----- 1 oracle oinstall 13 0x00000d Jun 6 16:56 disk30
crw-r----- 1 oracle oinstall 13 0x00000e Jun 6 16:56 disk33
crw-r----- 1 oracle oinstall 13 0x00000f Jun 6 16:56 disk36
crw-r----- 1 oracle oinstall 13 0x000010 Jun 6 16:56 disk39
crw-r----- 1 oracle oinstall 13 0x000011 Jun 6 16:56 disk42
crw-r----- 1 oracle oinstall 13 0x000012 Jun 6 16:56 disk45
crw-r----- 1 oracle oinstall 13 0x000013 Jun 6 16:56 disk48
crw------- 1 oracle 13 0x000024 Jun 5 12:19 disk50
========================================================================

NODE2:-

# ioscan -P wwid -C disk
Class I H/W Path wwid
===============================
disk 1 64000/0xfa00/0x1 0x600508b100105439535a333034560001
disk 3 64000/0xfa00/0x2 N/A
disk 16 64000/0xfa00/0x7 0x600143800648e6910000500000450000
disk 17 64000/0xfa00/0x8 0x600143800648e6910000500000490000
disk 18 64000/0xfa00/0x9 0x600143800648e69100005000004d0000
disk 23 64000/0xfa00/0xa 0x600143800648e6910000500000390000
disk 24 64000/0xfa00/0xb 0x600143800648e69100005000003d0000
disk 27 64000/0xfa00/0xc 0x600143800648e6910000500000410000
disk 30 64000/0xfa00/0xd 0x600143800648e6910000500000710000
disk 33 64000/0xfa00/0xe 0x600143800648e6910000500000790000
disk 36 64000/0xfa00/0xf 0x600143800648e6910000500000750000
disk 39 64000/0xfa00/0x10 0x600143800648e6910000500000850000
disk 42 64000/0xfa00/0x11 0x600143800648e6910000500000690000
disk 45 64000/0xfa00/0x12 0x600143800648e6910000500000650000
disk 48 64000/0xfa00/0x13 0x600143800648e69100005000006d0000
disk 73 64000/0xfa00/0x15 0x600508b100105439535a333034560002
disk 100 64000/0xfa00/0x1e 0x600143800648e69100022000007c0000
disk 102 64000/0xfa00/0x20 0x600143800648e6910002200000930000
disk 111 64000/0xfa00/0x23 0x600143800648e6910002200000d60000
#

# ll /dev/rdisk/
crw-r----- 1 oracle oinstall 13 0x00000d Jun 5 12:59 disk30
crw-r----- 1 oracle oinstall 13 0x00000e Jun 5 13:00 disk33
crw-r----- 1 oracle oinstall 13 0x00000f Jun 5 12:59 disk36
crw-r----- 1 oracle oinstall 13 0x000010 Jun 5 12:59 disk39
crw-r----- 1 oracle oinstall 13 0x000011 Jun 5 12:59 disk42
crw-r----- 1 oracle oinstall 13 0x000012 Jun 5 12:59 disk45
crw-r----- 1 oracle oinstall 13 0x000013 Jun 5 12:59 disk48
crw------- 1 root sys 13 0x000023 Jun 6 15:21 disk50

 

Mohd Shahzeb Malik
2 REPLIES 2
Torsten.
Acclaimed Contributor

Re: How to change wwid in HP-UX

How about Cluster-wide Device Special Files (cDSF)?

 

From LVM Guide:

HP-UX 11i Version 3, September 2010 Release introduces the support of cluster-wide device special
files (cDSF) for nodes running with Serviceguard, A.11.20.
A cluster device special files provides a consistent set of device special files across a set of cluster
nodes. The cluster device special files of a LUN will be the same on any node in a specified set
of nodes that share the LUN. The set of cluster nodes across which cluster device special files need
to be created can be specified using the
cmsetdsfgroup command. The cluster device special
files can be displayed using the
io_cdsf_config command. See the Managing Serviceguard
Eighteenth Edition
manual for more detail on cluster device special files


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sshahzeb
Visitor

Re: How to change wwid in HP-UX

I want to present as row disk which have same WWID and disk on both nodes.

Mohd Shahzeb Malik