Operating System - HP-UX
1752635 Members
5615 Online
108788 Solutions
New Discussion

How to attaching disks to a integrity vm

 
SOLVED
Go to solution
Eric SAUBIGNAC
Honored Contributor
Solution

Re: How to attaching disks to a integrity vm

Bonjour,

 

Not sure that everybody will agree with that : you can also manage manually NPIV WWN.

 

Extract from HP-UX vPars 6.0 N-Port ID Virtualization (NPIV), bottom of page 9 :

 

Allocating IDs manually or with third-party products


When manually configuring vHBAs, vWWNs may safely be picked from the range 0x100000110a0300 - 0x100000110a030fff. This is a total of 4096 WWN which are not in the range that is handled automatically by GUIDMgr (see above). A user may use GUIDMgr for some NPIV HBAs and still manually select from the above range for other vHBAs. If this is being done, please note that you can save your manual settings in the GUIDMgr for tracking purposes, but the GUIDMgr never assigns a WWN outside of the range that HP has reserved.

 

Note there is a typo : range should begin @ 0x100000110a030000. Two zeroes are missing.

 

Don't know how many virtual HBA you will have to manage, but it could be easier to maintain an Excel spreadsheet. That's what I do : I don't want to have to maintain an additional software layer if I can avoid it.

 

 

HTH

 

Eric

 

iazuarah
Advisor

Re: How to attaching disks to a integrity vm

Opps, sorry by the delay. In fact i',m triying to install my NPIV scenario by first time. Here we go:

 

a) In the NPAR and VM servers i'm following the next procedure from the manual:

 

2.2.1 Installing on the server

To install the HP-UX GUID Manager software on the database server, enter the following command

on the server:

#

swinstall -s ${DEPOT_PATH}/GUIDMGR_A.01.00.603_HP-UX_B.11.31_IA.depot GUIDMGR

#

swlist GUIDMGR

GUIDMGR A.01.00.603 HP-UX GUID Manager

This command initializes the GUIDMgr server-side environment, including creating a GUID private

user account, initializing the database, and starting the database service. If no error occurs during

initialization, GUIDMgr related daemons are started. If any error occurs, you must fix the error

before performing the next step or distributing current host name to any GUIDMgr client.

To initialize the server, enter the following command:

#

/opt/guid/utils/guid_server_prepare.sh

This command configures the GUIDMgr on the target system. After the GUID Manager is configured

on the server, the database is empty. The

guid_server_prepare command creates some guid

tables without any guid data. The guid_server_prepare.sh script executes the following commands

automatically:

2.1 Installation requirements 9

/opt/guid/bin/guidconfig b wwn is executed to set up the library linkage for the

commands.

/opt/guid/sbin/guidd is started as the main daemon for a GUID server.

/opt/guid/sbin/guidkeyd is started, so you can SSH tunnel to GUID server from GUID

client.

/opt/guid/sbin/guiddbutil c wwn is used to create the initial database, if not

already created.

The

/opt/guid/tools/postgresql directory contains binaries to set up the a postgresql

database for private use by a GUID server. Various PostgreSQL commands are executed to set up

the database for the first time, if not already created, and start the

postgresql daemons needed

to access the database.

2.2.2 Installing on the client

To install the GUID client, enter the following command on all the VSP hosts:

#

swinstall -s ${DEPOT_PATH}/GUIDMGR_A.01.00.603_HP-UX_B.11.31_IA.depot GUIDMGR

NOTE:

After installing and verifying the client installation, you must set up authentication on

GUID client. Otherwise, any GUID request to remote server will fail. See

“Verifying the installation

of GUIDMgr” (page 10) for information about setting up authentication.

 

3.1 Setting up the server and the client

This section provides the steps for setting up the server and the client. After installing, initializing,

and configuring the GUID manager on the server (see “Installing on the server” (page 9)), follow

these steps to set up the server:

1.

Set the GUIDMgr server hostname:

#

/opt/guid/bin/guidconfig -h guid_server_hostname

 

After installing GUID Manager on the client “Installing on the client” (page 10), perform the

following steps to set up the client:

1.

Configure client access to the database:

#

