02-20-2012 08:43 AM
I have a pair of IBM2498-B24 SAN switches (fabric A and fabric B) and have set them up for Active Directory authentification. The first of the two switches had no problems but the second switch would not authenticate either AD or local using GUI to the HTTP services. On the second switch, authentication to AD and local did work using SSH connections. After several hours of trying different things we finally rebooted the second switch and all our problems cleared up. My question is, "Is there a way to reset the HTTP services on a SAN switch without having to reboot?"
02-20-2012 10:13 AM
If you´re switch supports it, you could try a hareboot.
This should not interrupt FC traffic but reboots the FOS.
As root you have all linux commands at your disposal.
I guess, never tried it myself, you should be able to restart Apache/TomCat.
But if you mess up you´ll end up rebooting the entire switch.
02-20-2012 11:47 PM
Log into the switch as root and execute /fabos/libexec/webdconfigure and answer 'yes' to the HTTP Restart question.
killing daemon httpd will also make the same effect.
02-21-2012 08:57 AM
Thanks felipon that got it. Here is what I did:
1. Log into the switch as root (not admin) and execute /fabos/libexec/webdconfigure and answer 'yes' to the HTTP Restart question.
Example: (note: answer yes to http atributes and HTTP Restart, then take defaults for the rest of the prompts)
http attributes (yes, y, no, n): yes
webtools attributes (yes, y, no, n):
cal attributes (yes, y, no, n):
Now wait a minute or two and do the following command to see if the HTTP processes are restarted:
fabbd70:root> ps -ef | grep http
root 23369 1 0 10:08 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
nobody 23370 23369 0 10:08 ? 00:00:00 /usr/apache/bin/fcgi-pm -f /fabos/webtools/bin/httpd.conf.0
nobody 23938 23369 0 10:53 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
nobody 23949 23369 0 10:54 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
nobody 23960 23369 0 10:55 ? 00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0
root 24060 23978 0 10:55 pts/0 00:00:00 grep http