[Openais] No component starting
Ola Lundqvist
ola.lundqvist at tietoenator.com
Mon Sep 4 05:42:31 PDT 2006
Hi
I have found the problem now. The application did not properly register
itself to AMF. Now it works fine.
Thanks for the help.
// Ola
Ola Lundqvist wrote:
> Hi
>
> Hans Feldt wrote:
>>SU names in the same SG needs to be unique. Both your Sus are named
>>'OAM-SU-1'.
>
> Thanks for pointing that out. However that did not solve the problem,
> unfortunatly.
>
>>Every configuration object needs to be uniquely identified, read about
>>the distinguished name (DN) concept.
>
> Regards,
>
> // Ola
>
>>/Hans
>>
>>Ola Lundqvist wrote:
>>>Hi
>>>
>>>Now I'm trying to determine why the CSI is not assigned to the
>>>components. It seems to me like the SU is considered out of service.
>>>
>>>I can see that the component is instantiated and the application is
>>>assigned.
>>>
>>>Sep 4 9:10:44.768886 [amf.c:1821] Cluster startup timeout, assigning
>>>workload
>>>Sep 4 9:10:44.769059 [amfsg.c:1209] (inservice=0)
>>>(active_sus_needed=1) (standby_sus_needed=1)
>>>Sep 4 9:10:44.769116 [amfsg.c:1215] assignment VI - partial assignment
>>>with SIs drop outs
>>>Sep 4 9:10:44.769170 [amfsg.c:1265] (inservice=0) (assigning active=0)
>>>(assigning standby=0) (assigning spares=0)
>>>Sep 4 9:10:44.769233 [amfcluster.c:0213] Cluster: application COM-A-1
>>>assigned.
>>>Sep 4 9:10:44.769677 [totemsrp.c:2132] releasing messages up to and
>>>including 11
>>>
>>>After this nothing happens.
>>>
>>>Attaching my amf.conf file.
>>>
>>>Regards,
>>>
>>>// Ola
>>>
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>safAmfCluster = COM_CLUSTER {
>>> saAmfClusterStartupTimeout=3000
>>> safAmfNode = node-com-1 {
>>> saAmfNodeSuFailOverProb=2000
>>> saAmfNodeSuFailoverMax=2
>>> saAmfNodeClmNode=node-com-1
>>> }
>>> safAmfNode = node-com-2 {
>>> saAmfNodeSuFailOverProb=2000
>>> saAmfNodeSuFailoverMax=2
>>> saAmfNodeClmNode=node-com-2
>>> }
>>> safApp = COM-A-1 {
>>> safSg = COM-SG-1 {
>>> saAmfSGRedundancyModel=nplusm
>>> saAmfSGNumPrefActiveSUs=1
>>> saAmfSGMaxActiveSIsperSUs=1
>>> saAmfSGNumPrefStandbySUs=1
>>> saAmfSGMaxStandbySIsperSUs=1
>>> saAmfSGCompRestartProb=100000
>>> saAmfSGCompRestartMax=1
>>> saAmfSGSuRestartProb=20000
>>> saAmfSGSuRestartMax=1
>>> saAmfSGAutoAdjustProb=5000
>>> safSu = OAM-SU-1
>>> saAmfSUHostedByNode=node-com-1
>>> saAmfSUNumComponents=1
>>> safComp = OAM-C-1 {
>>> saAmfCompCategory=sa_aware
>>> saAmfCompCapability=x_active_or_y_standby
>>> saAmfCompNumMaxActiveCsi=1
>>> saAmfCompNumMaxStandbyCsi=1
>>> saAmfCompDefaultClcCliTimeout = 500
>>> saAmfCompDefaultCallbackTimeOut = 500
>>> saAmfCompInstantiateCmd = /opt/com/bin/cominit
>>> saAmfCompInstantiateCmdArgv= instantiate oam -
>>> saAmfCompTerminateCmd = /opt/com/bin/cominit
>>> saAmfCompTerminateCmdArgv = terminate oam 0
>>> saAmfCompCleanupCmd = /opt/com/bin/cominit
>>> saAmfCompCleanupCmdArgv = cleanup oam 0
>>> saAmfCompCsTypes {
>>> OAM
>>> }
>>> saAmfCompCmdEnv {
>>> }
>>> saAmfCompRecoveryOnError=component_restart
>>> safHealthcheckKey = key1 {
>>> saAmfHealthcheckPeriod = 5000
>>> saAmfHealthcheckMaxDuration = 350
>>> }
>>> }
>>> }
>>> safSu = OAM-SU-1
>>> saAmfSUHostedByNode=node-com-2
>>> saAmfSUNumComponents=1
>>> safComp = OAM-C-1 {
>>> saAmfCompCategory=sa_aware
>>> saAmfCompCapability=x_active_or_y_standby
>>> saAmfCompNumMaxActiveCsi=1
>>> saAmfCompNumMaxStandbyCsi=1
>>> saAmfCompDefaultClcCliTimeout = 500
>>> saAmfCompDefaultCallbackTimeOut = 500
>>> saAmfCompInstantiateCmd = /opt/com/bin/cominit
>>> saAmfCompInstantiateCmdArgv= instantiate oam -
>>> saAmfCompTerminateCmd = /opt/com/bin/cominit
>>> saAmfCompTerminateCmdArgv = terminate oam 0
>>> saAmfCompCleanupCmd = /opt/com/bin/cominit
>>> saAmfCompCleanupCmdArgv = cleanup oam 0
>>> saAmfCompCsTypes {
>>> OAM
>>> }
>>> saAmfCompCmdEnv {
>>> }
>>> saAmfCompRecoveryOnError=component_restart
>>> safHealthcheckKey = key1 {
>>> saAmfHealthcheckPeriod = 5000
>>> saAmfHealthcheckMaxDuration = 350
>>> }
>>> }
>>> }
>>> }
>>> safSi = OAMWL {
>>> saAmfSINumCSIs=1
>>> safCsi = OAM-1 {
>>> saAmfCSTypeName = OAM
>>> }
>>> }
>>> safCSType = OAM {
>>> }
>>> }
>>>}
>>>
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Openais mailing list
>>>Openais at lists.osdl.org
>>>https://lists.osdl.org/mailman/listinfo/openais
>
>
--
Ola Lundqvist, Civilingenjör Informationsteknologi
TietoEnator R&D Services AB, Telecom Platforms
Email: ola.lundqvist at tietoenator.com
Phone: +46 (0)54-29 42 17
More information about the Openais
mailing list