General
cancel
Showing results for 
Search instead for 
Did you mean: 

re : moving of HPUX 11.11 to HPUX11.31 ( RP to RX )

vinowg
Advisor

re : moving of HPUX 11.11 to HPUX11.31 ( RP to RX )

Hi Guys,

      Can anyone help, I'm trying to move my OS from RP 3440 running hpux11.11 to a RX2660 running hpux11.31. I understand I only need to move certain file like /etc/profiles, /etc/group, /etc/passwd and /tcb directory.  Can someone advice the correct file to move so that I can bring up the hpux11.31 with the users account intact?? Kindly node, I dont have a /tcb directory server is stand alone. Kindly advice what are the files and directory I need to move ?? Appreicate??

 

Regadrs

Vincent

4 REPLIES
dblond
Established Member

Re: re : moving of HPUX 11.11 to HPUX11.31 ( RP to RX )

Hello,

my script :

 

DIR=/tmp/`hostname`
mkdir $DIR          
crontab -l   > $DIR/cronroot.lst
cp /etc/group $DIR/group.fic
cp /etc/hosts $DIR/hosts.fic
cp /etc/hosts.equiv $DIR/hostequi.fic
cp /.rhosts         $DIR/rhosts.fic
cp /etc/inittab $DIR/inittab.fic
cp /etc/issue $DIR/issue.fic
cp /etc/passwd                   $DIR/passwd.fic
cp /etc/profile                  $DIR/profile.fic
cp /.profile                     $DIR/profroot.fic
cp /etc/inetd.conf               $DIR/inetd.conf.fic
cp /etc/services                 $DIR/services.fic
cp /etc/fstab               $DIR/fstab.fic
cp /etc/rc.config.d/netconf      $DIR/netconf.fic
cp /etc/rc.config.d/netdaemons   $DIR/netdaemo.fic
cp /etc/rc.config.d/nfsconf      $DIR/nfsconf.fic
cp /etc/rc.config.d/mailsvrs    $DIR/mailsvrs.fic
cp /etc/ddfa/dp                  $DIR/dp.fic
cp /etc/ddfa/pcf                 $DIR/pcf.fic
cp /etc/opt/samba/smb.conf       $DIR/smb.fic
cp /etc/opt/samba/users.map      $DIR/users.fic
cp /etc/resolv.conf              $DIR/resolv.fic
cp /etc/exports                  $DIR/exports.fic
cp /etc/nsswitch.conf            $DIR/nsswitch.fic
cp /etc/ntp.conf                 $DIR/ntp.conf.fic
cp /etc/krb5.conf                 $DIR/krb5.conf.fic 
cp /etc/oratab                   $DIR/oratab.fic
cp /etc/syslog.conf           $DIR/syslog.conf.fic
cp /opt/ssh/etc/sshd_config       $DIR/optsshetcsshd_config.fic
cp /var/opt/oracle/oraInst.loc   $DIR/oraInst.loc.fic
cd /etc
cp named.conf /$DIR/named.fic
find lp|cpio -ocB>/$DIR/etclp.cpio
cd /var
find named|cpio -ocvB>/$DIR/varnamed.cpio
cd /var/spool
find lp|cpio -ocB>/$DIR/varspool.cpio
cd /var/sam
find lp|cpio -ocB>/$DIR/varsam.cpio
cd /var/opt
find samba|cpio -ocB>/$DIR/varsamba.cpio
ll /                            >$DIR/lsracine.txt
ls /opt                         >$DIR/lsopt.txt
ll /usr                         >$DIR/lsusr.txt
ll /sbin/rc1.d                  >$DIR/lsrcr1.txt
ll /sbin/rc2.d                  >$DIR/lsrc2.txt
bdf                             >$DIR/bdf.txt
Good luck

dblond
Established Member

Re: re : moving of HPUX 11.11 to HPUX11.31 ( RP to RX )

Remarks :

for group end password

do not replace the 11.31 file by the 11.11 file !!!

just append your personalisation.

vinowg
Advisor

Re: re : moving of HPUX 11.11 to HPUX11.31 ( RP to RX )

Hi,

    Thanks for sending the script, really appreicate it. I will test it on my server.

 

Regards

Vincent

Steven E. Protter
Exalted Contributor

Re: re : moving of HPUX 11.11 to HPUX11.31 ( RP to RX )

Shalom,

Lots of ways to go. I would simply copy the contents of tcb to a tar file, transfer it across and untar.

You could consider converting to un-trusted system first, then /etc/passwd would be all you need. Then you can go trusted after migration. This however might cause some users to unexpectedly expire.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com