db2_redflag_linux_双机热备安装说明(Db2_redflag_linux_ hot standby installation instructions)
db2_redflag_linux_双机热备安装说明(Db2_redflag_linux_ hot standby installation instructions)
Hot standby installation and parameter configuration of DB2 on Linux
Catalog
1 prepare Redflag_Linux environment 1
1.1 server A settings: 1
1.2 server B settings 2
1.3 install Redflag_linux and disk array 2
1.4 create the following directory on disk array 2
2 DB2 installation step 3
2.1 install the DB2 database server 3 on the host machine (A)
3.2 install the DB2 database server 10 on the standby machine (B)
3 DB2 instance creation and configuration 10
3.1 create a database instance on the A machine, db2inst1 10
3.2 create a database instance on the B machine 11
4 configure dual standby 12
5 create database 13
6 heartbeat configuration 14
1 prepare the Redflag_Linux environment
Operating system: Redflag, DC, server, 5, for, IBM, pserver
Dual computer software: ha-mon-db2
Database: DB2ESE V8.2
Configuration environment:
Disk cabinet: DS4300
Device name: /dev/sdc1
Mount point: /db2data
File system: ext3
1.1 server A settings:
Node 1:
Host name: Trade1
Eth0: external service card, 192.168.1.11/255.255.255.0
Eth1: heartbeat card, 192.168.0.11/255.255.255.0
Hosts file:
192.168.1.10 Trade1
192.168.1.11 Trade1
192.168.1.12 trade2
192.168.0.11 HA1
192.168.0.12 HA2
1.2 server B settings
Node 2:
Host name: trade2
Eth0: external service card, 192.168.1.12/255.255.255.0
Eth1: heartbeat card, 192.168.0.12/255.255.255.0
Hosts file:
192.168.1.10 trade2
192.168.1.12 trade2
192.168.1.11 Trade1
192.168.0.12 HA2
192.168.0.11 HA1
1.3 install Redflag_linux and disk array
1. configuration using the storage manager configuration tool, DS4300 has two management ports, and the IP addresses are: 192.168.128.101 and 192.168.128.102
Typically, RADE5 creates only one primary partition disk,
2. install red flag DC server 5 for IBM pserver on two nodes respectively. Please ensure that when the OS is installed, the host and the optical disk array are disconnected
3. connect host and optical disk array
4. reload th