Stengthen your resolve: checking DNS on the VIO server and AIX
AnthonyEnglish 270000RKFN Comments (2) Visits (15097)
ARE YOU POINTING TO THE RIGHT DNS
I know what you're thinking:
Regarding the abovementioned point 1, I have been (self-)diagnosed with a mild case of RAS syndrome. I'm receiving treatment for it with the help of the internet.
Domain name servers, and domain names, seem to have a very short shelf life. Chances are the first LPARs you built are pointing to DNS (I won't say DNS Servers) which have long since shuffled off this mortal coil. You'll need to check you're pointing to the latest valid name servers, both on the VIOS and the AIX LPARs.
You can list the name servers and domain that your VIO servers are
pointing to using the VIOS command cfgnamesrv.
# cfgnamesrv -lsdomain xyz.aus.century.com
You can add a name server using (you guessed it) -add
To add a name server entry with IP address 18.104.22.168, type:
cfgnamesrv -add -ipaddr 22.214.171.124
Shell escape: make peace with the VIO server
Allow me a little aside about VIO server commands.
and so on.
Of course, you could always edit
What about AIX and editing /etc/resolv.conf?
AIX has its own command to change name servers: namerslv.
Its syntax is slightly different to that of the VIOS cfgnamesrv command. Look it up. Or you could edit /etc/resolv.conf, and I expect that's how you'll go about it. For that matter, you can use SMIT and get through to the network menus to list, add or delete name servers and domains that way.
LED 581 during boot
If your system appears to hang at LED 581 during a system reboot, chances are it's having trouble connecting to the DNS server (there I go again) in /etc/resolv.conf. There is an IBM technote regarding Understanding LED 581. Although the technote was written for AIX 4 and 5, I expect it's still valid for AIX 6 and 7. To tell you the truth I haven't read the whole document. I'm a little busy giving myself some therapy for my newly discovered language disorder.