- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: re : moving of HPUX 11.11 to HPUX11.31 ( RP to...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2011 01:25 AM
07-01-2011 01:25 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2011 02:13 AM
07-01-2011 02:13 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2011 02:15 AM
07-01-2011 02:15 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2011 06:52 AM
07-01-2011 06:52 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2011 09:58 AM
07-01-2011 09:58 AM
Re: re : moving of HPUX 11.11 to HPUX11.31 ( RP to RX )
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
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com