Operating System - HP-UX
1753873 Members
7693 Online
108809 Solutions
New Discussion юеВ

Golden Image to include Oracle on vg01?

 
SOLVED
Go to solution
Coolmar
Esteemed Contributor

Golden Image to include Oracle on vg01?

Hi,

I want to create a golden image of our new server which also has the Oracle installed on vg01. It is not any databases or anything, just the software installation. Is this possible as we would like to dump this configuration to our other servers (different hardware)?

Thanks
12 REPLIES 12
Steven E. Protter
Exalted Contributor

Re: Golden Image to include Oracle on vg01?

Shalom,

Absolutely. I did it in 2003. Replicated several servers from a base image that included Oracle database and application server.

The DBA had to make changes to tnsnames.ora and listener.ora and a few other minor tweaks after the replication was complete.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
DCE
Honored Contributor

Re: Golden Image to include Oracle on vg01?



use either of the below in your make_net/tape_recovery command

-x include= (for driectory)
-xinc_entire= (for a lvol)

The first just does the directory
The second gets the entire lvol

Wchich one you use is dependent on your system configuration

man make_net_recovery for further info
TwoProc
Honored Contributor

Re: Golden Image to include Oracle on vg01?

Sure, that's easy.

Keep in mind that when an ORACLE_SID is moved to another computer:
a) It can remain with the same ORACLE_SID on the new server, having the same name, but you may wish to change it.
b) It can even remain with the same database name, but this may confuse programmers, so you should probably change it.
c) It can even hold the same IP address(es) on the new server, you'd only have to change the listener.ora and tnsnames.ora files to change the server name.

Keep in mind that the OraInventory directory (probably a sibling to the ORACLE_HOME), probably would need some "fixing" to reflect a) new server names b) new ORACLE_SID names.
I usually fix these issues with "rpl" which can be downloaded from the HPUX porting archives. You'd need to do this if you want to be able to patch the ORACLE_HOME (and you *do* want that I'm sure).

We are the people our parents warned us about --Jimmy Buffett
Coolmar
Esteemed Contributor

Re: Golden Image to include Oracle on vg01?

Thanks for the advise everyone but I want to clarify that I am going to different hardware (rp4410 to rp5430), so would I be better with a Golden Image or just a make_net_recovery image? If the golden is the one you recommend, I notice when I run the save_config it will collect vg00 and vg01 but it also defines the hardware addresses of the disks, which may not be the same on another system. How can I get around that?
Steven E. Protter
Exalted Contributor

Re: Golden Image to include Oracle on vg01?

Shalom,

Golden image is designed to be more hardware independent because it includes a Core OS installation which makes available all hardware specific drivers.

It is a superior method than make_tape_recovery or make_net_recovery.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Coolmar
Esteemed Contributor

Re: Golden Image to include Oracle on vg01?

Thanks Steven, that is what I figured as well. Although, with the make_net image can't you specify that it is "different hardware"?
With the Golden image, where the volume groups are specified, so are the hardware addresses that are probably going to be different.....how do I get around the hardware addresses. Here is an excerpt from my save_cfg file

volume_group "vg02" {
max_physical_extents=44486
max_logical_vols=255
max_physical_vols=16
physical_extent_size=16
minor_number=0x02
usage=LVM
physical_volume disk[255/0/2.0.0.0] {
} # end pv_options
physical_volume disk[255/0/3.0.0.0] {
} # end pv_options
physical_volume disk[255/0/2.0.0.1] {
} # end pv_options
physical_volume disk[255/0/3.0.0.1] {
} # end pv_options
logical_volume "lvol1" {
usage=VxFS
size=46088192KB
blksize=1024
version=5
mount_point="/oracle1"
largefiles=FALSE
bad_block_relocate=true
contiguous_allocation=false
stripes=0
stripe_size=0KB
minor_number=0x01
disk[255/0/2.0.0.0]
Coolmar
Esteemed Contributor

Re: Golden Image to include Oracle on vg01?

I am also wondering, should I just make a skeleton of the OS as a golden Image and then make another image of just Oracle. Then I can run the golden image first and then build the logical volumes, etc for vg01 and then dump the image of Oracle onto the new system?
John Payne_2
Honored Contributor
Solution

Re: Golden Image to include Oracle on vg01?

The point of the Golden Image is that you can stick in all the things you want in that image. It's there so that you can stuff it full of everything, including Oracle SW, or whatever.

Now that I see this post, there should be no problems going from the rp4410 to the rp5430. Just take the image. When you run save_config, just name vg00 and vg01 to get it to save the configuration of both.

save_config -f /tmp/image.config vg00 vg01

Hope it helps
John
Spoon!!!!
Coolmar
Esteemed Contributor

Re: Golden Image to include Oracle on vg01?

Thanks John....so just run save_config and don't edit the file? I should just leave all the hardware addresses in it? When I run the ignite image on the 5430, will it be ok with putting everything into place then hardware-wise?