Emulex OneCommand Manager Command Line Interface User Manual (P006980-01A Version 5.2, August 2011)

OneCommand Manager Command Line Interface User Manual Page 79
Personality Change Commands
TheOneCommand Manager application enables you to change the personality or protocol running on
OneConnect adapters. When you change the personality of the adapter and reboot the host, the adapter
starts running the new personality or protocol. The personalities that OneConnect adapters currently run
are NIC-only, NIC + FCoE, and NIC + iSCSI. In some cases the adapters are pre-configured to support
multiple personalities. In other cases you must install a license key before the adapter can support
multiple personalities. See “Adapter License Management Commands” on page 20 for more information.
ChangePersonality
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd ChangePersonality <WWPN|MAC> <personality_type>
Description:
This command changes the personality on the adapter. Requires reboot after successful
change.
Parameters:
WWPN - CNAs WWPN
MAC - MAC address of iSCSI or NIC Port
Personality Type - NIC, iSCSI, or FCoE.
Example:
For non-ESXi hosts
>hbacmd ChangePersonality 00-12-34-56-78-9A fcoe
For ESXi hosts
>hbacmd h=<IP_Adress> m=cim u=root p=<password> n=<namespace> ChangePersonality
00-12-34-56-78-9A fcoe
Note: The three different personalities may not always be available on an adapter.
For example, a NIC+FCoE adapter can change to a NIC-only or a NIC + iSCSI
adapter, but an ISCSI adapter may not be able to change to a NIC + FCoE adapter.
Note: It is possible to install one (or more) driver kits for the current personality, then
change the personality and no longer have the driver(s) necessary to run the adapter.
If you change personalities you must install the appropriate drivers. Drivers are
available on the Emulex website.
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 73.