Hitachi Multi Payment Network Extensible Database Option for Biller
HAモニタの定義の記述例を次に示します。HAモニタの定義については,「4.1.4 HAモニタの定義」を参照してください。
/* server定義文(通信サーバBaseの場合) */
server name
/home/ft_start
,alias
mpnBASE
,acttype
monitor
,termcommand
/home/ft_term
,initial
online
,group
MPNGRP:exchange
,parent
mpnRES
,lan_updown
use
,waitserv_exec
yes;
/* server定義文(通信サーバfor Biller(OpenTP1)の場合) */
server name
/home/OpenTP1
,alias
mpnTP1
,acttype
server
,patrol
10
,initial
online
,pairdown
nouse
,group
MPNGRP:exchange
,switchtype
switch
,parent
mpnRES
,lan_updown
use;
/* server定義文(ORACLEの場合) */
server name
/home/db_start
,alias
mpnDB
,acttype
monitor
,termcommand
/home/db_term
,patrol
10
,initial
online
,pairdown
nouse
,group
MPNGRP:exchange
,servexec_retry
0
,parent
mpnRES
,lan_updown
use
,waitserv_exec
yes
,patrolcommand
/home/oracle/mpnoramon;
/* resource定義文 */
resource alias
mpnRES
,group
MPNGRP:exchange
,disk
/dev/vg02
,fs_name
/dev/MQHA:/dev/HMPNFTflist
,fs_mount_dir
/MQHA:/var/mpncm/rcvfile;
|
/* server定義文(通信サーバBaseの場合) */
server name
/home/ft_start
,alias
mpnBASE
,acttype
monitor
,termcommand
/home/ft_term
,initial
standby
,group
MPNGRP:exchange
,parent
mpnRES
,lan_updown
use
,waitserv_exec
yes;
/* server定義文(通信サーバfor Biller(OpenTP1)の場合) *
server name
/home/OpenTP1
,alias
mpnTP1
,acttype
server
,patrol
10
,initial
standby
,pairdown
nouse
,group
MPNGRP:exchange
,switchtype
switch
,parent
mpnRES
,lan_updown
use;
/* server定義文(ORACLEの場合) */
server name
/home/db_start
,alias
mpnDB
,acttype
monitor
,termcommand
/home/db_term
,patrol
10
,initial
standby
,pairdown
nouse
,group
MPNGRP:exchange
,servexec_retry
0
,parent
mpnRES
,lan_updown
use
,waitserv_exec
yes
,patrolcommand
/home/oracle/mpnoramon;
/* resource定義文 */
resource alias
mpnRES
,group
MPNGRP:exchange
,disk
/dev/vg02
,fs_name
/dev/MQHA:/dev/HMPNFTflist
,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.105 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.105 delete |
#!/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) 2005, 2006, Hitachi, Ltd.