Operating System - HP-UX
1846601 Members
1639 Online
110256 Solutions
New Discussion

relationship between workstations and server

 
SOLVED
Go to solution
Mark Vollmers
Esteemed Contributor

relationship between workstations and server

Hi, all. This might very well be a dumb question, but I have been thinking about it for a while now, and I just can't shake this feeling that I'm missing something. Here we go.

I have a D class server (running 10.20) and four workstations (five, actually, but the fifth barely runs). All the workstations have /home from the server mounted; all the other directories on the workstations are specific to the workstation. Every workstation has the server listed in /etc/hosts and /etc/fstab, so that it can mount up. Also, the server has the workstations listed in /etc/hosts. SO...

If I wanted to remove a workstation (turn it off and pack it away forever), what needs to be done to remove all traces of it in the server, and all traces of the server from the workstation. For instance, I can remove the entry in the server /etc/hosts and use the "make hosts" command from /var/yp. I just have a feeling that the two (server and workstation) are linked in other places, but not having set them up myself, I don't know what it is. Can anyone tell me the best way to remove a workstation? Thanks, everyone!

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
6 REPLIES 6
John Bolene
Honored Contributor
Solution

Re: relationship between workstations and server

Should not be much to it other than remove it from the hosts file and dns/nis.

It may have some directories that need cleaned up in /home.

Other entries may be in /etc/dt/config/Xaccess.

If it was configured in DCE, it will need to be removed from the DCE master.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
A. Clay Stephenson
Acclaimed Contributor

Re: relationship between workstations and server

Hi Mark,

The only important thing you need to do is modify /etc/fstab on the one workstation and comment out the mount command for the server's home directory. If you are using the automounter, then you need to remove the entry from the automounter maps rather than editing /etc/fstab. (Or you can simply not start the automounter - edit /etc/rc.config.d/nfsconf and set AUTOMOUNT=0).

I wouldn't worry about the host entries; they do no harm and will prevent you from accidently assigning a duplicate IP address.

Clay
If it ain't broke, I can fix that.
Patrick Wallek
Honored Contributor

Re: relationship between workstations and server

A couple of other places to check for the workstation name is /etc/exports since you are using NFS and any of your automount maps if you are using automounter.

Also check /etc/hosts.equiv if you were using remsh, etc. from the workstation to the server.

Mark Vollmers
Esteemed Contributor

Re: relationship between workstations and server

Thanks for the replys so far; looks like I might not have been that far off after all. I do have a question about the /etc/hosts file. On the server, I have commented out one of lines with a workstation that we just powered off (no one was using it). When I pushed the hosts file through (make hosts), it says that it updated the hosts and pushed the hosts, but it also gives a message saying that it "Can't get an address for server pro1" Pro1 is the workstation. If the line with Pro1 and the ip address is commented out in /etc/hosts, why is it still looking for it? Pro1 is listed in /etc/hosts.equiv? what does that file do?

Thanks.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
Patrick Wallek
Honored Contributor

Re: relationship between workstations and server

From 'man hosts.equiv':

DESCRIPTION
The /etc/hosts.equiv file and files named .rhosts found in users' home directories specify remote hosts and users that are "equivalent" to the local host or user. Users from equivalent remote hosts are permitted to access a local account using rcp or remsh or to rlogin to the local account without supplying a password (see rcp(1), remsh(1), and rlogin(1)).
Shannon Petry
Honored Contributor

Re: relationship between workstations and server

Some other things to check though....would be the security file for TCP connections in /var/adm/inetd.sec....as well as the others mentioned, /etc/exports, /etc/hosts.equiv, /etc/fstab, and any .rhosts file you can find...

Regards,
Shannon
Microsoft. When do you want a virus today?