Operating System - HP-UX
1844145 Members
2472 Online
110228 Solutions
New Discussion

Making DMX Lun's Visible in HP-UX

 
SOLVED
Go to solution
Dnyanesh_2
Occasional Contributor

Making DMX Lun's Visible in HP-UX

Hi,

We have to install one DMX3000 EMC storage Box in SAN configuration. The hosts that will be connected to this storage are a mixture of SUN solaris (containing Qlogic QLA 2310FC HBA) and HP's HP-UX v 11.11 (containing HP's A6795A HBA). Basically being a solaris sysadmin I know about configuring the QLA2310FC in solaris to make the DMX luns visible to the host. I have no experience of HP-UX and is in the process of acquiring the knowledge . Can anyone guide me how to make the DMX luns visible to the HP-UX servers.What configuration has to be carried out in the servers.? Is there any fibre configuration file which needs to be modified as in solaris ? etc etc.
This is very very urgent for me.... Thanks in advance.

Dnyanesh
9 REPLIES 9
Florian Heigl (new acc)
Honored Contributor
Solution

Re: Making DMX Lun's Visible in HP-UX

1. No reconfig needed usually

2. Find Your fc adapters:
ioscan -fnkCfc

(the 'k' being optional for kernel search without rescan of hardware paths)

3. Check for fabric login / link speed

/opt/fcms/bin/tdutil /dev/tdN (number)

4. Check if You see the DMX, compare the HostAdapter port WWNs (this of course needs correct zoning, otherwise You will see a 'ct_query failed' message in dmesg, not syslog)

/opt/fcms/bin/tdutil /dev/tdN get remote all

5. Finally, scan for disks
(if they don't show up, there may be a problem)
ioscan -fnCdisk | more

5. Create device files
(no, we don't have a devfs)
insf -e

6. check the lun size
diskinfo /dev/rdsk/cXtYdZ

7. initialize the LUN with a VG header (I guess You want that)
pvcreate /dev/rdsk/cXtYdZ

8. when creating logical volumes, take care to use the option '-r N' to the lvcreate command, or if You want to use SAM then apply lvchange -r N /dev/vgNN/lvolNN afterwards. This disables bad block relocation and recording, which is healthy for avoiding strange incosistencies (I spelled that wrong, huh?)

Notes:
/usr/local/bin/inq is the sym query
symmetrix discover is something I don't think You have to do, if I'm wrong, seek documetation for 'symdisc'
cXtYd0 is reserved for timefinder control devices, You can check this by the LUN size presented (7MB on Symmetrix or 40somethingMB on DMX)
HP-UX usually won't access scsi IDs higher than 7, this is better to be tested out and never forgotten otherwards.
yesterday I stood at the edge. Today I'm one step ahead.
Florian Heigl (new acc)
Honored Contributor

Re: Making DMX Lun's Visible in HP-UX

I found this on a host --- /dev/dsk/c3t15d0
so I'm no longer sure on my statement on SCSI ID limitations.
yesterday I stood at the edge. Today I'm one step ahead.
Florian Heigl (new acc)
Honored Contributor

Re: Making DMX Lun's Visible in HP-UX

Let me know if everything works out :)

Rgds,
Florian
yesterday I stood at the edge. Today I'm one step ahead.
Geoff Wild
Honored Contributor

Re: Making DMX Lun's Visible in HP-UX

If you install the EMC tools on the host, they should be in:

/usr/symcli/bin/

Use /usr/symcli/bin/syminq to see available disks.

You may need to do a "symcfg discover" first...

Then ioscan -fnC disk
insf -eC disk

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Geoff Wild
Honored Contributor

Re: Making DMX Lun's Visible in HP-UX

BTW - if using LVM:

http://docs.hp.com/en/5990-8172/ch06.html

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
baiju_3
Esteemed Contributor

Re: Making DMX Lun's Visible in HP-UX

This is how we do .

powermt check;powermt config;symcfg -disc;insf -eC disk


Thanks,
BL
Good things Just Got better (Plz,not stolen from advertisement -:) )
generic_1
Respected Contributor

Re: Making DMX Lun's Visible in HP-UX

/usr/symcli/bin/symmask -sid 1300 -wwn 2000060695014F3 -dir 06A -p 0 -noprompt add devs 011a

This command presents a lun via command line if you are not using ECC control center.

Run masking command above for your disks after you have zoned your storage to your new servers on the san.

Then you
mkdir /dev/vgyournewone
mknod
do "ioscan"
insf -e
pvcreate your new
vgcreate your volume group
vgextend in your other luns
lvcreate
newfs -F vxfs /dev/vgyournewone/rlovlyournewone
add to fstab
mount it.
generic_1
Respected Contributor

Re: Making DMX Lun's Visible in HP-UX

I forgot to mention make sure you disks on the frame are configured for HPUX and not windows :) or some other OS. Also use symcfg discover mentioend too. You will be able to see that in controll center.

Also if you pay very close attention to the layout of your DMX from the beginning you really dont need powerpath for HPUX, because you can manually balance the bandwidth across all of your disks and controllers on the frame rather than have the expense and overhead of powerpath trying to make up for this. Smaller luns help, and puting data on outside of disks helps, and say BCVs in middle usually is useful.
When you create your logical volumes do a lvcreate -L sizeMB -I numberofdisks -i 1024
so your data is striped. You should see better performance on your disks :).
One other tip make sure you dont forget to set the number maximum disks in a VG because default is like 16 heheh, and you cant change it later. do a man on vgcreate for the options.
This is a very nice product, I am sure you will like it.
Dnyanesh_2
Occasional Contributor

Re: Making DMX Lun's Visible in HP-UX

Hi,

Thanks to Florian Heigl , Geoff wild , lalb and Jeff Urbanec for replying so urgently to my query. I will follow ur guidelines and will let u know abt the status.

Thnks once again