Host represents the Fibre Channel(FC), iSCSI or NVMEoF initiators in the SAN. They are simply referred to as SAN clients. The FC hosts are identified by unique WWN Port Name. The NVMEoF hosts are identified by qualified names with nqn. The iSCSI hosts are identified by iSCSI qualified names or eui. address and IP address. If IP address was not specified a NULL address is assumed.
Usage
create host [label=]<hostname> wwn|wwpn=<wwn-port-addr> create host [label=]<hostname> [iscsiname=<iqn-or-eui>] [ipaddress=<ipv4-addr>] create host [label=]<hostname> [nqn|nvmename=<nqn>] [ipaddress=<ipv4-addr>] set host <hostname> wwn=wwn-addr set host <hostname> [ipaddr=<ipv4-addr>] [iscsiname=<iqn-or-eui>] [nvmename=<nqn>] delete host <hostname>
Examples
mayacli create host xchgserv wwn=0a0b0c102030 mayacli create host xchgserv-ip ipaddress=129.121.0.1
Output
mayacli show host Type Host Address Host Name -------- ---------------- -------------------------------- iscsi 0.0.0.0 client1 iqn.1994-05.com.redhat:2589b22cdb1b iscsi 10.1.1.100 msclient102 iqn.1991-05.com.microsoft:587458befe