Hi,
I still have bit confusion.
So, i have to install db2 on both the servers with the same set of users for ex. dasusr1, db2inst1, db2fenc1.
Now from my server1, i have to issue the create database command pointing to the external storage say for ex: /data1/db2data
So,on the server2 i should not issue the create database command ,am i right ?
But when the first server fails, and the common disk is mapped to the second server,how my second server will identify the database as i have not issued the create database command from that server.
Can you please elaborate and give me with example set.
Thanks
sri
Quote:
Originally posted by quigleyd
You will need to install DB2 on both servers. Also have the disks where you have the containers and the database installed, NFS mounted.
We create a mountpoint /db2/database/ and for the failover, we mount those disk on the new server and then just have hacmp bring everything up. Its all automatic. We also have jobs the sync up both systems.(root vg's) for password, ids, files that are ftp'ed, etc.
This way when 1 server fails, the disks are automatically mounted on the 2nd server, and everything looks the same.
The database disk that are mounted are mirrored so if there are any problems, we won't loose data.
|