- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAN setup
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2005 11:53 PM
тАО08-30-2005 11:53 PM
I have two HP-UX boxes at my disposal, both are connected to a SAN ( HP StorageWorks eva3K 2C2D-C CTO 8x72 GB/15k ALL upgraded with 2x 72GB 15k RPM 2Gb FC HDD).
Further, I can access the boxes as root and know the IP-address of the SAN Mgt Appliance.
I need to setup a number of volumegroups on the SAN.
What is the procedure or the series of commands to do so ?
I've set up volumegroups on an unix box before, but not on a SAN.
Regards and thanks for any input.
Franky
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 12:02 AM
тАО08-31-2005 12:02 AM
SolutionInstall SecurePath on hp-ux
Update (or let update) the zoning on the SAN switches so that the hp-ux boxes are able to see the LUN's
Create LUN's using Command View EVA and present them to the hp-ux boxes
ioscan and insf
check with spmgr (SecurePathManager) if you have devices file for the LUN's
use pvcreate and lvcreate to create a lvol on the device files presented by SecurePath
create lvols as needed.
That's (in very short) the tasks that have to be performed.
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 12:07 AM
тАО08-31-2005 12:07 AM
Re: SAN setup
There is no difference with setting up a volumegroup with SAN volumes or a volumegroup of local disks (from HP-UX point of view).
What is different is configuring the LUNs in the EVA.
I assume the FC-HBAs is installed and the switches is zoned so the HP-UX host can "see" the EVA disk array.
Basically you have to do as follow:
Log in to the Appliance server and start the administration tool (Command View) .
Create a Host group, Add the HP-UX host to the host group, select an OS for the host, assign the HBAs to the host.
Create a Disk group, create a Vdisk (LUN) in that group.
Present the Vdisk to the host, created in the previous step.
Now, the LUN should be visible to the HP-UX host and, could be configured just as a local disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 12:56 AM
тАО08-31-2005 12:56 AM
Re: SAN setup
pvcreate /dev/dsk/cXtYdZ
mkdir /dev/VGNAME
mknod /dev/VGNAME/group c 64 MinorNumber
vgcreate -p 150 -l 255 -e 3264 -s 32 VGNAME /dev/dsk/cXtYdZ
lvcreate
newfs
etc..
The trick is creating the LUNS, presenting them to the servers, discovering them, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 01:12 AM
тАО08-31-2005 01:12 AM
Re: SAN setup
As an addition the other replies;
you can do it both from your Mgt Appliance
and also from your Ux-box...Of course
MA is a GUI based and it is very easy to
creating LUN's &montitoring hosts etc...
but if you want to do it from your hp-ux
box then a software needs SSSU(Storage System
Scripting Uttility)
My traditional steps from MA;
if i want create new LUN for a UX-box then;
i-ioscan -fnCdisk>temp.file (on ux box)
ii-Decide your Disk grp &create the LUN and
present this to HOSt(your ux box)
iii-run again ioscan -fnCdisk
iv-note your new created disk address(ux box)
v-mknod for this new LUN
vi-vgcreate
vii-Fs created
viii-mount FS mount_point
if you want to use SSSU from your ux box
please take a little bit care
and here is the attachment about using SSSU
if you want furthermore information please
keep writing back.
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 02:01 AM
тАО08-31-2005 02:01 AM
Re: SAN setup
Thanks all for your replies so far.
On one of the boxes, in SAM 'Disks', I see :
Hardware : 255/255/0/0.1
Number of Paths : 1
Use : Unused
Volumegroup : --
Total Mbytes : 256000
Description : hp StorageWorks enterprise virtual array 3000
The ioscan -fn command shows me several entries like this one :
ext_bus 14 0/5/1/0.1.1.0.0 fcparray CLAIMED INTERFACE FCP Array Interface
I'll go through your suggestions and let you know later about the outcome (won't forget assigning points for your contribution).
Regards,
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 02:13 AM
тАО08-31-2005 02:13 AM
Re: SAN setup
Did you created a LUN and present to your host(ux) if so;
run
#ioscan -fnCdisk
and please send us the output of this command...
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 02:55 AM
тАО08-31-2005 02:55 AM
Re: SAN setup
In the meantime I learned from the HPCE that left the systems and the SAN behind, that apparently a server or a desktop must be setup up with two fiber boards and with software (Command View) to talk to the SAN.
That explains a lot.
I myself am remotely working on the unixes ( as a 3th party ) and have not seen the setup with my own eyes yet.
So, I guess, untill the setup is completed, I can not proceed with configuring the SAN volumegroups.
Thanks and regards,
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 03:19 AM
тАО08-31-2005 03:19 AM
Re: SAN setup
Can you get a terminal services session on the SAN managment appliance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 03:24 AM
тАО08-31-2005 03:24 AM
Re: SAN setup
The HP-UX host can't see the VDISK/LUN on the EVA because it isn't attached to the SAN, I've got it now.
Sorry about that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 07:57 PM
тАО08-31-2005 07:57 PM
Re: SAN setup
Here I am back again.
Thanks for the further updates.
First question :
This is the output of ioscan -fnC disk :
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/3/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GMAS3735N
C
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
/dev/dsk/c2t0d0s1 /dev/rdsk/c2t0d0s1
/dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s3
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373453
LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
/dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0s1
/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s3
disk 4 255/255/0/0.1 sdisk CLAIMED DEVICE HSV100 HP
/dev/dsk/c15t0d1 /dev/rdsk/c15t0d1
This is the output in SAM :
Hardware Number Volume Total
Path of Paths Use Group Mbytes Description
/---------------------------------------------------------------------------\
| 0/0/3/0.0.0.0 1 Unused -- 0 DVD-ROM Drive (sl ^
| 0/1/1/0.0.0 1 LVM vg00 70007 HP 73.4GMAS3735NC
| 0/1/1/0.1.0 1 LVM vg00 70007 HP 73.4GST373453L
| 255/255/0/0.1 1 Unused -- 256000 hp StorageWorks e
So, it looks like the server can see the EVA.
I guess, the next step is to use SAM and define volumegroups on it, wright ?
A second question :
I learned from the local IT responsable, that the Command View software is available, but that also a dedicated server is required with fiber channel connections to the EVA to run the software to manage the EVA.
This is very new to me, so I wonder why should I further need this extra host with Command View software ?
Regards,
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 08:24 PM
тАО08-31-2005 08:24 PM
Re: SAN setup
if you have created LUN's from MA and
presented to your host so when you do
ioscan -fnCdisk
you have to see someting like;
disk 13 255/255/0/1.1 sdisk CLAIMED DEVICE HSV110 (C)COMPAQ
/dev/dsk/c20t1d1 /dev/rdsk/c20t1d1
(example from my system above...)
According to your output there is only
disk 4 255/255/0/0.1 sdisk CLAIMED DEVICE HSV100 HP
so i see your eva3k use HSV100 extension.
Ok.
Could you please try to find out on your
host whether secure path software installed or not?
swlist|grep -i CPQ
and must return something like;
CPQswsp A.3.0E.00F.00F HP StorageWorks Secure Path Device Driver and utilities for HSx class of Disk Arrays
if you are not installed this software on your host so when you do ioscan -fnCdisk
you can see some duplicates hardware address
which refers same disks.
Please go on feedback...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 08:29 PM
тАО08-31-2005 08:29 PM
Re: SAN setup
I learned from the local IT responsable, that the Command View software is available, but that also a dedicated server is required with fiber channel connections to the EVA to run the software to manage the EVA.
This is very new to me, so I wonder why should I further need this extra host with Command View software ?
Yes that's true but when i bought my EVA5000
it came with MA machine...so it may depends
on your purchasing agreement between HP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 08:34 PM
тАО08-31-2005 08:34 PM
Re: SAN setup
Where are you???
Please come&join us and enlighten more...
:-))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 08:45 PM
тАО08-31-2005 08:45 PM
Re: SAN setup
Back here again.
# swlist | grep -i CPQ
CPQswsp A.3.0E.00F.00F HP StorageWorks Secure Path Devic
e Driver and utilities for HSx class of Disk Arrays
Further, I can tell you that I did not create the LUN's on the EVA. I suppose that the HPCE did it.
Please tell me if I can proceed without having a dedicated host, connected to the EVA, for running Command View .
Regards,
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 09:36 PM
тАО08-31-2005 09:36 PM
Re: SAN setup
Read the new statemant:
Flexible management for Microsoft Windows deployment: Now you can control EVA management from a single console, increasing productivity and responsiveness of the IT administrative staff. The Command View EVA software suite supports a variety of Windows deployment options including; running the software to manage EVA directly on a Windows server for host-based management deployment, on a HP OpenView Storage Management Appliance, and/or on a HP ProLiant Storage Server. You can now directly connect a Windows Server via fibre channel to an Enterprise Virtual Array for lower cost fibre channel solutions.
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 10:40 PM
тАО08-31-2005 10:40 PM
Re: SAN setup
could you please run the command below on your host(ux-box)?
#spmgr display
output please!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 10:47 PM
тАО08-31-2005 10:47 PM
Re: SAN setup
Server: x
Report Created: Thu, Sep 01 05:38:18 20
05
Command: spmgr display
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Storage: 5000-1FE1-5004-F960
Load Balance: Off Auto-restore: Off
Path Verify: On Verify Interval: 30
HBAs: td0 td1
Controller: P66C5E3AARK074, Operational
P66C5E3AARK06P, Operational
Devices: c15t0d1
TGT/LUN Device WWLUN_ID H/W_Path #_Paths
0/ 1 c15t0d1 6005-08B4-0010-46F0-0000-5000-005C-0000 8
255/255/0/0.1
Controller Path_Instance HBA Preferred? Path_Status
P66C5E3AARK074 no
c16t0d2 td0 no Active
c13t0d2 td1 no Available
c9t0d2 td0 no Available
c20t0d2 td1 no Available
Controller Path_Instance HBA Preferred? Path_Status
P66C5E3AARK06P no
c11t0d2 td0 no Standby
c18t0d2 td0 no Standby
c14t0d2 td1 no Standby
c21t0d2 td1 no Standby
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 10:57 PM
тАО08-31-2005 10:57 PM
Re: SAN setup
You also have securepath installed, which is why you can only see one disk (if you didn't you might see two or four copies of the same disk).
If you could get a terminal services session on your management appliance you could then see how the LUN on your EVA is configured. Which you might want to do at some point.
I think you are near the finish line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 11:20 PM
тАО08-31-2005 11:20 PM
Re: SAN setup
your WWLUN ID is: 6005-08B4-0010-46F0-0000-5000-005C-0000
this ID should also be found in command view EVA as presented to this host
Secure Path did assign the device file /dev/dsk/c15t0d1
to this LUN
go on with:
mknod /dev/
pvcreate /dev/rdsk/c15t0d1
vgcreate vgel /dev/dsk/c15t0d1
lvcreate ...
lvcreate ...
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 11:37 PM
тАО08-31-2005 11:37 PM
Re: SAN setup
As Rainer mentioned ,
you have a LUN created from MA so;
disk 4 255/255/0/0.1 sdisk CLAIMED DEVICE HSV100 HP
/dev/dsk/c15t0d1 /dev/rdsk/c15t0d1
also spmgr display refers this LUN;
.....
Devices: c15t0d1
Now,if you want to learn the size of this LUN
(1,2,5,10,50 GB?????)
on your host;run;
#diskinfo /dev/rdsk/c15t0d1
You can easily see the SIZE of this created LUN;
so from now on?Do you want to create VG for
this LUN?????
if so we may go on...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2005 12:32 AM
тАО09-01-2005 12:32 AM
Re: SAN setup
Cem, this is the diskinfo output :
# diskinfo /dev/rdsk/c15t0d1
SCSI describe of /dev/rdsk/c15t0d1:
vendor: HP
product id: HSV100
type: direct access
size: 262144000 Kbytes
bytes per sector: 512
#
In SAM I tried to create a volumegroup on this disk of 250 GB. It looks like it will work.
But .. I need several volumegroups that, depending on the situation, can be mounted/unmounted separately on host 1 or host 2.
I understand that, with this single disk, I can not create multiple volumegroups that can be switched from one host to the other.
Right ?
In other words I'll have to reconfigure the eva for multiple LUNS. And therefore, I need the dedicated host with the Command View software, directly connected to the EVA.
Correct ?
Regards,
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2005 12:41 AM
тАО09-01-2005 12:41 AM
Re: SAN setup
Also must be talked here...i think there is
something wrong on your controllers path;
P66C5E3AARK074 no
c16t0d2 td0 no Active
c13t0d2 td1 no Available
c9t0d2 td0 no Available
c20t0d2 td1 no Available
Controller Path_Instance HBA Preferred? Path_Status
P66C5E3AARK06P no
c11t0d2 td0 no Standby
c18t0d2 td0 no Standby
c14t0d2 td1 no Standby
c21t0d2 td1 no Standby
Normally if you have 2 controllers on your EVA and 2 HBA on your host(ux) and installed
secure path software;
We have to see something like for your created LUN(c15t0d1);;;;
P66C5E3AARK074
cXt0d0 td0 STANDBYE
cyt0d0 td1 STANDBYE
P66C5E3AARK06P
czt0d0 td0 ACTIVE
cWt0d0 td1 ACTIVE
so this means your physical LUN (c15t0d1)
should get 4 addresses over of your 2 EVA controllers because you also have 2 HBA
so you also have to talk this situation with
your HP support...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2005 12:50 AM
тАО09-01-2005 12:50 AM
Re: SAN setup
Thanks for your further remarks. As said, I am an Ingres System and Database Admin, so I'll try to understand what you are saying. What is an HBA ?
Also, I refer to my last question.
If I must reconfigure the eva for multiple LUNS, do I need the dedicated host with the Command View software, directly connected to the EVA? Or can it be done with commands or SAM on the unix box ?
Regards,
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2005 01:06 AM
тАО09-01-2005 01:06 AM
Re: SAN setup
You WILL neeed Command View now.
Once installed you will be able to present this LUN to a second system.
You can't do this with SAM because presenting a LUN to a host is a task that must be performed on the EVA.
Btw.
a HBA is a Host Bus Adapter
Regards
Rainer