Operating System - HP-UX
1832617 Members
2574 Online
110043 Solutions
New Discussion

Re: hpux11i + hostname change

 
Alex Green
Frequent Advisor

hpux11i + hostname change

hi,

i just receieved a j6000 with 11i pre-installed, on the first boot, i gave the machine a test name and used dhcp to configure the machine for my network. however i now have a static ip address and a dns name for the machine. So i reconfigured the network card and the system name, and now the whole machine seems to be very!! slow. It takes a minute or two for sam to load and during the boot up, the System Inventory and the Distribution daemon seem to take forever to load. Is this all related to the fact that i changed the hostname and the IP of the machine?

Thanks
AG
"The physicist's greatest tool is his wastebasket." - Albert Einstein.
4 REPLIES 4
Sanjay_6
Honored Contributor

Re: hpux11i + hostname change

Ho Alex,

How did you change the ip address and the hostname. Try chaning the same using /sbin/set_parms,

Use "/sbin/set_parms ip_address" to change the ip address of the system.

The other options are
hostname : set hostname
timezone : set timezone
date_time : set time and date
root_passwd : set root password
addl_netwrk : set additional network / DNS / NIS info
initial : Reconfigure all install time options.

Hope this helps.

Regds
Bill Hassell
Honored Contributor

Re: hpux11i + hostname change

Try nslookup[ by hostname and also by IP address. Most likely, your DNS server isn't resolving your new name yet, or possibly the new name is misspelled locally.

Also, change your switch policy for reliability. In /etc/nsswitch.conf:

hosts: files [NOTFOUND=continue UNAVAIL=continue] dns

Now put both you hostname and the fully-qualified-domain name in /etc/hosts, along with all other production servers and clients. That way, your system is no longer dependent on DNS (and possible problems getting it updated or keeping it running).


Bill Hassell, sysadmin
harry d brown jr
Honored Contributor

Re: hpux11i + hostname change

Alex,

I love preinstalled systems, NOT. The first thing I do is install the OS myself, so that I know what is installed and how. I've never "accepted" a pre-installed OS, and I never will.

But if you want to continue, follow Sanjay's advise!

live free or die
harry
Live Free or Die
Krishna Prasad
Trusted Contributor

Re: hpux11i + hostname change

You might want to take a look at what you have your network card configured. Your ethernet card needs to be configured for full/duplex. You can check /etc/rc.config.d/hpbtlanconf.

You might also want to check your default route in /etc/rc.config.d/netconf since you changed the IP of the box. You can also do a netstat -r to see your route.
Positive Results requires Positive Thinking