In past, we have seen configuration of Auto Port Aggregation in HPUX which explains what is APA and what is the purpose of using APA in your setup. In another post we learned how to test APA if working perfectly or not. In this post, I will be sharing a script which I coded to automate this APA test
Also, make a note that you need to run this script in normal terminal login and not on server console. Since if APA test fails you will lost server connectivity on primary NIC IP address. It is recommended to keep a continuous ping session on to IP address (configured on APA) to make sure that you monitor connectivity during whole APA test. I have also explained use of this continuous ping in manual APA test post.
Script code :
Execute this script on your own risk!
See below APA configuration testing script. Save below code in apa_test.sh file on your server. Execute script with root privileges using sh apa_test.sh or ./apa_test.sh command. Make sure executable permissions are set for the file.
Sample output :
0 comments:
Post a Comment