Operating System - HP-UX
1854684 Members
36063 Online
104102 Solutions
New Discussion

assign eva storage lun to a hp-ux vpar

 
kashyapi
Frequent Advisor

assign eva storage lun to a hp-ux vpar

I have assigned lun to hp-ux box and created VG and filesystems.But i have to assign a LUN to VPAR hp-ux box .Can you pls help me out how to do that?
10 REPLIES 10
Jupinder Bedi
Respected Contributor

Re: assign eva storage lun to a hp-ux vpar

there is no any difference in assgining a LUN to a normal server or a Vpar. you need the connect the fibre cables only to that I/0 chasis which is connected to the cell of a particular Npar. Thats all


Good Luck
All things excellent are as difficult as they are rare
AVV
Super Advisor

Re: assign eva storage lun to a hp-ux vpar

Hi,


Yes. The process is same as a normal server.
Basheer_2
Trusted Contributor

Re: assign eva storage lun to a hp-ux vpar

Hello Bini.

on each of the servers (your hard parition and on your vPAR)
do
# ioscan -fnkCfc
Class I H/W Path Driver S/W State H/W Type Description
================================================================
fc 0 0/3/1/0 fcd CLAIMED INTERFACE HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
/dev/fcd0
fc 1 0/7/1/0 fcd CLAIMED INTERFACE HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
/dev/fcd1


fcmsutil /dev/fcd0
fcmsutil /dev/fcd1
(for older HBAs /dev/td0 and /dev/td1)

on the SAN side.
make sure you have added these WWN's to that host
set the host to use HP-UX OS.
create vdisks to each of the hosts.

on the host

ioscan
insf -e -C disk
ls -lsrt /dev/rdsk ( see the new devices with the date-time)
kashyapi
Frequent Advisor

Re: assign eva storage lun to a hp-ux vpar

Hi Basheer,

We have three vpar machine, named VparA,VparB and VparC on the system BoxA.

Now i have assigned virtual disk 100GB on BoxA and i can see the new device in /dev/disk.

I cannot see the disk on the VparB.

Please help ...
AVV
Super Advisor

Re: assign eva storage lun to a hp-ux vpar

Hi,

If you presented the LUNs properly from storage, the following steps would be enough to see the same. Else ,remove and re-present the LUNs for that vpar once again.

#ioscan -fC disk
#ioscan -fnC disk

Vishu
Trusted Contributor

Re: assign eva storage lun to a hp-ux vpar

Hi,

Vpar can only see the disk attached to the LBA, who are assigned to that Vpar. So, make sure you have assigned that LBA to the Vpar, where you want to present the LUN.
kashyapi
Frequent Advisor

Re: assign eva storage lun to a hp-ux vpar

I cannot assign the Vdisk to VparB machine as Vapr hosts are not there in the list of hosts.I ssigned the Vdisk to Npar (BoxA) on which Vpars are there.No how do i add to this disk to VparB
johnsonpk
Honored Contributor

Re: assign eva storage lun to a hp-ux vpar

>>>We have three vpar machine, named VparA,VparB and VparC on the system BoxA.

>>Now i have assigned virtual disk 100GB on BoxA and i can see the new device in /dev/disk.

Once you have vpars and booted ito vpar mode ,there should not be any npar(BOX A)

How you login to BOX A ?? it should be one of the vpars

>>>I cannot see the disk on the VparB.
1)Login to vparB
ioscan -funC fc

2)fcmsutil and note down "N_Port Port World Wide Name " for each HBA

3)Login to comand view eva
unpresent the l00gb lun
and present it to the wwn which you get from step 2

4)check for new disk on vparB


johnsonpk
Honored Contributor

Re: assign eva storage lun to a hp-ux vpar

>>I cannot assign the Vdisk to VparB machine as Vapr hosts are not there in the list of hosts.I ssigned the Vdisk to Npar (BoxA) on which Vpars are there.No how do i add to this disk to VparB

It might be a zoning issue.. create/update the zone in your san switch with hba wwn of vparb and eva ..


or can you post ioscan -fun from vparb??


kashyapi
Frequent Advisor

Re: assign eva storage lun to a hp-ux vpar

Thanks everybody to put effort to resolve my issue.I came to know that the boxes are VM and i assigned the LUN to specific VM using "hpvmmodify -P BoxB -a disk:scsi:" command and then created filesystem.