Operating System - HP-UX
1752572 Members
4559 Online
108788 Solutions
New Discussion

Re: hpvmmodify: ERROR (host): GUID service error: Could not connect to GUID server.

 
SOLVED
Go to solution
Stan_M
HPE Pro

Re: hpvmmodify: ERROR (host): GUID service error: Could not connect to GUID server.

Clearly the NPIV has not been added.

I work for HPE
Syedfurquan
Trusted Contributor

Re: hpvmmodify: ERROR (host): GUID service error: Could not connect to GUID server.

could you please provide me the steps what i need to do now...

 

 

NPIV we can do for HP VM's also? or it is only for Vpar

 

I have HP VM no vpar

Regards,
Syed
Syedfurquan
Trusted Contributor

Re: hpvmmodify: ERROR (host): GUID service error: Could not connect to GUID server.

 

I have configured NPIV for my HPVM hosts. Now in the HPVM status I can see hba avio_stor but when I am doing ioscan -fnNC fc it doesn't show me any fc card.

 

# ioscan -fnNC fc
# hostname
vm001

 

hpvmstatus o/p in attachment.

 

Regards,

 

 

Regards,
Syed
Dave Olker
HPE Pro

Re: hpvmmodify: ERROR (host): GUID service error: Could not connect to GUID server.

Assuming the ioscan output was from within the VM guest itself, that is expected output.  NPIV allows storage to be "presented" directly to the VM guest but is not the same as SR-IOV or Direct I/O where the FC port itself is dedicated to the VM.  The port is still virtualized inside the VM guest and associated with the GVSD driver:

 

# ioscan -fnk

Class I H/W Path Driver S/W State H/W Type Description

============================================================================
ext_bus 6 0/0/0/0/0 gvsd CLAIMED INTERFACE HPVM NPIV Stor Adapter
/dev/gvsd6
ext_bus 0 0/0/0/1/0 gvsd CLAIMED INTERFACE HPVM NPIV Stor Adapter
/dev/gvsd0

 

Regards,


Dave

I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Stan_M
HPE Pro

Re: hpvmmodify: ERROR (host): GUID service error: Could not connect to GUID server.

That's because the class is not 'fc'. Look up HPVM admin guide under www.hp.com/go/hpux-hpvm-docs

 

 

I work for HPE
Syedfurquan
Trusted Contributor

Re: hpvmmodify: ERROR (host): GUID service error: Could not connect to GUID server.

Hello Dave,

 

Thanks for the reply. So I can proceed with the zoning and disk will be availaible on my HPVM?

 

 

# ioscan -fnk
Class       I  H/W Path     Driver       S/W State   H/W Type     Description
==============================================================================
root        0               root           CLAIMED     BUS_NEXUS
ioa         0  0            cec_gen        CLAIMED     BUS_NEXUS
ba          0  0/0          gh2p           CLAIMED     BUS_NEXUS    Local Bus Adapter
ext_bus     0  0/0/0/0      gvsd           CLAIMED     INTERFACE    HPVM AVIO Stor Adapter
                           /dev/gvsd0
target      0  0/0/0/0.0    tgt            CLAIMED     DEVICE
disk        0  0/0/0/0.0.0  sdisk          CLAIMED     DEVICE       HP      Virtual FileDisk
                           /dev/dsk/c0t0d0     /dev/dsk/c0t0d0s2   /dev/rdsk/c0t0d0    /dev/rdsk/c0t0d0s2
                           /dev/dsk/c0t0d0s1   /dev/dsk/c0t0d0s3   /dev/rdsk/c0t0d0s1  /dev/rdsk/c0t0d0s3
