1834149 Members
2244 Online
110064 Solutions
New Discussion

Re: System Transfer

 
Sharon Bi_4
Occasional Advisor

System Transfer

Hi,

I am going to install a HP-UX 11 on a HP L2000 to replace a HP 9000/720.

I need to new machine to have the same IP,hostname, NIS , NFS and all the users
settings. It is acting as a print server. what files I need to copy from the
old machine for those information?

Thank you very much for your help in advance!
3 REPLIES 3
Steve White_8
Frequent Advisor

Re: System Transfer

Hi,

The new machibe will prompt you for its hostname, IP address. Ensure when you
are installing that the original system is not connected to the network. If you
are unable to disconnect the original system due to inability to disrupt
servcies, then assign a temporary IP address when install.

The new machine should only require the following files from the old system:

/etc/passwd
/etc/groups
/etc/exports
/etc/rc.config.d/namesvrs

This will work as long as you are a NIS client. If you are a NIS server then it
is a whole other ball of wax.
Atif Malik_2
Frequent Advisor

Re: System Transfer

As for the print server:

tar the directories under /etc/lp (cinterface, class, info, interface, member,
and sinterface).

tar the directories under /var/spool/lp

cat /dev/null > outputq

copy the default printer config file to /var/spool/lp

start print spooler:

lpsched

Check the status of the print spooler:

lpstat -t

Note: Ensure that all printers are accepting and idle. Ensure that the
scheduler is running and the default printer is properly configured.

Also not that all existing, pending request will be lost using this procedure.
Fernando Santana
Frequent Advisor

Re: System Transfer

Hi, on top of all the good advise already given to you,
I'd like to give you preliminary steps I would follow to have this done. Look
at number 5 first!!!

1. make a copy of /etc and /sbin/init.d directories
outside VG00. Also, copy /var/adm, /var/spool as well.

2. make sure you take a snapshot of your lvm configura-
tion including lvm map files, so that you can activate all other volume groups.
Remember to rcp all this
information to another machine from which you can get
all this back after you install HPUX.

3. Create, import, activate VGs where you saved your good configuration files.
Mount FS and now you can copy almost any config file needed.

4. If the server's currently a NIS slave server, just
redo the setup, look at the ypinit man pages it's easy
to do. You can use your old /etc/rc.config.d/namesvrs
file for configuration.

5. If it is a master NIS server, making sure you have
slave servers configured is probably the first thing
you should do. See, you want your NIS clients
to bind to another system. This happens automatically, but if for some reason
it doesn't, see man pages for ypset. To set up the master server you can
follow the man pages for ypint also. I think no server should attemp to bind
while you're configuring your master.


I hope it helps, good luck!!!!!!