Unsolved
This post is more than 5 years old
222 Posts
0
3115
How to register HBAs with the VNX
Ive been trying to figure out how to register HBA's with the VNX array, but not having much luck.
Pretty much all the naviseccli commands are returning this type of error message:
> naviseccli -h vnx1-spa server -register -host 10.42.42.123 -list
Error returned from Agent
Client non-data stream error. 10.42.42.123 Err: EMULSocket::connect()
This is for a ESXi 5.5 server, however also getting this from Linux servers as well.
# service hostagent restart
Shutting down hostagent: [ OK ]
Starting Navisphere agent: [ OK ]
# service hostagent status
hostagent (pid 9894) is running...
usao
222 Posts
0
July 16th, 2015 13:00
When I try to "Register" using the GUI, I get the following collapsed window, which doesn't expand.
usao
222 Posts
0
July 16th, 2015 13:00
These hosts are already connected to a CX4 array, so I didn't think any change would be required.
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT udp -- anywhere anywhere state NEW udp dpt:nfs
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:nfs
ACCEPT udp -- anywhere anywhere state NEW udp dpt:sunrpc
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:sunrpc
ACCEPT udp -- anywhere anywhere state NEW udp dpt:892
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:892
ACCEPT udp -- anywhere anywhere state NEW udp dpt:pftp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:pftp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:32803
ACCEPT udp -- anywhere anywhere state NEW udp dpt:filenet-rpc
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
kparrotte
40 Posts
0
July 16th, 2015 13:00
Hi...
Your experience may be due to a firewall.
Suggest you determine if there is a firewall preventing the SPs (a/b) from communicating with the navi agent.
Best Wishes.
dynamox
20.4K Posts
0
July 16th, 2015 13:00
What do you see in Unisphere under Hosts > Initiators ?
usao
222 Posts
0
July 16th, 2015 13:00
usao
222 Posts
0
July 16th, 2015 13:00
The arrays and the hosts (both ESXi and Linux) are connected to the same switch and are on the same network. There is no firewall between them other than (possibly) something in Linux iptables.
All the hosts have been zoned for about 6 hours, but none of them are registered that I can tell.
When I run "port -list", everything is showing up like the following:
Information about each HBA:
HBA UID: 50:01:43:80:02:34:3E:43:50:01:43:80:02:34:3E:42
Server Name: 50:01:43:80:02:34:3E:43:50:01:43:80:02:34:3E:42
Server IP Address: UNKNOWN
HBA Model Description:
HBA Vendor Description:
HBA Device Driver Name:
dynamox
20.4K Posts
0
July 16th, 2015 13:00
you don't have this enabled in ESX ?
VMware KB: Disabling auto-registration to EMC CX-4 storage arrays
usao
222 Posts
0
July 16th, 2015 13:00
Im primarily using the naviseccli commands so that I can document step-by-step what was done and how.
Also, when we used the CX array, they had a diffferent window which was used to register the WWN's, and that didn't require any storage group definitions.
Is there a way to just associate the HBA's with a host/IP without having to define the storage group yet?
Im asking because I haven't gotten that far in the config yet, defining luns and storage groups was to be after I had the environment setup first.
kparrotte
40 Posts
0
July 16th, 2015 13:00
IF you wish to eliminate the firewall as a possible, this may help you do that....
Use the following command to check host-based firewall in Linux: iptables -L
If no firewall is on the host the iptables command displays output like the following:
gslin101:~ # iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
gslin101:~ #
If a firewall is there, the iptables command output will show rules in INPUT/FORWARD/OUTPUT chains.
Definitely not trying to steer you wrong here. Just trying to help.
dynamox
20.4K Posts
0
July 16th, 2015 13:00
https://support.emc.com/docu47580_VNX_Command_Line_Interface_Reference_for_Block_5.33.pdf?language=en_US
dynamox
20.4K Posts
0
July 16th, 2015 13:00
ESX servers will auto-register as soon as you complete the zoning.
To manually register initiators
naviseccli -address SPA_IP storagegroup -setpath -gname ESXFARM -hbauid WWNN:WWPN -sp a -spport 6 -arraycommpath 1 -failovermode 4 -host esx01 -ip 10.220.10.25 -o
In this example i am registering WWN that is zoned to port SPA-6
note: ESXFARM storage group should already exist
note: WWNN:WWPN - that is node WWN followed by port WWN
dynamox
20.4K Posts
0
July 16th, 2015 14:00
look under software, not hardware
usao
222 Posts
0
July 16th, 2015 14:00
There are no options under advanced settings:
dynamox
20.4K Posts
0
July 16th, 2015 14:00
actually you want to make sure it's set to 1 , setting to 0 disables auto-registration.
usao
222 Posts
0
July 16th, 2015 14:00
Ok, I set all those to "0", and re-tried poling the hosts:
I had just restarted all the host agents prior to this.