HP-UX GUID Manager v1.0 Administrator Guide

4.4.1 Setting WWN ranges
The following command sets the GUID range (50014c20000114bb~50014c20000114cc) in
the server database The range type is HP-DEFINED-PWWN and the owner is HPVM:
# guidmgmt -S -t HP-DEFINED-PWWN -o HPVM wwn 50014c20000114bb 50014c20000114cc
NOTE: If the pWWN range is set successfully, the related nWWN range is set by the GUID
server in the background. See “Listing WWN ranges (page 15) for an example of listing all the
ranges that have been set.
4.4.2 Listing WWN ranges
The following command lists of all the ranges set in the database:
# guidmgmt -L wwn
Range type Start End Name Status Owner
========== ================ ================ ========== ========== ==========
HP-DEFINED-PWWN 50014c20000114bb 50014c20000114cc GLOBAL HPVM
HP-DEFINED-NWWN 50014c28000114bb 50014c28000114cc GLOBAL HPVM
The following command lists each WWN's status in the range
50014c20000114bb~50014c20000114bc. The status can be either INUSE or FREE:
# guidmgmt -q wwn 50014c20000114bb 50014c20000114bc
Address Type Owner Status Data
================ ========== ========== ========== ==========
50014c20000114bb wwn FREE
50014c20000114bc wwn FREE
4.4.3 Requesting numbers of pWWNs
The following command requests 2 numbers of pWWNs from the ranges owned by HPVM:
# guidmgmt -r -t HP-DEFINED-PWWN -o HPVM wwn 2
Num Address
=== ================
0 50014c20000114bb
1 50014c20000114bc
The following command allows you to check if the status of the target WWNs has changed to
INUSE:
# guidmgmt -q wwn 50014c20000114bb 50014c20000114be
Address Type Owner Status Data
================ ========== ========== ========== ==========
50014c20000114bb wwn HPVM INUSE
50014c20000114bc wwn HPVM INUSE
50014c20000114bd wwn FREE
50014c20000114be wwn FREE
4.4.4 Setting the target status to FREE
The following command sets the target status of the WWN to FREE:
# guidmgmt -x -o HPVM -f FREE wwn 50014c20000114bb
To check if the status has changed, use the following command:
# guidmgmt -q wwn 50014c20000114bb 50014c20000114be
Address Type Owner Status Data
================ ========== ========== ========== ==========
50014c20000114bb wwn HPVM INUSE
50014c20000114bc wwn HPVM FREE
4.4 GUID Manager Examples 15