Hitachi Multi Payment Network communications server for Bank
HAモニタの定義の記述例を次に示します。HAモニタの定義については,「4.4 HAモニタの定義」を参照してください。
/* server定義文(通信サーバfor Bank(OpenTP1)の場合) */
server name
/home/OpenTP1
,alias
mpnBANK
,acttype
server
,patrol
10
,initial
online
,pairdown
nouse
,group
MPNSVR:exchange
,switchtype
switch
,lan_updown
use
,parent
mpnRES;
/* server定義文(HiRDBの場合) */
server name
/home/HiRDB
,alias
mpnDB
,acttype
server
,patrol
10
,initial
online
,pairdown
nouse
,group
MPNSVR:exchange
,switchtype
switch
,lan_updown
use
,parent
mpnRES;
/* resource定義文 */
resource alias
mpnRES
,group
MPNSVR:exchange
,disk
/dev/vg01
,fs_name
/dev/MQHAlvl:/dev/lvlft01
,fs_mount_dir
/MQHA:/var/mpncm/rcvfile;
|
/* server定義文(通信サーバfor Bank(OpenTP1)の場合) */
server name
/home/OpenTP1
,alias
mpnBANK
,acttype
server
,patrol
10
,initial
standby
,pairdown
nouse
,group
MPNSVR:exchange
,switchtype
switch
,lan_updown
use
,parent
mpnRES;
/* server定義文(HiRDBの場合) */
server name
/home/HiRDB
,alias
mpnDB
,acttype
server
,patrol
10
,initial
standby
,pairdown
nouse
,group
MPNSVR:exchange
,switchtype
switch
,lan_updown
use
,parent
mpnRES;
/* resource定義文 */
resource alias
mpnRES
,group
MPNSVR:exchange
,disk
/dev/vg01
,fs_name
/dev/MQHAlvl:/dev/lvlft01
,fs_mount_dir
/MQHA:/var/mpncm/rcvfile;
|
environment name host_HA01
,address
1
,patrol
30
,lan path11
,lanport
HAmon;
function cpudown
online,
pathpatrol
5,
connect_retry
5:200,
usrcommand
/home/SP/bin/usrcmd_mpn;
|
environment name host_HA02
,address
2
,patrol
30
,lan path21
,lanport
HAmon;
function cpudown
online,
pathpatrol
5,
connect_retry
5:200,
usrcommand
/home/SP/bin/usrcmd_mpn;
|
#!/bin/sh # Network Configuration for ONLINE # set -x /etc/ifconfig en0 inet xxx.xxx.xxx.103 alias netmask 255.255.255.0 broadcast xxx.xxx.xxx.255 |
#!/bin/sh # Network Configuration for OFFLINE # set -x /etc/ifconfig en0 inet xxx.xxx.xxx.103 delete |
#!/bin/sh # Network Configuration for ONLINE # set -x /etc/ifconfig en0 inet xxx.xxx.xxx.104 alias netmask 255.255.255.0 broadcast xxx.xxx.xxx.255 |
#!/bin/sh # Network Configuration for OFFLINE # set -x /etc/ifconfig en0 inet xxx.xxx.xxx.104 delete |
All Rights Reserved. Copyright (C) 2003, 2006, Hitachi, Ltd.