<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: installing OS in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925761#M110573</link>
    <description>Hi Heath,&lt;BR /&gt;&lt;BR /&gt;Planning and pre-work is paramount here. I am only giving details about the user accounts.&lt;BR /&gt;&lt;BR /&gt;You can easily merge the /etc/passwd and /etc/group files. &lt;BR /&gt;&lt;BR /&gt;Make a bundle of the user home data.&lt;BR /&gt;#fbackup -f /tmp/home.fb -i /home -i /users&lt;BR /&gt;Copy /tmp/home.fb to the remote system.&lt;BR /&gt;&lt;BR /&gt;Copy /tmp/home.fb, /etc/passwd and /etc/group to a remote system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Once 11.0 is installed, copy them into /tmp directory as oldpasswd, oldgroup and home.fb. &lt;BR /&gt;&lt;BR /&gt;#cp /etc/passwd /etc/passwd.orig&lt;BR /&gt;#cp /etc/group /etc/group.orig&lt;BR /&gt;#vi /tmp/oldpasswd&lt;BR /&gt;&lt;BR /&gt;(here delete the accounts that are already there in /etc/passwd like root,bin,sys etc first few accounts. Compare with /etc/passwd). This will leave you with non-default accounts. Save the file. Then append it to /etc/passwd&lt;BR /&gt;&lt;BR /&gt;#cat /tmp/oldpasswd &amp;gt;&amp;gt; /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Do the same thing for /etc/oldgroup.&lt;BR /&gt;&lt;BR /&gt;You have the accounts fixed. You can then restore the home directories from the backup.&lt;BR /&gt;&lt;BR /&gt;#fbackup -x -f /tmp/home.fb&lt;BR /&gt;&lt;BR /&gt;Do not logout of the root's window. If possible keep two three windows with root logged in handy.&lt;BR /&gt;&lt;BR /&gt;Ask couple of users to login and see if they can login.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Sat, 15 Mar 2003 00:40:40 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2003-03-15T00:40:40Z</dc:date>
    <item>
      <title>installing OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925752#M110564</link>
      <description>I need to upgrade my HP 9000 from 10.20 to 11.0. I have never done this before. It was suggested that I do a cold install and then copy certain files back over to the server afterwards. Of course there isn't any good documentation for what I should copy. We run Oracle and Cognos on this server. We have unix accounts and print queues. How can you recover the unix user accounts and print queues after a cold install w/o re-creating them? Is there anything else I need to worry about? I know I will have to re-install Oracle.</description>
      <pubDate>Wed, 12 Mar 2003 22:47:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925752#M110564</guid>
      <dc:creator>Heath Ramos</dc:creator>
      <dc:date>2003-03-12T22:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: installing OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925753#M110565</link>
      <description>as far as the users go you could use the old /etc/passwd&lt;BR /&gt;and call in userinfo and store&lt;BR /&gt;it somewhere else while doing the cold install.  Then use this script to add all you users back:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cat userinfo |while read line&lt;BR /&gt;do&lt;BR /&gt;USER=$(echo $line|awk '{FS=":";print $1}')&lt;BR /&gt;PASS=$(echo $line|awk '{FS=":";print $2}')&lt;BR /&gt;USERID=$(echo $line|awk '{FS=":";print $3}')&lt;BR /&gt;GID=$(echo $line|awk '{FS=":";print $4}')&lt;BR /&gt;INFO=$(echo $line|awk '{FS=":";print $5}')&lt;BR /&gt;HOME=$(echo $line|awk '{FS=":";print $6}')&lt;BR /&gt;SHELL=$(echo $line|awk '{FS=":";print $7}')&lt;BR /&gt;echo "Adding $USER"&lt;BR /&gt;useradd -u $USERID -g $GID -s $SHELL -c "$INFO" -o -m -k /etc/skel -d $HOME $USER&lt;BR /&gt;/usr/sam/lbin/usermod.sam -p`echo "$PASS"` $USER&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Mar 2003 23:01:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925753#M110565</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-03-12T23:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: installing OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925754#M110566</link>
      <description>There are quite a number of discussions on the cold install of 11.x instead of upgrading. &lt;BR /&gt;Do a search there are plenty (upgrade 10.20 to 11)&lt;BR /&gt;&lt;BR /&gt;See the below posting on print setups and how they can be moved.&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4d7c402f24d5d61190050090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4d7c402f24d5d61190050090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Copy the the password file (/etc/passwd)&lt;BR /&gt;Do a vgexport in preview mode to preserve your LVM structure.&lt;BR /&gt;&lt;BR /&gt;You will probably need to install a different version of Oracle anyway.&lt;BR /&gt;&lt;BR /&gt;You should test all of these scenarios on a test server anyway. This way you will sort of know what to expect.&lt;BR /&gt;&lt;BR /&gt;Make sure that you have plenty of backups including a make_tape_recovery backup.</description>
      <pubDate>Wed, 12 Mar 2003 23:02:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925754#M110566</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-03-12T23:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: installing OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925755#M110567</link>
      <description>Well I have to agree that a cold install is much better than to try an upgrade. At the very minimum you should save to another system and to tape:&lt;BR /&gt;/etc/passwd&lt;BR /&gt;/etc/group&lt;BR /&gt;/etc/resolv.conf&lt;BR /&gt;/etc/hosts&lt;BR /&gt;/etc/fstab&lt;BR /&gt;/etc/exports&lt;BR /&gt;/etc/rc.config.d/netconf&lt;BR /&gt;/etc/rc.config.d/nfsconf&lt;BR /&gt;&lt;BR /&gt; actually everything is /etc should be archived somewhere just in case you need to refer back to it.&lt;BR /&gt;&lt;BR /&gt;vgexport all vg's and don't forget to use the -p -m mapfile options to save your filesystems maps. Place these mapfiles on another computer to use with the vgimport after you finish the install.&lt;BR /&gt;&lt;BR /&gt;Maybe write a script to strip the users names from /etc/passwd that useradd them back. Don't forget to use /etc/group so the groups are the same after the install.&lt;BR /&gt;&lt;BR /&gt;Make at least 2 ignite tapes of the system prior to the upgrade. You can also use the files on the second part of the Ignite tape as a last resort in case you forgot to back up some files somewhere. You can use the mt command to roll the tape past the LIF area and the rest of the tape is a tarball of every file in vg00:&lt;BR /&gt;&lt;BR /&gt;mt -t /dev/rmt/xmn fsf 1&lt;BR /&gt;&lt;BR /&gt;Then tar -tvf /dev/rmt/xm to list the contents. Them "mn" in the mt command means don't rewind.&lt;BR /&gt;&lt;BR /&gt;I am sure this is not everything but I can't think of any more right now. Maybe someone else has better advise for you.&lt;BR /&gt;Good luck,&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Mar 2003 23:11:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925755#M110567</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-03-12T23:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: installing OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925756#M110568</link>
      <description>Thanks for all the help.&lt;BR /&gt;&lt;BR /&gt;moving print queues seems pretty straight forward. the user script seems a little above my head but I will play with it on a test server. I will also do a vgexport for the 4 non-vg00 vg's. &lt;BR /&gt;&lt;BR /&gt;Are there any patches I need to load before/after the cold install?&lt;BR /&gt;&lt;BR /&gt;What lv's are created by the OS by default on vg00?</description>
      <pubDate>Thu, 13 Mar 2003 21:44:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925756#M110568</guid>
      <dc:creator>Heath Ramos</dc:creator>
      <dc:date>2003-03-13T21:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: installing OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925757#M110569</link>
      <description>For patches, it is suggested that you load the latest quality pack bundle after the install.  The install will create the normal "root volume" logical volumes: /, /stand, swap, /var, /tmp, /usr, /opt, and /home.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 13 Mar 2003 22:02:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925757#M110569</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-13T22:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: installing OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925758#M110570</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The patches are loaded after the operating system. Below is a link to some valuable information on OS installs/patches etc.&lt;BR /&gt;When doing the 'vgexport', here is an example. Make sure that you use the 'preview' option.&lt;BR /&gt;&lt;BR /&gt;# vgexport -m myvg.mapfile -p -v /dev/myvg&lt;BR /&gt;&lt;BR /&gt;The default lv's are&lt;BR /&gt;lvol1 /stand&lt;BR /&gt;lvol2 primary swap&lt;BR /&gt;lvol3 /&lt;BR /&gt;lvol4 /opt&lt;BR /&gt;lvol5 /tmp&lt;BR /&gt;lvol6 /usr&lt;BR /&gt;lvol7 /var&lt;BR /&gt;&lt;BR /&gt;These numbers will change if you have a /home included.&lt;BR /&gt;&lt;BR /&gt;Here is the link I mentioned.&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x4499e7e60861d511abcd0090277a778c,00.htm" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x4499e7e60861d511abcd0090277a778c,00.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Michael</description>
      <pubDate>Thu, 13 Mar 2003 22:03:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925758#M110570</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-03-13T22:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: installing OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925759#M110571</link>
      <description>Hi Heath:&lt;BR /&gt;&lt;BR /&gt;After the Core OS is loaded, you want to apply any codewords to unlock your Applications on the Applications' CDROMS.  You can then load them.&lt;BR /&gt;&lt;BR /&gt;Be sure to obtain a current Support Plus CD and install the Hardware Enablement bundle and the Quality Pack for 11.0.  You should also load from the DIAGNOSTICS direcory on that CDROM, the Support Tools Manager (STM).  This gives you 'stm' and 'ems'.&lt;BR /&gt;&lt;BR /&gt;You can order the Support Plus CDROM if you don't have it, or download the current bundles.  Either operation can be started from here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support3.external.hp.com/common/bin/doc.pl/screen=commonExtensionSW/sid=c206416a1a118ac77e" target="_blank"&gt;http://us-support3.external.hp.com/common/bin/doc.pl/screen=commonExtensionSW/sid=c206416a1a118ac77e&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;On the page that the above link points is a link to "View Support Plus Releases".  It is most useful to expose the patch contents of a current bundle.  You can then download patch replacements for patches that have been "recalled" or contain warnings.  The ITRC Patch Database allows a shopping-cart mode of collection which yields a patch bundle that can be installed in "one-step" once it is downloaded.  You would apply this bundle after all other patch bundles, above.&lt;BR /&gt;&lt;BR /&gt;For more information on the concept and contents of Support Plus, see:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/SUPPORT_PLUS/" target="_blank"&gt;http://www.software.hp.com/SUPPORT_PLUS/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Having done the above, you should have an up-to-date server.&lt;BR /&gt;&lt;BR /&gt;You also asked what logical volumes a cold installation creates.  The answer (by filesystem) is '/', primary swap/dump, '/stand', '/home', '/opt', '/usr',  '/tmp' and '/var'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 13 Mar 2003 22:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925759#M110571</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-03-13T22:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: installing OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925760#M110572</link>
      <description>I think I have a good idea on how things will go now.&lt;BR /&gt;&lt;BR /&gt;I still am not clear on how to get my users, groups and templates over to the server after the install. I really don't want to have to manually re-create all the accounts, give them new passwords and give it back to them.</description>
      <pubDate>Sat, 15 Mar 2003 00:28:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925760#M110572</guid>
      <dc:creator>Heath Ramos</dc:creator>
      <dc:date>2003-03-15T00:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: installing OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925761#M110573</link>
      <description>Hi Heath,&lt;BR /&gt;&lt;BR /&gt;Planning and pre-work is paramount here. I am only giving details about the user accounts.&lt;BR /&gt;&lt;BR /&gt;You can easily merge the /etc/passwd and /etc/group files. &lt;BR /&gt;&lt;BR /&gt;Make a bundle of the user home data.&lt;BR /&gt;#fbackup -f /tmp/home.fb -i /home -i /users&lt;BR /&gt;Copy /tmp/home.fb to the remote system.&lt;BR /&gt;&lt;BR /&gt;Copy /tmp/home.fb, /etc/passwd and /etc/group to a remote system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Once 11.0 is installed, copy them into /tmp directory as oldpasswd, oldgroup and home.fb. &lt;BR /&gt;&lt;BR /&gt;#cp /etc/passwd /etc/passwd.orig&lt;BR /&gt;#cp /etc/group /etc/group.orig&lt;BR /&gt;#vi /tmp/oldpasswd&lt;BR /&gt;&lt;BR /&gt;(here delete the accounts that are already there in /etc/passwd like root,bin,sys etc first few accounts. Compare with /etc/passwd). This will leave you with non-default accounts. Save the file. Then append it to /etc/passwd&lt;BR /&gt;&lt;BR /&gt;#cat /tmp/oldpasswd &amp;gt;&amp;gt; /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Do the same thing for /etc/oldgroup.&lt;BR /&gt;&lt;BR /&gt;You have the accounts fixed. You can then restore the home directories from the backup.&lt;BR /&gt;&lt;BR /&gt;#fbackup -x -f /tmp/home.fb&lt;BR /&gt;&lt;BR /&gt;Do not logout of the root's window. If possible keep two three windows with root logged in handy.&lt;BR /&gt;&lt;BR /&gt;Ask couple of users to login and see if they can login.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Sat, 15 Mar 2003 00:40:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-os/m-p/2925761#M110573</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-03-15T00:40:40Z</dc:date>
    </item>
  </channel>
</rss>

