Operating System - HP-UX
1832897 Members
2820 Online
110048 Solutions
New Discussion

Removing HPUX 11.1 workstation from the network

 

Removing HPUX 11.1 workstation from the network

How do i make my workstation standalone from the network without any problems. Is there a procedure?
No matter how much you kow today you'll have to know more tomorrow.
8 REPLIES 8
S.K. Chan
Honored Contributor

Re: Removing HPUX 11.1 workstation from the network

This is the documented procedure.
DocID=KBRC00002373
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000058693954
Hope it helps ..
Hai Nguyen_1
Honored Contributor

Re: Removing HPUX 11.1 workstation from the network

Roxworth,

Basically to make your box standalone, all you need to do is disabling all the active network cards on the box. Log on to the box as root locally then start sam > Networking and Communications > Network Interface Cards.

Select one card at the time and righ-click on it to activate a menu from which you can select "Disable". Do the same for other cards.

Hai

Re: Removing HPUX 11.1 workstation from the network

The documented procedure is quite long. Does the disabling the network card actually work with out any boot up problems? Especially since NFS and NIS is enabled. Which is the proper way to do it in SAM.
No matter how much you kow today you'll have to know more tomorrow.
Sajid_1
Honored Contributor

Re: Removing HPUX 11.1 workstation from the network

I would not agree with directly removing/disabling the network card from the system, if you have only one lan card in the system. This may give you problems, when invoking commands that check for the network status (swlist, swinstall etc).

You can check and carefully remove each components - NIS configurations, NFS configurations etc. You can also try setting this system's IP_ADRESS to a different subnet which is out of range too.
learn unix ..
Berlene Herren
Honored Contributor

Re: Removing HPUX 11.1 workstation from the network

You will have to disable any networking applications, such as NIS and NFS. You may do this via sam or from the command line.

Check /etc/rc.config.d/namesvrs file for NIS client, slave or server set to equal 1. Change that to zero, so that the services do not try to start upon reboot.

Check /etc/rc.config.d/nfsconf for the similar information and perform the same steps.

Stop the applications manually

#/sbin/init.d/nfs.client stop
#/sbin/init.d/nfs.server stop

#/sbin/init.d/nis.client stop
#/sbin/init.d/nis.server stop

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
S.K. Chan
Honored Contributor

Re: Removing HPUX 11.1 workstation from the network

I thought you wanted a complete procedure (hence the document). If you're just disabling the network card, when you reboot your system, it'll eventually come up as standalone but it'll take too long because starting the netowrking services like NFS, NIS will hang and eventually timed out. Along with that your would also want to disable(among others)..
NFS_CLIENT=0
NFS_SERVER=0
PCNFS_SERVER=0
AUTOMOUNT=0
START_MOUNTD=0
in /etc/rc.config.d/nfsconf to speed up the boot time (just like what's mentioned in the doc). On top of that you got to take care of "namesvrs" to disable your NIS services.
Wodisch_1
Honored Contributor

Re: Removing HPUX 11.1 workstation from the network

Hi Cornette,

without having read that document, my advise would be quite contrary to the rest (hey, I love that ;-)

- keep your LANIC configurations as they (that won't hurt, the will be simply "operativly down")
- unconfigure the USE of network resources:
-- /etc/resolv.conf # rename or remove it
-- /etc/nsswitch.conf # modify it ot ONLY use files
-- /etc/fstab # delete or comment out all references to NFS server (except your local station itself)
-- /etc/rc.config.d/netconf # get rid of NIS and such

Now unplug your LANICs and reboot
- does it come up?
- can you log in?

If it hangs simply plugin the LANICs and you should be able to correct it...

Just my $0.02,
Wodisch
sven verhaegen
Respected Contributor

Re: Removing HPUX 11.1 workstation from the network

the solution is quite simple ... in /etc/hosts change your IP linked your hostname to 127.0.0.1 , make sure you have no DNS client active (no resolv.conf), no nfs mounts outstanding and no nis client started and just do 'ifconfig lan(x) down' for each interface or even dont configure them in netconf .. your machine is completely loose from the network and still wil function fine
...knowing one ignores a greath many things is the first step to wisdom...