Hi All,
I have many server with FC HBAs that connect to SAN Switch,
I have a Linux server, do exist solution for find and show WWNs of other servers in fabric in my server?
There are several commands to determine the WWN of a Fibre Channel (FC) HBA and their status (online/offline). The post discusses few of the most commonly used methods.
Install ansible on a single host, make an inventory file of all of your linux hosts.
Use ansible to run an ad-hoc command on all hosts in parallel to list the WWNs using the article I linked you above as a reference on where to find said WWNs.
eg: ansible all -i linux.inventory -m shell -a " cat /sys/class/fc_host/host*/port_name"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.