How to find qlogic NIC card presence??
We had a problem with the NIC 10Gig Qlogic NICs and had to swap them with Emulex 10Gig NIC cards. The swap has been done. There are several severs (about 100)for which we need to check if the hands-on still left the q logic card in them. So, I wrote a script using dmesg and grepped for "qlogic" or " NC522SFp" and my script checked for all the servers and returned no presence of "qlogic". But few of them have q logic still in them. So, is there any other way through which we can exactly tell whether q logic card is still present or not? I used:
dmesg | grep -i "qlogic" or
dmesg | grep -i " NC522SFp"
and found nothing in the o/p. But when I checked using ifconfig -a, then I see the q logic mac ids for eth4 & eth5, which means the Q logic is still present.But not sure whether ifconfig is the real way to find out the presence of these cards.
Any help would be great!! Thank you