<?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: Quickest way to re-initialize a server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545175#M649316</link>
    <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;I agree with the :&lt;BR /&gt;cd /&lt;BR /&gt;rm -fR&lt;BR /&gt;but not 100 %. &lt;BR /&gt;&lt;BR /&gt;I mean, you have to :&lt;BR /&gt;&lt;BR /&gt;1. All users have to logoff.&lt;BR /&gt;2. Stop all the applications process.&lt;BR /&gt;3. Stop all database listeners.&lt;BR /&gt;4. Stop all Database instances.&lt;BR /&gt;5. Stop all RDBMS.&lt;BR /&gt;6. Stop swagentd.&lt;BR /&gt;7. Stop telnetd.&lt;BR /&gt;8. Stop lpsched.&lt;BR /&gt;9. Stop dce daemons, rpcd, inetd&lt;BR /&gt;&lt;BR /&gt;And then ,&lt;BR /&gt;&lt;BR /&gt;cd /&lt;BR /&gt;rm -fR&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 03 Jul 2001 14:32:17 GMT</pubDate>
    <dc:creator>Magdi KAMAL</dc:creator>
    <dc:date>2001-07-03T14:32:17Z</dc:date>
    <item>
      <title>Quickest way to re-initialize a server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545167#M649308</link>
      <description>Need to sell our HP 9000 servers running HP-UX 10.20 os.  I am not a proficient Unix administrator, but I need to purge all files and configuration before selling.  I can get rid of the files and directories outside of the system area, but not sure how to remove vg00 and system directories (os).  Any help on de-constructing my system is appreciated.</description>
      <pubDate>Tue, 26 Jun 2001 13:30:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545167#M649308</guid>
      <dc:creator>David Ritts</dc:creator>
      <dc:date>2001-06-26T13:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to re-initialize a server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545168#M649309</link>
      <description>Hi David:&lt;BR /&gt;&lt;BR /&gt;If you can stand doing it [ because it seems like you *never* would want to miskey it! ;-) ], then as root, do:&lt;BR /&gt;&lt;BR /&gt;# cd&lt;BR /&gt;# rm -fR *&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 26 Jun 2001 13:38:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545168#M649309</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-06-26T13:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to re-initialize a server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545169#M649310</link>
      <description>This answer was posted...but...&lt;BR /&gt;# cd &lt;BR /&gt;# rm -fR * &lt;BR /&gt;&lt;BR /&gt;would you not want to &lt;BR /&gt;# cd /&lt;BR /&gt;# rm -fR * &lt;BR /&gt;&lt;BR /&gt;The first cd changes to the home directory of root which may not be the root directory, it may only be /root.&lt;BR /&gt;&lt;BR /&gt;Confusing, huh?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Jun 2001 14:38:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545169#M649310</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2001-06-26T14:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to re-initialize a server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545170#M649311</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can do a fresh install in order to replace your current vg00.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Patrice.</description>
      <pubDate>Tue, 26 Jun 2001 14:49:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545170#M649311</guid>
      <dc:creator>MARTINACHE</dc:creator>
      <dc:date>2001-06-26T14:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to re-initialize a server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545171#M649312</link>
      <description>If you want it squeeky clean before it rolls out the door, consider the following.  Get your hands on an extra disk.  Put the disk in the machine(s) you're selling, install a fresh copy of the OS to the temp disk, boot off of the temp disk, then mediainit the disk(s) that are leaving with the system.  When you're done, remove the temp disk and waive "bye bye" to your spotless system(s).&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Jim</description>
      <pubDate>Tue, 26 Jun 2001 14:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545171#M649312</guid>
      <dc:creator>Jim Turner</dc:creator>
      <dc:date>2001-06-26T14:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to re-initialize a server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545172#M649313</link>
      <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;If your machine has removeable/hot swap disks, (eg a J7K with SCA disks) and your boot disk is one of them you can init all disks including the root without having to install extra disks or re-install an OS.&lt;BR /&gt;&lt;BR /&gt;The following procedure has been fully verified under HPs-UX 11.00, but I see no reason it shouldn't work under 10.20. Sorry, I've only outlined the steps required, not the actual commands.&lt;BR /&gt;&lt;BR /&gt;The steps are:&lt;BR /&gt;&lt;BR /&gt;1 Disable any swap that is not on the root disk (may require several reboot depending upon how many swap areas you have.)&lt;BR /&gt;2 Shutdown to single user mode&lt;BR /&gt;3 Unmount all disks. You may need to run fuser to find &amp;amp; kill processes on some filesystems before you may unmount them.&lt;BR /&gt;4 Init all non-root disks.&lt;BR /&gt;5 Hot swap the root disk with another (now clean) disk.&lt;BR /&gt;6 Mediainit the "other" disk again &amp;amp; say bye bye root!&lt;BR /&gt;7 Then for fun, try running shutdown or anything else you fancy...&lt;BR /&gt;&lt;BR /&gt;bfn,&lt;BR /&gt;SS :-)</description>
      <pubDate>Wed, 27 Jun 2001 07:15:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545172#M649313</guid>
      <dc:creator>Stephen Sanderson</dc:creator>
      <dc:date>2001-06-27T07:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to re-initialize a server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545173#M649314</link>
      <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;If you are feeling adventurous then the might want to try booting a kernel from a recovery CD and then issuing a pvcreate -f &lt;DISK id=""&gt; on all the disk you want to destroy. This tends to work a bit quicker than mediainit and the rm commands. Having said that, it will only destroy the header on the disk, hence the speed advantage. The only way to be sure is to use the mediainit command.&lt;BR /&gt;&lt;BR /&gt;Alturnatively, you could use the dd command and copy a blank disk to any disk you wish to blow away, e.g. &lt;BR /&gt;&lt;BR /&gt;dd if=&lt;CLEAN disk=""&gt; of=&lt;DISK to="" be="" purged=""&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Mike.&lt;BR /&gt;&lt;/DISK&gt;&lt;/CLEAN&gt;&lt;/DISK&gt;</description>
      <pubDate>Mon, 02 Jul 2001 15:19:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545173#M649314</guid>
      <dc:creator>Mike Shilladay</dc:creator>
      <dc:date>2001-07-02T15:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to re-initialize a server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545174#M649315</link>
      <description>hi,&lt;BR /&gt;a simple 'rm -rf' would be the easiest way to remove file (hmmm MARK as removed, actually), but it would be possible to undelete the files on disk.&lt;BR /&gt;If you want to be very sure every byte is removed from your disk you would need 'dd' as mentioned.&lt;BR /&gt;There are other threads for this question:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x99f9a12d6d27d5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x99f9a12d6d27d5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Remember to keep your system disk for last, or you'll be out of the game before you start playing ;-)&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Mon, 02 Jul 2001 15:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545174#M649315</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-07-02T15:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Quickest way to re-initialize a server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545175#M649316</link>
      <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;I agree with the :&lt;BR /&gt;cd /&lt;BR /&gt;rm -fR&lt;BR /&gt;but not 100 %. &lt;BR /&gt;&lt;BR /&gt;I mean, you have to :&lt;BR /&gt;&lt;BR /&gt;1. All users have to logoff.&lt;BR /&gt;2. Stop all the applications process.&lt;BR /&gt;3. Stop all database listeners.&lt;BR /&gt;4. Stop all Database instances.&lt;BR /&gt;5. Stop all RDBMS.&lt;BR /&gt;6. Stop swagentd.&lt;BR /&gt;7. Stop telnetd.&lt;BR /&gt;8. Stop lpsched.&lt;BR /&gt;9. Stop dce daemons, rpcd, inetd&lt;BR /&gt;&lt;BR /&gt;And then ,&lt;BR /&gt;&lt;BR /&gt;cd /&lt;BR /&gt;rm -fR&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jul 2001 14:32:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quickest-way-to-re-initialize-a-server/m-p/2545175#M649316</guid>
      <dc:creator>Magdi KAMAL</dc:creator>
      <dc:date>2001-07-03T14:32:17Z</dc:date>
    </item>
  </channel>
</rss>