/opt/guid/bin/guid_client_prepare -a

2.

Set the GUIDMgr server hostname:

#

/opt/guid/bin/guidconfig -h guid_server_hostname

3.

Create a range of WWNs to manage:

#

/opt/guid/bin/guidmgmt -S wwn 50014c2000000000 50014c2000007fff

4.

Verify database access by querying the pools of WWNs:

#

/opt/guid/bin/guidmgmt -L wwn

Range type Start(Hex) End(Hex) Size(dec)

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

HP-DEFINED-PWWN 0x50014c2000000000 0x50014c2000007fff 32768

HP-DEFINED-NWWN 0x50014c2800000000 0x50014c2800007fff 32768

5.

Verify ranges with these commands:

#

/opt/guid/sbin/guiddbutil -s range_wwn wwn

#

/opt/guid/sbin/guiddbutil -s addr_wwn wwn

3.2 Verify

 

But this procedure isn't working for me because i obtain the same result on the vm :

 

# /opt/guid/bin/guid_client_prepare -a   

 

NOTE:

We found Host is configured in /opt/guid/etc/guid.conf. This

may because current machine has been once installed and

configured as a GUID client.  Or user has defined hostname in

guid.conf by CLI tool "guidconfig -h".

In this case, we only try setting up authentications between

current client and remote GUID servers, which are configured

in HOST.

 

Install pubkey on GUID server(sd16dom2) succeeded.

Connect to host sd16dom2 failed.

ListRange of wwn from GUID server(sd16dom2) failed.

GUIDMGR client preparation accomplished.

 

Some idea ??

 

Regards !!

iazuarah
Advisor

Re: How to attaching disks to a integrity vm

Sounds interesting, could you give me an example using this alternate procedure , please. I don't want to manage an additional software for this porpouse.

 

Regards

Eric SAUBIGNAC
Honored Contributor

Re: How to attaching disks to a integrity vm

Check the attached spreadsheet ... my own GUI ;-) Of course, I can't assume any bug. It's just a tool for myself I can share

 
Just add the name of the vm guest you want to modify, the virtual bus where you want to connect the virtual hba, the physical hba on the host and you will find all the commands to modify the vm guest and to add the corresponding host in a 3Par storage.

 

If you add the existing aliases of a storage in the san, you will get commands to create the corresponding zones in the fabrics

 

Fabric number is optional. Just a way to color the commands for the fabrics.

 

HTH

 

Eric

Eric SAUBIGNAC
Honored Contributor

Re: How to attaching disks to a integrity vm

Dont know what is happening : unable to attach the document :-((((

Dennis Handly
Acclaimed Contributor

Re: How to attach disks to a integrity VM

>unable to attach the document

 

Attachments have to have known suffixes like .txt, .pdf, .zip, etc.

You can edit your post by Post Options > Edit Reply

Eric SAUBIGNAC
Honored Contributor

Re: How to attaching disks to a integrity VM

Many thanks Dennis. I am going to do some tests

 

.../...

 

a little bit later

 

It doesn't work :-( Tried with a true .txt file, a true .pdf, a zip archive ...

 

Capture.PNG

 

After browsing the file, I have tried do click immediatly on the "Post" button. I have also tried to click on the "Add Attachment" button before. No way

 

 

 

Dennis Handly
Acclaimed Contributor

Re: How to attach disks to a integrity VM

>It doesn't work

 

What browser are you using?  Works fine with firefox 22.0.

No problems with IE10 and Windows 8.

Eric SAUBIGNAC
Honored Contributor

Re: How to attaching disks to a integrity VM

IE 9, 32 bits, from a Windows 7 64 bits OS

 

Same thing with IE 64 bits

 

I will try a reboot

Eric SAUBIGNAC
Honored Contributor

Re: How to attaching disks to a integrity VM

Reboot done. And it doesn't work anymore ...

 

Updated Java. All caches emptied. Still not working

 

Can you tell me what URL do you see on buttons "Remove" and "Add Attachment". I see the same URL on both buttons :  http:// h30499.www3.hp.com/t5/forums/editpage/board-id/itrc-855/message-id/5810/is-draft/false#  ????