- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how can I move the oracle software to the storage ...
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
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
тАО07-11-2002 09:29 AM
тАО07-11-2002 09:29 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 09:41 AM
тАО07-11-2002 09:41 AM
SolutionYou can use pvmove to do this. First add the external disk to the same vg on which oracle is stored and then use pvmove to move the lv from the internal disk to the external disk.
Try these links,
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000058669146
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000060353648
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 09:50 AM
тАО07-11-2002 09:50 AM
Re: how can I move the oracle software to the storage disk?
First add the new disk in the same volume group using vgextend.
#vgextend /dev/vg02 /dev/dsk/c#t#d#
# pvmove /dev/dsk/c1t2d0 /dev/dsk/c#t#d# ( destination)
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 09:54 AM
тАО07-11-2002 09:54 AM
Re: how can I move the oracle software to the storage disk?
Then you dont need to change any references.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 10:05 AM
тАО07-11-2002 10:05 AM
Re: how can I move the oracle software to the storage disk?
If you want to change the ORACLE_HOME completely, you will have to relink the binaries after setting your enviroment variables for the new installation. Be warned though, that there is a hardcoded path in the $ORACLE_HOME/rdbms/admin/nmliblist that will need to be changed if you decide to move the ORACLE_HOME. I would recommend not moving it unless absolutely necessary.
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 10:20 AM
тАО07-11-2002 10:20 AM
Re: how can I move the oracle software to the storage disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 11:37 AM
тАО07-11-2002 11:37 AM
Re: how can I move the oracle software to the storage disk?
I 'd like to have 1 software on the HP internal disks and 1 software on the storage.
is there a way that I could make the copy?
or it will be much easier for me to install the software?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 11:54 AM
тАО07-11-2002 11:54 AM
Re: how can I move the oracle software to the storage disk?
Do you want two oracle instances or just two copies of the same instance. In the first case you not need to copy anything but create a new instance, this is a oracle task. In the second case is not so easy as there are information in the oracle database about certain file locations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 12:46 PM
тАО07-11-2002 12:46 PM
Re: how can I move the oracle software to the storage disk?
here is the desire setting that I'd like to have
1st instance = 1 database = software is located on the internal disks...
2nd instance = new database = software would like to be on the external disks...
What is the easiest way to accomplish this task?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 04:47 PM
тАО07-11-2002 04:47 PM
Re: how can I move the oracle software to the storage disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2002 01:06 AM
тАО07-12-2002 01:06 AM
Re: how can I move the oracle software to the storage disk?
If you want the same Oracle version on the both instances you don' need (and I dont think it is recommended) to install (or copy) the oracle binaries. It is perhaps possible but I think you will get problem. All you need is to create a new instance (database), this needs several steps but all is done with the Oracle Server Manager, there is both a CLI and a GUI version (svrmgrl and svrmgrm). Whith this tool you also have the option to select on which disks (volumes) your database files should be located.
I have one Oracle server with 3 instances running bur there is only one copy of the Oracle binaries.
It is another case if you want to create the instances with different Oracle versions (for example Oracle 8 and 9). In this case you need two installations, but you should be very careful if installing two different Oracle versions on the same server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2002 05:34 AM
тАО07-12-2002 05:34 AM
Re: how can I move the oracle software to the storage disk?
I have to agree that it does not make much sense to have two copies of the software if they will both be the same version. I also have multiple instances running from one installed ORACLE_HOME. This is the "standard" approach. Do you have a reason that you want two copies of the software? If you explain the reasoning, maybe we can come up with better suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2002 08:02 AM
тАО07-12-2002 08:02 AM
Re: how can I move the oracle software to the storage disk?
To answer your question, the purpose of wanting the software to be on external disk...is to allow us to test what happens when it's on the external disks and we do error recovery?
What will be reason for the oracle to crash?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2002 09:42 AM
тАО07-12-2002 09:42 AM
Re: how can I move the oracle software to the storage disk?
Disk failure (if you are not using some sort of RAID5 or mirroring) that causes loss of database files (control file, datafiles, or redo logs)
Hardware problems: i.e. CPU failure or something else that might cause the whole system to go down. In this case though, your database will most likely come up just fine once the problem is fixed.
User Error - for example: accidental deltion of datafile files.
It has been a long time (years) since I have had any of my Oracle databases crash due to software bugs or general instability (except the one database we had on NT - which I blame on the instability of NT as opposed to Oracle).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2002 09:56 AM
тАО07-12-2002 09:56 AM
Re: how can I move the oracle software to the storage disk?
Perhaps this can work for you if your "original" Oracle installation is in a single directory tree (for ex. /home/oracle).
- Shut down the database.
- For security, take a cold backup of the Oracle installation.
- Create a filesystem on the external disk and mount it on a temporary directory (for ex.
/disk1)
- Go to the Oracle directory (/home/oracle), copy evrything to the temporary directory (find . -print |cpio -pdvmux /disk1).
- Umount the external disk from the temporary directory.
- Mount the disk on /home/oracle.
- Startup the Oracle instance.
- Now Oracle is running on the external disk and you can test anything you want witout risk for the "original" installation.
- After finishing your tests, shutdown again, unmount the external disk, startup Oracle, and you are back to the "original".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2002 09:59 AM
тАО07-12-2002 09:59 AM
Re: how can I move the oracle software to the storage disk?
A failure will involve the instance (database) not the Oracle software itself. You just need to make a test instance for this purpose where convenient. This instance can sit on the same disks as your production database, but with its own folders for the datafiles. ex: /u01/oradata/PROD, /u01/oradata/TEST etc.