- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do I move my software oracle installation ?
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
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
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
тАО09-19-2002 07:08 AM
тАО09-19-2002 07:08 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2002 07:13 AM
тАО09-19-2002 07:13 AM
Re: How do I move my software oracle installation ?
This one way to clone the oracle installation on the same Unix box.
cf link
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x30046049dbb6d611abdb0090277a778c,00.html
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2002 07:14 AM
тАО09-19-2002 07:14 AM
Re: How do I move my software oracle installation ?
I am not sure but you can try these
copy the oracle files to the external disk like to /home2/oracle.
For example if your current directory is /opt/oracle.
Then create a link to /opt/oracle so that the oracle is not disturbed any way.
ln -s /home2/oracle /opt/oracle.
But can you revert for the reasons why you are moving the oracle.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2002 09:55 AM
тАО09-19-2002 09:55 AM
Re: How do I move my software oracle installation ?
Then pvmove all your physical extents in your old LV to new LV .
Unmount oyur oracle LV . Mount your new oracle LV to the same mount point . Update your fstab .
THis should work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2002 10:01 AM
тАО09-19-2002 10:01 AM
Re: How do I move my software oracle installation ?
Involve an external disk in your current volume group.
Then do a pvmove of the oracle filesystems /ora_data, /ora_index, /ora_rdo etc etc onto the new disk if you have the partitions on multiple disks.
If you have them on one single disk then you can do a pvmove from one disk to another disk directly.
pvmove /dev/dsk/c0t0d0(old) /dev/dsk/c1t1d1 (new)
(Above is for disk to disk)
else - for lvol to disk
pvmove /dev/vg03/ora_data /dev/dsk/c1t1d1(new disk)
and so on
Regards,
Anil (Don't forget to assign points if the answers are valuable to you)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2002 01:28 PM
тАО09-19-2002 01:28 PM
Solution1. Create a new volume that includes the new disks that you want to use
2. Create Logical volumes that have the same names as the current LV's you are using for Oracle
3. Create temporary mount points that correspond to the current one's.
ie. for a mount point named /oracle create something like /new/oracle
4. Mount your new LV's to the new mount points.
5. Shutdown Oracle
6. Copy files from old LV's point to new LV's. Here is a great command that works real quick and nice.
cd /
find . -depth -print | cpio -pudmvx /
7. Unmount all of the old Oracle mount points and new Oracle mount points.
8. Modify /etc/fstab so that the new LV's point to the old mount point directories.
9. Mount all of the file systems.
10. Verify permissions and restart Oracle
What this will do is allow you to move all of the data but keep the same directory names. This is real quick and easy to do and keeps down time to a minimum. You can create the new Volume Groups, Logical Volumes, file systems, directories, etc while Oracle is still up and running and only have it down for the time it takes to copy the files to their new LV's. Hope this works for you.
Ray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2002 04:03 AM
тАО09-20-2002 04:03 AM
Re: How do I move my software oracle installation ?
Be sure you have the same directory structure on the new disc. It is not supported from orcacle to change the directory of an existing installation.
Of course you can relink the oracle-binaries within a new directory structure and the database will work, but you cannot use OraInstaller on this Installation (e.g for Patching or Upgrade) because in $ORACLE_HOME/oraInventory/... the former Installation-Pathes are hardcoded in binary-files.
Very strange !!!
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2002 04:06 AM
тАО09-20-2002 04:06 AM
Re: How do I move my software oracle installation ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2002 04:44 AM
тАО09-20-2002 04:44 AM
Re: How do I move my software oracle installation ?
A copy can only be done with a change of mount point names. As Christian said, the ORACLE_HOME
will be held in the oraInventory file.
We tried this for an upgrade and ran into tons of problems.
Make an external disk ( same size ) a mirror of your internal disk.
Split the mirror in favour of the external disk and change the LV on the internal and give it a new mount point.
Rgds
Alexander M. Ermes