cancel
Showing results for 
Search instead for 
Did you mean: 

Clone RHAS 4 Oracle Server

 
Paul Rafferty
Occasional Advisor

Clone RHAS 4 Oracle Server

Hello
I need to add a node to an Oracle Rac cluster the node will be identical to the two existing nodes - redhat linux AS 4 on a DL585 that has two 72 gig disks using raid 1 for the OS. Its connected to an emc shared storage for all other data.

My question is,

Can I break the mirror on one of my existing nodes and build the new server using the raid functionality.
Then once the system is built modify the server config to reflect new host configuration.

Thanks in advance.
13 REPLIES
Steven E. Protter
Exalted Contributor

Re: Clone RHAS 4 Oracle Server

Shalom,

Several options:

http://www.acronis.com
Costs money.

Norton Ghost. Costs less money but the box is offline during the backup.

http://www.mondorescue.org
Costs nothing, but there is no corporation behind it.

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
Paul Rafferty
Occasional Advisor

Re: Clone RHAS 4 Oracle Server

Does this mean using the mirrored raid to copy the server is not an option I could use.
aa-ee
Occasional Advisor

Re: Clone RHAS 4 Oracle Server

Not sure if I properly understand. But why don't you :-
* shutdown the existing server.
* Removed one of the mirror disks (I take it you using hardware RAID 1)
* Put removed drive in new server (same slot as the one removed from)
* Boot in single user mode.
* change ip and host name of new server
* reboot new server
* restart old server (fail missing drive)
* replace missing disks

Hoppe this helps
Adrian
Paul Rafferty
Occasional Advisor

Re: Clone RHAS 4 Oracle Server

Hi,
Thats exactly what I want to do.
It seems, to me anyway, the simplest, cleanest way to replicate a server, o/s,
Patches and software.

I was not sure if there were many things to look out for, and why it wouldn't be a common way of replicating a server with the same hardware config ie mirrored disks.

I'll talk to Oracle about the cluster config and the mods required.

But with the o/s once the hostname and network / san configurations are modified
what else would need modifying is the redhat serial number kept somewhere on the server?

Would I need to change this for up2date support, I will have all the new license details.



aa-ee
Occasional Advisor

Re: Clone RHAS 4 Oracle Server

Yes, you will need to re-register the up2date. Also if you use OCFS you will need to :-

# after changing a NIC (MAC), regen a new GUID
ocfs_uid_gen -r
then:
mount -t ocfs -o reclaimid /dev/diskpart /file/system

Not sure about the Orlace stuff, we are supported by "Oracle on Demand"
aa-ee
Occasional Advisor

Re: Clone RHAS 4 Oracle Server

We do our server builds via a kickstart server but hard to keep up to date.
Hagmann Mike
Occasional Advisor

Re: Clone RHAS 4 Oracle Server

Hi Paul

we do our Server build with a self made System Clone ( based on Rsync )

How big is your RAC Cluster ? We will test also a RAC installation with DL585. We are now build up a Linux Infrastruktur for our SAP Env. with Red Hat Cluster / GFS with DL585.

Maybe we can share some Information about Linux Clustering.

Regards Mike
Paul Rafferty
Occasional Advisor

Re: Clone RHAS 4 Oracle Server

Hi,
Currently we have just the two nodes.
The third is arriving within the next week or so with the fourth node to follow a couple of weeks later.

We are running 64 bit and have both oracle 9 on ocfs 2 and version 10 on asm. Whilst this configuration is supported the advice is to move away from the Multiversioned Rac to just running 10 which we intend to do, but probabley not til next year.


So far we haven't really applied any great load to the system but this is about to change as we start to shift more stuff onto it.

Paul.
Hagmann Mike
Occasional Advisor

Re: Clone RHAS 4 Oracle Server

Hi

that sounds great, and what do you use for the Clusterinterconnect?

we have several two nodes Cluster and also a 4 Node Cluster , all with SAP. all with SSI connected to a HP EVA.

regards
Mike
aa-ee
Occasional Advisor

Re: Clone RHAS 4 Oracle Server

Hi Paul,
Contact us if you wish. We are also in Australia running 2, 3x3 & 1, 1x1 cluster + other single nodes with 8 instances and growing. A full HP & EVA site on RHAS Linux.
adrian@bartter.com.au
Good luck
Adrian
Paul Rafferty
Occasional Advisor

Re: Clone RHAS 4 Oracle Server

Thanks very much.

My server arrives next week so I'll give it a go and let you know how I go.

bhart
Occasional Visitor

Re: Clone RHAS 4 Oracle Server

This will make an exact clone of your server.

On the new server insert the Installation CD and boot to Rescue mode.

Rescue login: root

# ifconfig eth0 10.233.1.132 netmask 255.255.252.0 up

# ping â c 3 192.168.1.101 *check connectivity to existing server

# netcat â l â p 9876 | dd of=/dev/cciss/c0d0


On the existing server

login as: root

# dd if=/dev/cciss/c0d0 bs=4M |netcat 192.168.1.100 9876

â ¢ prompt will return when cloning is finished.
bhart
Occasional Visitor

Re: Clone RHAS 4 Oracle Server

Sorry typos in the first responce.

Cloning a Server with netcat
On the new server insert the Installation CD and boot to Rescue mode.

Rescue login: root

# ifconfig eth0 10.233.1.132 netmask 255.255.252.0 up

# ping â c 3 192.168.1.101 *check connectivity to existing server

# netcat â l â p 9876 | dd of=/dev/cciss/c0d0


On the existing server

login as: root

# dd if=/dev/cciss/c0d0 bs=4M |netcat 192.168.1.100 9876

â ¢prompt will return when cloning is finished.