[Openais] Patch README.amf with corresponding conf files

Steven Dake sdake at redhat.com
Thu Sep 21 11:20:11 PDT 2006


Anders,

Good work.

Hans please feel free to merge (make sure to merge the configuration
examples in the conf directory).

I especially like the gap analysis from the specification, although it
looks like there is quite a bit of work left.

Regards
-steve

On Thu, 2006-09-21 at 12:44 +0200, Anders Eriksson wrote:
> This patch contains an update of README.amf to match current state of 
> the implementation. README.amf now also includes a detailed list of what 
> is currently NOT implemented.
> 
> README.amf includes now, as before, a "demo example". This example 
> requires a specific configuration to run the way it is described. 
> Because of that versions of amf.conf and openais.conf which match the 
> demo example are attached.
> 
> Regards,
> Anders Eriksson
> plain text document attachment (amf_example.conf)
> # AMF Example configuration file, please read README.amf
> # - 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_CLUSTER {
> 	saAmfClusterStartupTimeout=3000
> 	safAmfNode = AMF1 {
> 		saAmfNodeSuFailOverProb=2000
> 		saAmfNodeSuFailoverMax=2
> 		saAmfNodeClmNode=seasc0035
> 	}
> #	safAmfNode = AMF2 {
> #		saAmfNodeSuFailOverProb=2000
> #		saAmfNodeSuFailoverMax=2
> #		saAmfNodeClmNode=p02
> #	}
> 	safApp = APP-1 {
> 		safSg = RAID {
> 			saAmfSGRedundancyModel=nplusm	
> 			saAmfSGNumPrefActiveSUs=1
> 			saAmfSGMaxActiveSIsperSUs=2
> 			saAmfSGNumPrefStandbySUs=1
> 			saAmfSGMaxStandbySIsperSUs=2
> 			saAmfSGCompRestartProb=100000
> 			saAmfSGCompRestartMax=2
> 			saAmfSGSuRestartProb=20000	
> 			saAmfSGSuRestartMax=3
> 			saAmfSGAutoAdjustProb=5000
> 			safSu = SERVICE_X_1 {
> 				saAmfSUHostedByNode=AMF1
> 				saAmfSUNumComponents=1
> 				safComp = A {
> 					saAmfCompCategory=sa_aware
> 					saAmfCompCapability=x_active_or_y_standby
> 					saAmfCompNumMaxActiveCsi=1
> 					saAmfCompNumMaxStandbyCsi=1
> 					saAmfCompDefaultClcCliTimeout = 500
> 					saAmfCompDefaultCallbackTimeOut = 500
> 					saAmfCompInstantiateCmd = /tmp/aisexample/clc_cli_script
> 					saAmfCompInstantiateCmdArgv= instantiate /tmp/aisexample/testamf1
> 					saAmfCompTerminateCmd = /tmp/aisexample/clc_cli_script
> 					saAmfCompTerminateCmdArgv = terminate
> 					saAmfCompCleanupCmd = /tmp/aisexample/clc_cli_script
> 					saAmfCompCleanupCmdArgv = cleanup
> 					saAmfCompCsTypes {
> 						A
> 					}
> 					saAmfCompCmdEnv {
> 						var1=val1
> 						var2=val2
> 					}
> 					saAmfCompRecoveryOnError=component_restart
> 					safHealthcheckKey = key1 {
> 						saAmfHealthcheckPeriod = 5000
> 						saAmfHealthcheckMaxDuration = 350
> 					}
> 				}
> 				safComp = B {
> 					saAmfCompCategory=sa_aware
> 					saAmfCompCapability=x_active_or_y_standby
> 					saAmfCompNumMaxActiveCsi=1
> 					saAmfCompNumMaxStandbyCsi=1
> 					saAmfCompDefaultClcCliTimeout = 500
> 					saAmfCompDefaultCallbackTimeOut = 500
> 					saAmfCompInstantiateCmd = /tmp/aisexample/clc_cli_script
> 					saAmfCompInstantiateCmdArgv= instantiate /tmp/aisexample/testamf1
> 					saAmfCompTerminateCmd = /tmp/aisexample/clc_cli_script
> 					saAmfCompTerminateCmdArgv = terminate
> 					saAmfCompCleanupCmd = /tmp/aisexample/clc_cli_script
> 					saAmfCompCleanupCmdArgv = cleanup
> 					saAmfCompCsTypes {
> 						B
> 					}
> 					saAmfCompCmdEnv {
> 						var1=val1
> 						var2=val2
> 					}
> 					saAmfCompRecoveryOnError=component_restart
> 					safHealthcheckKey = key1 {
> 						saAmfHealthcheckPeriod = 1000
> 						saAmfHealthcheckMaxDuration = 350
> 					}
> 				}
> 			}
> 			safSu = SERVICE_X_2 {
> 				clccli_path=/tmp/aisexample
> 				saAmfSUHostedByNode=AMF1
> #				saAmfSUHostedByNode=AMF2
> 				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=/tmp/aisexample
> 						COMP_BINARY_NAME=testamf1
> 						var1=val1
> 						var2=val2
> 					}
> 					saAmfCompRecoveryOnError=component_restart
> 					safHealthcheckKey = key1 {
> 						saAmfHealthcheckPeriod = 5000
> 						saAmfHealthcheckMaxDuration = 350
> 					}
> 					safHealthcheckKey = key2 {
> 						saAmfHealthcheckPeriod = 3000
> 						saAmfHealthcheckMaxDuration = 350
> 					}
> 				}
> 				safComp = B {
> 					saAmfCompCategory=sa_aware
> 					saAmfCompCapability=x_active_or_y_standby
> 					saAmfCompNumMaxActiveCsi=1
> 					saAmfCompNumMaxStandbyCsi=1
> 					saAmfCompDefaultClcCliTimeout = 500
> 					saAmfCompDefaultCallbackTimeOut = 500
> 					saAmfCompInstantiateCmd = /tmp/aisexample/clc_cli_script
> 					saAmfCompInstantiateCmdArgv= instantiate /tmp/aisexample/testamf1
> 					saAmfCompTerminateCmd = /tmp/aisexample/clc_cli_script
> 					saAmfCompTerminateCmdArgv = terminate
> 					saAmfCompCleanupCmd = /tmp/aisexample/clc_cli_script
> 					saAmfCompCleanupCmdArgv = cleanup
> 					saAmfCompCsTypes {
> 						B
> 					}
> 					saAmfCompCmdEnv {
> 						var1=val1
> 						var2=val2
> 					}
> 					saAmfCompRecoveryOnError=component_restart
> 					safHealthcheckKey = key1 {
> 						saAmfHealthcheckPeriod = 5000
> 						saAmfHealthcheckMaxDuration = 350
> 					}
> 				}
> 			}
> 		}
> 		safSi = WL1 {
> 			saAmfSINumCSIs=2
> 			safCsi = WL1-1 {
> 				saAmfCSTypeName = A
> 			}
> 			safCsi = WL1-2 {
> 				saAmfCSTypeName = B
> 				safCSIAttr = attr1 {
> 					val1
> 					val2
> 				}
> 				safCSIAttr = good_health_limit {
> 					10
> 				}
> 			}
> 		}
> 		safSi = WL2 {
> 			saAmfSINumCSIs=2
> 			safCsi = WL2-1 {
> 				saAmfCSTypeName = A
> 			}
> 			safCsi = WL2-2 {
> 				saAmfCSTypeName = B
> 				safCSIAttr = attr1 {
> 					val1
> 					val2
> 				}
> 				safCSIAttr = good_health_limit {
> 					10
> 				}
> 			}
> 		}
> 		safCSType = A {
> 			safAmfCSAttrName = attr1
> 			safAmfCSAttrName = good_health_limit
> 		}
> 		safCSType = B {
> 		}
> 	}
> }
> 
> plain text document attachment (openais_amf_example.conf)
> # Please read the openais.conf.5 manual page
> 
> totem {
> 	version: 2
> 	secauth: off
> 	threads: 0
> 	interface {
> 		ringnumber: 0
> 		bindnetaddr: 127.0.0.0
> 		mcastaddr: 226.94.1.1
> 		mcastport: 5405
> 	}
> }
> 
> logging {
> 	fileline: off
> 	to_stderr: yes
> 	to_file: yes
> 	logfile: /tmp/openais.log
> 	debug: off
> 	timestamp: on
> 	logger {
> 		ident: AMF
> 		debug: off
> 		tags: enter|leave|trace1|trace2|trace3|trace4|trace6
> 	}
> }
> 
> amf {
> 	mode: enabled
> }
> 
> aisexec {
>     user: nisse
>     group: cello
> }
> _______________________________________________
> Openais mailing list
> Openais at lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/openais




More information about the Openais mailing list