lan         0  0/0/1/0      igssn          CLAIMED     INTERFACE    HP IGSSN PCI AVIO LAN Adapter
lan         1  0/0/2/0      igssn          CLAIMED     INTERFACE    HP IGSSN PCI AVIO LAN Adapter
ba          1  0/0/3/0      legacyio       CLAIMED     BUS_NEXUS    Legacy IO Core I/O Adapter (IFB)
tty         0  0/0/3/0/1    asio0          CLAIMED     INTERFACE    Built-in RS-232C
                           /dev/diag/mux0  /dev/mux0       /dev/tty0p0
pseudo      1  0/0/4/0      hpvmdynmem     CLAIMED     INTERFACE    PCI class(0,0) (103c12d8)
pseudo      0  0/0/5/0      hpvmguestdvr   CLAIMED     INTERFACE    PCI class(0,0) (103c7108)
ba          2  0/1          gh2p           CLAIMED     BUS_NEXUS    Local Bus Adapter
ext_bus     2  0/1/5/0      gvsd           CLAIMED     INTERFACE    HPVM NPIV Stor Adapter
                           /dev/gvsd2
ba          3  0/2          gh2p           CLAIMED     BUS_NEXUS    Local Bus Adapter
ext_bus     3  0/2/0/0      gvsd           CLAIMED     INTERFACE    HPVM NPIV Stor Adapter
                           /dev/gvsd3
ba          4  0/3          gh2p           CLAIMED     BUS_NEXUS    Local Bus Adapter
ba          5  0/4          gh2p           CLAIMED     BUS_NEXUS    Local Bus Adapter
ba          6  0/5          gh2p           CLAIMED     BUS_NEXUS    Local Bus Adapter
ba          7  0/6          gh2p           CLAIMED     BUS_NEXUS    Local Bus Adapter
ba          8  0/7          gh2p           CLAIMED     BUS_NEXUS    Local Bus Adapter
processor   0  120          processor      CLAIMED     PROCESSOR    Processor
ba          9  250          pdh            CLAIMED     BUS_NEXUS    Core I/O Adapter
ipmi        0  250/0        ipmi           CLAIMED     INTERFACE    IPMI Controller
                           /dev/ipmi
acpi_node   0  250/1        acpi_node      CLAIMED     INTERFACE    Acpi Hardware
usbmsvbus   1  255/1        mass_storage   CLAIMED     VIRTBUS      USB Mass Storage
ext_bus     1  255/1/0      usb_ms_scsi    CLAIMED     INTERFACE    USB Mass Storage SCSI
#

Regards,
Syed
Dave Olker
HPE Pro

Re: hpvmmodify: ERROR (host): GUID service error: Could not connect to GUID server.

The VM guest can see and instantiate the NPIV adapters, so that looks good.  I'm a little confused by the hpvmstatus output you posted previously:

 

hba avio_stor 1 5 npiv /dev/fcd0-0x50060B00006499A8,0x50060B00006499A9
hba avio_stor 2 0 npiv /dev/fcd0-0x100000110A030000,0x100000110A030001

 

Neither of those NPIV virtual HBAs are using the GUID manager's defined range.  Are you no longer using the GUID manager to manage WWNs?  Did you hard-code those specific WWNs on the command-line when you added the NPIV instances to this VM?  

 

Compare this against my VSP:

# guidmgmt -L wwn
Range type Start(Hex) End(Hex) Size(Dec)
=============== ================== ================== ==========
HP-DEFINED-PWWN 0x50014c2000000000 0x50014c2000007fff 32768
HP-DEFINED-NWWN 0x50014c2800000000 0x50014c2800007fff 32768

You can see that the *port* WWN range begins at 0x50014c2000000000 and the *node* WWN range begins at 0x50014c2800000000.  Each time a virtual HBA is assigned WWNs by the GUIDmgr it assigns one WWN from each range, so my virtual servers end up with virtual HBAs looking like this:

 

hba avio_stor 0 0 npiv /dev/fcd0-0x50014C2000000002,0x50014C2800000002
hba avio_stor 0 1 npiv /dev/fcd1-0x50014C2000000003,0x50014C2800000003

 

