473,395 Members | 1,422 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Primary-Contingency Setup

Hi,
DB2 UDB 8.1.5 on AIX 5.x (RS6K boxes).

Setup:
2 Primary DB2 servers running VCS (say, P1 and P2), Another Resilience
DB2 Server (say, R1) where just the DB2 software is installed.
Now, DB2 filesystems on P1 are mirrored continuously to the contingency
site. R1 can access these filesystems only when the mirror link is
broken. When this mirror link is broken, some startup scripts are
executed at R1 such that R1 is able to see all mirrored DB2
filesystems.
DB2 instance is not created on R1, only the DB2 users that exist on P1
have been created (user id, group id, group name, home directory etc on
R1 are exactly the same as that on P1).
DB2 instance specific entries have been added in "/etc/services" file.
Startup script edits the "db2nodes.cfg" to reflect the correct
hostname.

Question:
When the mirror links are broken, startup scripts run on R1 and DB2 is
started alright.
The question is simple - has anybody worked on this kind of setup and
can they share their experiences? Any additional settings that I am
missing out on? Any special test that I need to carry out?

I ask these questions because I am new to this kind of resilience - I
thought (and still do) that HACMP and HADR were better options anyday.
Please share your experiences and provide tips for the setup that I
described.

Regards,
Anurag

Nov 12 '05 #1
1 1475
We've been using such an arrangement on Windows and AIX for over 5 years.
For Windows, we mirror the entire hard disk content, so that when we boot
the system on the second computer centre, the machine IS the one from the
first computer centre. You only have to get the VLAN definitions right for
the IP address movement. For AIX, the system disk isn't mirrored, so there
are some additional steps in the takeover scripts, such as the host name.
I'm from the Windows side, so I don't have as much knowledge of the AIX
design.

Obviously you need to test it. Plan takeover tests, analyse what happens,
what worked, what didn't, fix what didn't, loop back to the beginning of
this sentence. Perform regular (say every 6 months) takeoever tests once you
have it working. Consider this as part of regular maintenance.

"Anurag" <an**********@gmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Hi,
DB2 UDB 8.1.5 on AIX 5.x (RS6K boxes).

Setup:
2 Primary DB2 servers running VCS (say, P1 and P2), Another Resilience
DB2 Server (say, R1) where just the DB2 software is installed.
Now, DB2 filesystems on P1 are mirrored continuously to the contingency
site. R1 can access these filesystems only when the mirror link is
broken. When this mirror link is broken, some startup scripts are
executed at R1 such that R1 is able to see all mirrored DB2
filesystems.
DB2 instance is not created on R1, only the DB2 users that exist on P1
have been created (user id, group id, group name, home directory etc on
R1 are exactly the same as that on P1).
DB2 instance specific entries have been added in "/etc/services" file.
Startup script edits the "db2nodes.cfg" to reflect the correct
hostname.

Question:
When the mirror links are broken, startup scripts run on R1 and DB2 is
started alright.
The question is simple - has anybody worked on this kind of setup and
can they share their experiences? Any additional settings that I am
missing out on? Any special test that I need to carry out?

I ask these questions because I am new to this kind of resilience - I
thought (and still do) that HACMP and HADR were better options anyday.
Please share your experiences and provide tips for the setup that I
described.

Regards,
Anurag

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: John Simmons | last post by:
How is it that even though I have the column "username" in my database set as a Primary key, using my PHP script to add new users to the database works without any errors even when signing up using...
5
by: Ghulam Farid | last post by:
Hi i have a table with primary key defined on col1 and col2. now i want to have col3 also included in primary key. when i alter the table it gives me error for duplicate rows. there is an option...
4
by: Mavis Tilden | last post by:
Hi all, So I've been reading the newsgroups, and reading a few books trying to learn SQL and SQL Server 2000. The books tell me I need a Primary Key, and that every table should have one. I know...
9
by: 101 | last post by:
Taking a course on SQL. They are saying you can get better performance by having multiple files for a group. They then graphically show an example of "Primary" with multiple data files. I have...
4
by: serge | last post by:
I ran into a table that is used a lot. Well less than 100,000 records. Maybe not a lot of records but i believe this table is used often. The table has 26 fields, 9 indexes but no Primary Key at...
5
by: shenanwei | last post by:
I have a primary server and backup server located in different physical sites. The primary server is live and ship logs to backup site every 5 minutes. The primary server is being full online...
4
by: misscrf | last post by:
Ok I have 2 issues. 1) I have a main candidate form with 2 subforms on a tab control: http://www.geocities.com/misscrf/images/contactcontinouscheckbox.jpg I have been encouraged to add these...
18
by: Thomas A. Anderson | last post by:
I am a bit confused in creating a composite primary key. I have three table with two of the tables containing primary keys. I have two of the tables (each with a primary key) having one to many...
8
by: Challenge | last post by:
Hi, I got error, SQL1768N Unable to start HADR. Reason code = "7", when I tried to start hadr primary database. Here are the hadr configuration of my primary db: HADR database role ...
4
by: Peter | last post by:
I am interested in informed feedback on the use of Constraints, Primary Keys and Unique. The following SQL statement creates a Bands tables for a database of bookings Bands into Venues, where the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.