User's Guide
The OneCommand Manager User Manual Page 245
SetLunMask
Supported by: Windows and Solaris
Syntax:
hbacmd SetLunMask <HBA WWPN> <Target WWPN> <Option> <Lun> <LunCount> <MaskOp>
Description: This command masks the specified LUNs.
Parameters:
HBA WWPN - Adapter’s WWPN
Target WWPN - Target’s WWPN
Option -
0 = Send information to the driver
1 = Send information to configuration (make persistent)
2 = Send information to both
Lun - Starting LUN number
LunCount - Number of LUNs
MaskOp -
A = Mask LUN
B = Clear unmask target level
C = Clear unmask HBA level
D = Unmask LUN
E = Unmask target level
F = Unmask HBA level
Miscellaneous Commands
<…> = Required, […] = Optional
AddHost
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd AddHost host_address
Description: This command adds a host to the hosts file for TCP/IP management in the OneCommand
Manager GUI. The adapters for these hosts are also presented by the listhbas command. The
host_address can be an IP address, using the IPv4 or IPv6 format, or a host name.
Parameters:
host_address - Host to add
Note: For managing ESX/ESXi hosts from a Windows client, add the m=cim option to
the command. The default CIM credentials must be set using the SetCimCred
command. See “SetCimCred” on page 250.