05-17-2011
Hi aixlover:
I feel that you have miss some details to helpyou. For example you have mention Oracle RAC, ZFS and other.. but what about the flavor/release of you oracle BD (standard / enterprise).
Also are "far" the other M5K? or are a metro lan. I assumed that you have two storage so every M5K have their own lun.
Have you thought about Oracle Stand-by DB?
Do you have dns (internal one) to make smooth transition from M5K-A to M5K-B without the mess of IP address?
The NBU is enterprise 6.5X or greater? San Option/?
Since you miss all that I will told you have I have done!
First of all I you have UFS for boot; SVM to make easy and fast backups to the other M5K.
If zones resides on ZFS you can use zfs snapshots.
For one Oracle BD 10R2 (without stand-by) I made the following. take the secondary disk off-mirror to the other equipment. Make a SVM mirror so I have perfectly 4 disk with the exact data.
After that setup solaris containers and via zonecfg -z ZoneName export -f ZoneName.wrk so easly can make clones of the zones.
Since I don't have sun availability suite or other fancy sfw. I made a script with rsync that made copies of all datafiles and other oracle stuff to the clone zone. Yes, It works without having to shutdown the oracle engine since it copies at byte level.
Of course; to make fail proof you must do almost do one copy with the engine down (but since I make rsync every hour ; this one takes seconds). With std edition you can have the clone zone shutdown; rsync archives ; boot the zone close; open the BD in standby mode apply archives and shutdown the wall thing (container; since licenses ask to have the stand by powereoff according the licensed CPUs count). You can make funny things with RMAN but your setup will vary taking count of backup window, bd edition, acceptable downtime, lan distance / speed. etc.
Hope help you something!!
This User Gave Thanks to rbadillarx For This Post:
8 More Discussions You Might Find Interesting
1. Solaris
Hi all,
I'm new in this domain, and on this operating system, but in my job, i have to find a way to make a disaster recovery plan for our server (sun solaris) which has the oracle database. I don't have any standby servers to be used for data replication, i only want to use CD's to put on... (4 Replies)
Discussion started by: sam212
4 Replies
2. Solaris
Hi all
A couple of new M5000 servers will be arriving soon and I need to work out how to configure the underlying domains.
It will come with 4 x CPUS, 32 Gb of memory, 4 x HD, 2 x IOtrays.
Reading the XSCF manual, I can configure the item into 2 domains, something about uni / quad xsb.... (9 Replies)
Discussion started by: sbk1972
9 Replies
3. AIX
Hello everyone
I need to shutdown all my servers and my storage. I would like to hear your opinions about this.
This is my little plan about all this.
1.-Stop the applications
2.-Stop the webservers
3.-Stop the ihs
4.-Stop the databases
5.-Verify no process are running
6.-Close the... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
4. Solaris
Hi, I've got an issue here: After I logon to the xscf prompt of this Sun M5000 and did 'XSCF> version -c xcp', the xscf prompt disappeared. I can't get it back and can't log out.
exit
rebootxscf
logout
#.
#>
#>
~#
~#
exit
sendbreak
exit
I tried to set the Mode Switch to the service... (3 Replies)
Discussion started by: aixlover
3 Replies
5. UNIX for Advanced & Expert Users
Hi,
This Sun M5000 currently has a single domain (0) created. Solaris 10 is installed on this domain with some local zones. Now we need to add a secondary hardware domain (1) to this M5000. My question: Can we keep the current OS settings on domain 0 when adding the secondary domain 1?
... (0 Replies)
Discussion started by: aixlover
0 Replies
6. Solaris
Hi,
This Sun M5000 currently has a single domain (0) created. Solaris 10 is installed on this domain with some local zones. Now we need to add a secondary hardware domain (1) to this M5000. My question: Can we keep the current OS settings on domain 0 when adding the secondary domain 1?
Thank... (5 Replies)
Discussion started by: aixlover
5 Replies
7. Solaris
Hi,
I've configured this Sun M5000 to use two system domains (added a second domain to it). The following is the info about the settings. The showdevices command can't show devices on domain 1 because Solaris is not loaded on it yet.
My question: How can I confirm the hardware devices such as... (5 Replies)
Discussion started by: aixlover
5 Replies
8. Hardware
I have an M5K with disk issues I'm trying to troubleshoot, and it's causing me some confusion. I know the host has four on-board HDDs, but the format command's output shows c0t0d0, c0t1d0, c3t0d0, and c3t1d0. cfgadm -al shows c0t3d0 as the DVD-ROM drive, and c1 and c2 as SAN disks. Confused yet?
... (2 Replies)
Discussion started by: desertdenizen
2 Replies
LEARN ABOUT DEBIAN
ocf_heartbeat_oracle
OCF_HEARTBEAT_ORACLE(7) OCF resource agents OCF_HEARTBEAT_ORACLE(7)
NAME
ocf_heartbeat_oracle - Manages an Oracle Database instance
SYNOPSIS
oracle [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
Resource script for oracle. Manages an Oracle Database instance as an HA resource.
SUPPORTED PARAMETERS
sid
The Oracle SID (aka ORACLE_SID). (unique, required, string, no default)
home
The Oracle home directory (aka ORACLE_HOME). If not specified, then the SID along with its home should be listed in /etc/oratab.
(optional, string, no default)
user
The Oracle owner (aka ORACLE_OWNER). If not specified, then it is set to the owner of file $ORACLE_HOME/dbs/*${ORACLE_SID}.ora. If this
does not work for you, just set it explicitely. (optional, string, no default)
ipcrm
Sometimes IPC objects (shared memory segments and semaphores) belonging to an Oracle instance might be left behind which prevents the
instance from starting. It is not easy to figure out which shared segments belong to which instance, in particular when more instances
are running as same user. .sp What we use here is the "oradebug" feature and its "ipc" trace utility. It is not optimal to parse the
debugging information, but I am not aware of any other way to find out about the IPC information. In case the format or wording of the
trace report changes, parsing might fail. There are some precautions, however, to prevent stepping on other peoples toes. There is also
a dumpinstipc option which will make us print the IPC objects which belong to the instance. Use it to see if we parse the trace file
correctly. .sp Three settings are possible: .sp - none: don't mess with IPC and hope for the best (beware: you'll probably be out of
luck, sooner or later) - instance: try to figure out the IPC stuff which belongs to the instance and remove only those (default; should
be safe) - orauser: remove all IPC belonging to the user which runs the instance (don't use this if you run more than one instance as
same user or if other apps running as this user use IPC) .sp The default setting "instance" should be safe to use, but in that case we
cannot guarantee that the instance will start. In case IPC objects were already left around, because, for instance, someone mercilessly
killing Oracle processes, there is no way any more to find out which IPC objects should be removed. In that case, human intervention is
necessary, and probably _all_ instances running as same user will have to be stopped. The third setting, "orauser", guarantees IPC
objects removal, but it does that based only on IPC objects ownership, so you should use that only if every instance runs as separate
user. .sp Please report any problems. Suggestions/fixes welcome. (optional, string, default instance)
clear_backupmode
The clear of the backup mode of ORACLE. (optional, boolean, default false)
shutdown_method
How to stop Oracle is a matter of taste it seems. The default method ("checkpoint/abort") is: .sp alter system checkpoint; shutdown
abort; .sp This should be the fastest safe way bring the instance down. If you find "shutdown abort" distasteful, set this attribute to
"immediate" in which case we will .sp shutdown immediate; .sp If you still think that there's even better way to shutdown an Oracle
instance we are willing to listen. (optional, string, default checkpoint/abort)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 120.
stop
Stops the resource. Suggested minimum timeout: 120.
status
Performs a status check. Suggested minimum timeout: 5.
monitor
Performs a detailed status check. Suggested minimum timeout: 30. Suggested interval: 120.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
methods
Suggested minimum timeout: 5.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a oracle resource using the crm(8) shell:
primitive p_oracle ocf:heartbeat:oracle
params
sid=string
op monitor depth="0" timeout="30" interval="120"
SEE ALSO
http://www.linux-ha.org/wiki/oracle_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_ORACLE(7)