<?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: Oracle in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293464#M627832</link>
    <description>Attached is a paper listing the brief step for cloning a database from one machine to another. Hope it helps.&lt;BR /&gt;</description>
    <pubDate>Thu, 03 Jun 2004 07:27:13 GMT</pubDate>
    <dc:creator>twang</dc:creator>
    <dc:date>2004-06-03T07:27:13Z</dc:date>
    <item>
      <title>Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293454#M627822</link>
      <description>We have a new HP UX  10.2 server(Oracle not installed). On our old server we have HP UX 10.2 running Oracle 7 database. We get a full database export backup daily from this(.dmp) database. We now need to get this databse working on the new server- what would be the best way to go about it- Could anyone please explain the steps please as I am . Many Thanks....</description>
      <pubDate>Wed, 02 Jun 2004 05:58:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293454#M627822</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-06-02T05:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293455#M627823</link>
      <description>If your oracle installation is not in vg00 a simple approach my be to vgexport the volume groups containing your installation and attach the new machine to the disks and vgimport it.&lt;BR /&gt; &lt;BR /&gt;You probably would need to make a few Oracle config changes to cope with the new hostname but that's about it.</description>
      <pubDate>Wed, 02 Jun 2004 06:02:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293455#M627823</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-06-02T06:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293456#M627824</link>
      <description>If you have a cold backup for the database.&lt;BR /&gt;1) backup/restore the oracle sw from old to new server. This should bring the directories required for new DB and config file (init&lt;SID&gt;.ora)&lt;BR /&gt;2) Restore the cold backup&lt;BR /&gt;3) If the filenames and path are identical this is easier otherwise you will require to clone the database&lt;BR /&gt;4) Update listener.ora and tnsnames.ora to reflect the new server name&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc&lt;/SID&gt;</description>
      <pubDate>Wed, 02 Jun 2004 06:14:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293456#M627824</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-06-02T06:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293457#M627825</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;anything to do with the user oracle?? and the group dba??&lt;BR /&gt;&lt;BR /&gt;create the user and the group with the same UID and GID..&lt;BR /&gt;&lt;BR /&gt;with best wishes&lt;BR /&gt;Naveej</description>
      <pubDate>Wed, 02 Jun 2004 06:21:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293457#M627825</guid>
      <dc:creator>Naveej.K.A</dc:creator>
      <dc:date>2004-06-02T06:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293458#M627826</link>
      <description>If you need the old server still running&lt;BR /&gt;I would try to consider new installation of Oracle server and import whole database, than change IP on places from where the db is accessible.&lt;BR /&gt;&lt;BR /&gt;br Jan</description>
      <pubDate>Wed, 02 Jun 2004 06:25:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293458#M627826</guid>
      <dc:creator>Jan Sladky</dc:creator>
      <dc:date>2004-06-02T06:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293459#M627827</link>
      <description>Hi,&lt;BR /&gt;First of all, I would suggest that you perform a cold backup(both OS and Oracle).&lt;BR /&gt;Then 2 ways to go, first, you may reinstall the oracle RDBMS and import the database using your daily .dmp file.&lt;BR /&gt;Another option is that you may clone the whole Oracle RDBMS software and datafiles from old server to the new server. You need to schedule a downtime if you choose this method.&lt;BR /&gt;&lt;BR /&gt;regards twang.</description>
      <pubDate>Wed, 02 Jun 2004 07:14:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293459#M627827</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2004-06-02T07:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293460#M627828</link>
      <description>Jean, &lt;BR /&gt;  Your response seems promising- but could you please clarify a few more points ?&lt;BR /&gt;1. How do I backup/restore the oracle s/w from the old server. Or in other words which directories should I backup/restore ?&lt;BR /&gt;&lt;BR /&gt;2) In our old server the logical volume /disc4 is part2 of the tablespaces on /disc2 and /disc1. Can I do away with /disc4 on the new server, as it is has got a much more bigger disk space.&lt;BR /&gt;Below is the output of filesystem structure&lt;BR /&gt;Many Thanks&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on /dev/vg00/lvol3    1791145 1422948  189082   88% /          /dev/vg00/lvol1      47829   24813   18233   58% /stand     /dev/vg01/lvol14   1001729  949892       0  100% /disc5     /dev/vg01/lvol13   1001729  900730     826  100% /disc4     /dev/vg01/lvol12   1001729  900706     850  100% /disc3     /dev/vg01/lvol11   1001729  900706     850  100% /disc2     /dev/vg01/lvol10   1001729  257984  643572   29% /disc1</description>
      <pubDate>Wed, 02 Jun 2004 07:18:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293460#M627828</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-06-02T07:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293461#M627829</link>
      <description>Twang, couldyou please give me links or explain bit more about cloning database</description>
      <pubDate>Wed, 02 Jun 2004 07:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293461#M627829</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-06-02T07:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293462#M627830</link>
      <description>Regarding Question #1,&lt;BR /&gt;you will need to restore /oracle fs (if /oracle is $ORACLE_BASE) and the oracle product file system (usually a different fs) this is $ORACLE_HOME.&lt;BR /&gt;If the init file (init&lt;SID&gt;.ora) or pfile (if any) is located elsewhere, you need to bring the files to the new server too.&lt;BR /&gt;&lt;BR /&gt;Keep uid and gid for oracle user the same.&lt;BR /&gt;&lt;BR /&gt;If you have other users in the dba group you may want them too on the new server.&lt;BR /&gt;&lt;BR /&gt;Regarding Question #2, the file locations will be different there for you should "clone" the database.&lt;BR /&gt;the idea is to re-create the controle files.&lt;BR /&gt;&lt;BR /&gt;You start with source database and create in udump the output file :&lt;BR /&gt;in SQLPlus/svrmgrl &lt;BR /&gt;Alter database backup controlfile to TRACE resetlogs.&lt;BR /&gt;&lt;BR /&gt;The this file has to be edited on the target server to reflect path changes and comment out  1st few lines up to "STARTU" NOMOUNT" +&lt;BR /&gt;comment out :&lt;BR /&gt;# RECOVER DATABASE&lt;BR /&gt;and&lt;BR /&gt;# ALTER SYSTEM ARCHIVE LOG ALL;&lt;BR /&gt;&lt;BR /&gt;I'll try to find an example for you.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc&lt;/SID&gt;</description>
      <pubDate>Wed, 02 Jun 2004 07:39:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293462#M627830</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-06-02T07:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293463#M627831</link>
      <description>Adding to Jean-Luc answers&lt;BR /&gt;&lt;BR /&gt;1) The easy way to do a cold backup is:&lt;BR /&gt;&lt;BR /&gt;login as db user/owner, typically user oracle:&lt;BR /&gt;# login oracle&lt;BR /&gt;Password: ****&lt;BR /&gt;$ svrmgrl&lt;BR /&gt;...&lt;BR /&gt;SVRMGR&amp;gt; connect internal;&lt;BR /&gt;Connected.&lt;BR /&gt;SVRMGR&amp;gt; shutdown immediate; --ensure no one &lt;BR /&gt;is using database before doing this...&lt;BR /&gt;SVRMGR&amp;gt; quit;&lt;BR /&gt;Server Manager complete.&lt;BR /&gt;$ cd $ORACLE_HOME&lt;BR /&gt;$ cd ..&lt;BR /&gt;List the directories beginning with 7&lt;BR /&gt;$ ll 7*&lt;BR /&gt;If you have a DLT on both servers: insert a tape on the old server&lt;BR /&gt;$ tar cv 7... (I don't know the name of the directory but I think it may start by 7 since you are on Oracle 7 db)&lt;BR /&gt;If you don't have tapes you must do it through NFS...&lt;BR /&gt;&lt;BR /&gt;2) You have the tablespaces on 3 logical volumes?? Then you must backup those 3 logical volumes.</description>
      <pubDate>Thu, 03 Jun 2004 02:56:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293463#M627831</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-06-03T02:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293464#M627832</link>
      <description>Attached is a paper listing the brief step for cloning a database from one machine to another. Hope it helps.&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2004 07:27:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293464#M627832</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2004-06-03T07:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293465#M627833</link>
      <description>Sorry, miss the attachment.</description>
      <pubDate>Thu, 03 Jun 2004 07:28:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293465#M627833</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2004-06-03T07:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293466#M627834</link>
      <description>Thanks alot Twang, for the detailed notes. I shall test it out soon</description>
      <pubDate>Thu, 03 Jun 2004 07:31:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293466#M627834</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-06-03T07:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293467#M627835</link>
      <description>If you do a backup rather than a new install, don't forget /etc/oratab or dbstart and dbshut won't work. &lt;BR /&gt;&lt;BR /&gt;I'm not sure about rev 7, but you may need /var/opt/oracle. In later versions it pointed to the Oracle Inventory. I don't think it came into being until 8 so it may not be there.&lt;BR /&gt;&lt;BR /&gt;Also, be sure and check the listener.ora file under $TNS_ADMIN. The host name should change to the new machine. Otherwise you will have trouble connecting from other clients. &lt;BR /&gt;&lt;BR /&gt;Plus, don't forget to add the new service to tnsnames.ora also under $TNS_ADMIN on the clients or they won't know how to get to the new machine.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;tns_ping is your friend. On the clients try it as&lt;BR /&gt;&lt;BR /&gt;tns_ping new_service_name&lt;BR /&gt;&lt;BR /&gt;If things are good, you get a response time, otherwise you will get a TNS error. &lt;BR /&gt;&lt;BR /&gt;If it fails, try a regular network ping to verify the network before you put a lot of time into checking the tnsnames.ora. &lt;BR /&gt;&lt;BR /&gt;If the network path is good, try &lt;BR /&gt;&lt;BR /&gt;lsnrctl service &lt;BR /&gt;&lt;BR /&gt;to get a list of services. They should match the services listed in the tnsnames.ora on the clients.&lt;BR /&gt;&lt;BR /&gt;-Good luck</description>
      <pubDate>Thu, 03 Jun 2004 08:59:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293467#M627835</guid>
      <dc:creator>R. Allan Hicks</dc:creator>
      <dc:date>2004-06-03T08:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293468#M627836</link>
      <description>If your going to create the database on the new server with the same &lt;SID&gt; I think it is much more simple for you do it with a cold backup and restore. I just use the clone solution if I want to give a different &lt;SID&gt; to the database. Good luke!&lt;BR /&gt;&lt;BR /&gt;&lt;/SID&gt;&lt;/SID&gt;</description>
      <pubDate>Thu, 03 Jun 2004 09:25:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle/m-p/3293468#M627836</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-06-03T09:25:29Z</dc:date>
    </item>
  </channel>
</rss>

