Hitachi Multi Payment Network communications server for Biller
HAモニタの定義の記述例を次に示します。HAモニタの定義については,「4.5 HAモニタの定義」を参照してください。
/* server定義文(通信サーバBaseの場合) */
server name
/home/start_FT
,alias
mpnBASE
,acttype
monitor
,termcommand
/home/stop_FT
,initial
online
,group
MPNSVR:exchange
,lan_updown
use
,waitserv_exec
yes
,parent
mpnRES;
/* server定義文(通信サーバfor Biller(OpenTP1)の場合) */
server name
/home/OpenTP1
,alias
mpnTP1
,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/vg02
,fs_name
/dev/vg02/MQHAlvl:/dev/vg02/lvft01
,fs_mount_dir
/MQHA:/var/mpncm/rcvfile;
|
/* server定義文(通信サーバBaseの場合) */
server name
/home/start_FT
,alias
mpnBASE
,acttype
monitor
,termcommand
/home/stop_FT
,initial
standby
,group
MPNSVR:exchange
,lan_updown
use
,waitserv_exec
yes
,parent
mpnRES;
/* server定義文(通信サーバfor Biller(OpenTP1)の場合) */
server name
/home/OpenTP1
,alias
mpnTP1
,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/vg02
,fs_name
/dev/vg02/MQHAlvl:/dev/vg02/lvft01
,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 |
#!/bin/sh # Network Configuration for ONLINE # set -x /etc/ifconfig lan0:1 inet xxx.xxx.xxx.105 netmask 255.255.255.0 broadcast xxx.xxx.xxx.255 |
#!/bin/sh # Network Configuration for OFFLINE # set -x /etc/ifconfig lan0:1 inet 0.0.0.0 netmask 0 |
#!/bin/sh # Network Configuration for ONLINE # set -x /etc/ifconfig lan0:1 inet xxx.xxx.xxx.103 netmask 255.255.255.0 broadcast xxx.xxx.xxx.255 |
#!/bin/sh # Network Configuration for OFFLINE # set -x /etc/ifconfig lan0:1 inet 0.0.0.0 netmask 0 |
#!/bin/sh # Network Configuration for ONLINE # set -x /etc/ifconfig lan0:2 inet xxx.xxx.xxx.104 netmask 255.255.255.0 broadcast xx.xxx.xxx.255 |
#!/bin/sh # Network Configuration for OFFLINE # set -x /etc/ifconfig lan0:2 inet 0.0.0.0 netmask 0 |
All Rights Reserved. Copyright (C) 2003, 2007, Hitachi, Ltd.