The first number is the port WWN, and you can see it falls into the configured range on the GUIDmgr.  Same goes for the node WWN value falling into the node range.  

 

Your VM guest is not only using values that are not in the HP defined range, your VM is using *consecutive* values for the port and node WWN.  Are you absolutely certain this is how you want to manage your WWNs?

 

Dave

I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Syedfurquan
Trusted Contributor

Re: hpvmmodify: ERROR (host): GUID service error: Could not connect to GUID server.

Hi Dave,

 

I have used hard code wwn range for my HPVM than the actual range created on guidmgr. Do now I need to delete these hba avio_stor and recreate  new which should be  in  teh defined range.

# hostname
vm001

# guidmgmt -L wwn
   Range type       Start(Hex)          End(Hex)       Size(Dec)
=============== ================== ================== ==========
HP-DEFINED-PWWN 0x50014c2000000000 0x50014c2000007fff 32768
HP-DEFINED-NWWN 0x50014c2800000000 0x50014c2800007fff 32768

 

I have used below commands to modify it:

 


#hpvmmodify -P vm001 -a hba:avio_stor:1,5,0x50060b00006499a8,0x50060b00006499a9:npiv:/dev/fcd0

 

Regards,

Regards,
Syed
Dave Olker
HPE Pro

Re: hpvmmodify: ERROR (host): GUID service error: Could not connect to GUID server.

The whole point of using the GUIDmgr is to have it manage the WWNs so you don't accidentally assign the same WWNs to multiple virtual servers.  If you're going to hard code values then don't bother with the GUIDmgr, but you'd better be absolutely certain you know what you're doing because using the wrong values can lead to multiple servers (physical or virtual) accessing the same storage and even data corruption.

 

My recommendation would be to shutdown the VM, delete the existing NPIV vHBAs and create new ones using syntax similar to the following:

 

# hpvmmodify -P vm001 -a hba:avio_stor::npiv:/dev/fcd0

 

That syntax tells the VSP to assign the bus/device/function values and tells the GUIDmgr to assign the WWNs.   If you want multiple vWWNs then repeat the command to create a second instance.  If you have multiple physical FC ports and you want the VM to use multiple paths then you can create the second vHBA and specify a different physical FC port such as /dev/fcd1.

 

Dave

I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Syedfurquan
Trusted Contributor

Re: hpvmmodify: ERROR (host): GUID service error: Could not connect to GUID server.

Hello Dave, Stan,

 

Thanks alot for all yoru support.

 

As per Dave reference I have deleted all avio_stor and created default HP range for wwn.

 

vPar/VM                                Physical
Device  Adapter    Bus Dev Ftn Tgt Lun Storage   Device
======= ========== === === === === === ========= =========================
disk    avio_stor    0   0   0   0   0 file      /ignite/vmos/vm001
hba     avio_stor    0   4             npiv      /dev/fcd0-0x50014C2000000000,0x50014C2800000000

 

Now did the zoning on the SAN and hence added the host on 3Par.

Created a new disk for 3par and is visible on vm001 hosts.

# ioscan -fnNC disk
Class     I  H/W Path  Driver S/W State   H/W Type     Description
===================================================================
disk      2  64000/0xfa00/0x0  esdisk   CLAIMED     DEVICE       HP      Virtual FileDisk
                      /dev/disk/disk2      /dev/rdisk/disk2
                      /dev/disk/disk2_p1   /dev/rdisk/disk2_p1
                      /dev/disk/disk2_p2   /dev/rdisk/disk2_p2
                      /dev/disk/disk2_p3   /dev/rdisk/disk2_p3
disk      7  64000/0xfa00/0x7  esdisk   CLAIMED     DEVICE       3PARdataVV
                      /dev/disk/disk7   /dev/rdisk/disk7

# hostname
vm001

Thanks for all your support.

 

Regards,

Regards,
Syed