| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- # AMF Test configuration file
- # - Times in milliseconds
- # - clccli_path can be set on any level from application and down and will be
- # added to the CLI commands if they are not already specified with an absolute
- # path (begins with /).
- # WL - WorkLoad
- safAmfCluster = TEST_AMF {
- saAmfClusterStartupTimeout=3000
- safAmfNode = NODE1 {
- saAmfNodeSuFailOverProb=1000
- saAmfNodeSuFailoverMax=1
- saAmfNodeClmNode=pollux
- }
- safAmfNode = NODE2 {
- saAmfNodeSuFailOverProb=1000
- saAmfNodeSuFailoverMax=1
- saAmfNodeClmNode=castor
- }
- safApp = APP-1 {
- safSg = RAID {
- saAmfSGRedundancyModel=nplusm
- saAmfSGNumPrefActiveSUs=1
- saAmfSGMaxActiveSIsperSUs=2
- saAmfSGNumPrefStandbySUs=1
- saAmfSGMaxStandbySIsperSUs=2
- saAmfSGCompRestartProb=100000
- saAmfSGCompRestartMax=1
- saAmfSGSuRestartProb=20000
- saAmfSGSuRestartMax=1
- saAmfSGAutoAdjustProb=5000
- safSu = SERVICE_X_1 {
- saAmfSUHostedByNode=NODE1
- saAmfSUNumComponents=1
- safComp = A {
- saAmfCompCategory=sa_aware
- saAmfCompCapability=x_active_or_y_standby
- saAmfCompNumMaxActiveCsi=1
- saAmfCompNumMaxStandbyCsi=1
- saAmfCompDefaultClcCliTimeout = 500
- saAmfCompDefaultCallbackTimeOut = 500
- saAmfCompInstantiateCmd = /root/openais/trunk/test/clc_cli_script
- saAmfCompInstantiateCmdArgv= instantiate /root/openais/trunk/test/test_amf
- saAmfCompTerminateCmd = /root/openais/trunk/test/clc_cli_script
- saAmfCompTerminateCmdArgv = terminate
- saAmfCompCleanupCmd = /root/openais/trunk/test/clc_cli_script
- saAmfCompCleanupCmdArgv = cleanup
- saAmfCompCsTypes {
- A
- }
- saAmfCompCmdEnv {
- COMP_BINARY_PATH=/root/openais/trunk/test/
- COMP_BINARY_NAME=test_amf
- }
- saAmfCompRecoveryOnError=component_restart
- safHealthcheckKey = takeoverInvoked {
- saAmfHealthcheckPeriod = 1000
- saAmfHealthcheckMaxDuration = 350
- }
- }
- }
- safSu = SERVICE_X_2 {
- clccli_path=/root/openais/trunk/test/
- saAmfSUHostedByNode=NODE2
- saAmfSUNumComponents=1
- safComp = A {
- saAmfCompCategory=sa_aware
- saAmfCompCapability=x_active_or_y_standby
- saAmfCompNumMaxActiveCsi=1
- saAmfCompNumMaxStandbyCsi=1
- saAmfCompDefaultClcCliTimeout = 500
- saAmfCompDefaultCallbackTimeOut = 500
- saAmfCompInstantiateCmd = clc_cli_script
- saAmfCompInstantiateCmdArgv= instantiate
- saAmfCompTerminateCmd = clc_cli_script
- saAmfCompTerminateCmdArgv = terminate
- saAmfCompCleanupCmd = clc_cli_script
- saAmfCompCleanupCmdArgv = cleanup
- saAmfCompCsTypes {
- A
- }
- saAmfCompCmdEnv {
- COMP_BINARY_PATH=/root/openais/trunk/test/
- COMP_BINARY_NAME=test_amf
- }
- saAmfCompRecoveryOnError=component_restart
- safHealthcheckKey = takeoverInvoked {
- saAmfHealthcheckPeriod = 1000
- saAmfHealthcheckMaxDuration = 350
- }
- }
- }
- }
- safSi = WL1 {
- saAmfSINumCSIs=2
- safCsi = WL1-1 {
- saAmfCSTypeName = A
- safCSIAttr = interface {
- eth0:0
- }
- safCSIAttr = ip_addr {
- 10.0.0.100
- }
- }
- }
- safCSType = A {
- safAmfCSAttrName = interface
- safAmfCSAttrName = ip_addr
- }
- }
- }
|