Hi Anatoly,
After removing the invalid parameter ais was able to run but it did not
automatically instantiate the application. Below is my amf configuration
based on your sample template. Kindly review my configuration and see if
there's some problem with my configuration. Thanks.
Regards,
Wilson
amf.conf
----------------------
# 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 = CLUSTER {
saAmfClusterStartupTimeout=3000
safAmfNode = 192.168.10.210 {
saAmfNodeSuFailOverProb=2000
saAmfNodeSuFailoverMax=10
}
safAmfNode = 192.168.10.212 {
saAmfNodeSuFailOverProb=2000
saAmfNodeSuFailoverMax=10
}
safApp = DB {
safSg = DBSG {
saAmfSGRedundancyModel=nplusm
saAmfSGNumPrefActiveSUs=1
saAmfSGMaxActiveSIsperSUs=1
saAmfSGNumPrefStandbySUs=1
saAmfSGMaxStandbySIsperSUs=1
saAmfSGCompRestartProb=100000
saAmfSGCompRestartMax=0
saAmfSGSuRestartProb=20000
saAmfSGSuRestartMax=0
saAmfSGAutoAdjustProb=5000
safSu = SERVICE2 {
clccli_path=/home/twelly/ais/test
saAmfSUHostedByNode=192.168.10.212
saAmfSUNumComponents=1
safComp = SERVER2 {
saAmfCompCategory=sa_aware
saAmfCompCapability=x_active_or_y_standby
saAmfCompNumMaxActiveCsi=1
saAmfCompNumMaxStandbyCsi=1
saAmfCompDefaultClcCliTimeout = 500
saAmfCompDefaultCallbackTimeOut =
500
saAmfCompInstantiateCmd =
/home/twelly/ais/test/clc_cli_script
saAmfCompInstantiateCmdArgv=
instantiate /home/twelly/ais/test/testamf
saAmfCompTerminateCmd =
/home/twelly/ais/test/clc_cli_script
saAmfCompTerminateCmdArgv =
terminate
saAmfCompCleanupCmd =
/home/twelly/ais/test/clc_cli_script
saAmfCompCleanupCmdArgv = cleanup
saAmfCompCsTypes {
CSITYPE
}
saAmfCompCmdEnv {
var1=val1
var2=val2
}
saAmfCompRecoveryOnError=component_failover
safHealthcheckKey = key1 {
saAmfHealthcheckPeriod =
5000
saAmfHealthcheckMaxDuration
= 350
}
}
}
safSu = SERVICE1 {
clccli_path=/home/twelly/ais/test
saAmfSUHostedByNode=192.168.10.210
saAmfSUNumComponents=1
safComp = SERVER1 {
saAmfCompCategory=sa_aware
saAmfCompCapability=x_active_or_y_standby
saAmfCompNumMaxActiveCsi=1
saAmfCompNumMaxStandbyCsi=1
saAmfCompDefaultClcCliTimeout = 500
saAmfCompDefaultCallbackTimeOut =
500
saAmfCompInstantiateCmd =
/home/twelly/ais/test/clc_cli_script
saAmfCompInstantiateCmdArgv=
instantiate /home/twelly/ais/test/testamf
saAmfCompTerminateCmd =
/home/twelly/ais/test/clc_cli_script
saAmfCompTerminateCmdArgv =
terminate
saAmfCompCleanupCmd =
/home/twelly/ais/test/clc_cli_script
saAmfCompCleanupCmdArgv = cleanup
saAmfCompCsTypes {
CSITYPE
}
saAmfCompCmdEnv {
var1=val1
var2=val2
}
saAmfCompRecoveryOnError=component_failover
safHealthcheckKey = key1 {
saAmfHealthcheckPeriod =
5000
saAmfHealthcheckMaxDuration
= 350
}
}
}
}
safSi = SI {
saAmfSINumCSIs=1
safCsi = CSI {
saAmfCSTypeName = CSITYPE
}
}
safCSType = CSITYPE {
}
}
}
-----Original Message-----
From: Anatoly Shirokov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 20, 2008 1:28 AM
To: Wilson Talaugon
Cc: [email protected]
Subject: Re: [Openais] OpenAIS amf config for 2-node configuration
Wilson Talaugon wrote:
>
> I tried your sample configuration and I get a segmentation fault in
> amf_config_read(). It seems like it didn't like the following line:
> saAmfNodeClmNode=node1
Ok, try to remove this parameter.
Gook luck,
Anatoly.
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais