I follow building a real-time mode,and finish configuration,but have many error.

Submitted by zhangjuan on Wed, 2006-06-14 02:34.

I follow building a real-time mode,step by step.but have many error.
30 problems encountered in project [microtca]
[snmpAgent] : WARNING - Component has no associated resources
[GigeComp3] : ERROR - One of associated resources has provisioning as enabled with associated device object(s) but HAL Library is not selected
[GigeComp3] : ERROR - One of associated resources has prov as enabled but OM Library is not selected
[GigeComp3] : ERROR - PROV LIB for component is not selected but associated resource has prov as enabled
[GigeComp4] : ERROR - One of associated resources has provisioning as enabled with associated device object(s) but HAL Library is not selected
[GigeComp4] : ERROR - One of associated resources has prov as enabled but OM Library is not selected
[GigeComp4] : ERROR - PROV LIB for component is not selected but associated resource has prov as enabled
[GigeComp5] : ERROR - One of associated resources has provisioning as enabled with associated device object(s) but HAL Library is not selected
[GigeComp5] : ERROR - One of associated resources has prov as enabled but OM Library is not selected
[GigeComp5] : ERROR - PROV LIB for component is not selected but associated resource has prov as enabled
[GigeComp1] : ERROR - One of associated resources has provisioning as enabled with associated device object(s) but HAL Library is not selected
[GigeComp1] : ERROR - One of associated resources has prov as enabled but OM Library is not selected
[GigeComp1] : ERROR - PROV LIB for component is not selected but associated resource has prov as enabled
[GigeComp2] : ERROR - One of associated resources has provisioning as enabled with associated device object(s) but HAL Library is not selected
[GigeComp2] : ERROR - One of associated resources has prov as enabled but OM Library is not selected
[GigeComp2] : ERROR - PROV LIB for component is not selected but associated resource has prov as enabled
[SysComp0] : WARNING - PROV LIB for component is selected but none of associated resources has prov as enabled
[SysComp1] : WARNING - PROV LIB for component is selected but none of associated resources has prov as enabled
[GigeComp3] : ERROR - One of associated resources has alarm as enabled with associated device object(s) but HAL Library is not selected
[GigeComp3] : ERROR - One of associated resources has alarm as enabled but OM Library is not selected
[GigeComp3] : ERROR - ALARM LIB for component is not selected but associated resource has alarm as enabled
[FPGAPortComponent] : ERROR - HAL Library should not be selected when none of the associated resources have associated device objects for provisioning/alarm
[SysComp0] : ERROR - OM lib is mandatory if one of the Prov/Alarm libis selected
[FPGABlade] : ERROR - Alarm Management should not be enabled without having any alarms associated to the resource
[T3Port] : ERROR - Alarm Management should not be enabled without having any alarms associated to the resource
[GigeSG1_0] : ERROR - ServiceGroup instance should have atleast two ServiceUnit instances associated if it's redundancy model is TWO_N
[SysComp0_1] : ERROR - Component instance name is duplicate
[GigeSI0_0] : ERROR - ComponentServiceInstance instance name is duplicate
[GigeSG2_0] : ERROR - ServiceInstance instance name is duplicate
[GigeSu1_1] : WARNING - ServiceUnit instance is not associated to any ServiceGroup instance

Submitted by sb on Thu, 2006-06-15 22:46.

The IDE is validating the model and is showing the validation errors and warnings. These can be corrected via the IDE as shown below.

[snmpAgent] : WARNING - Component has no associated resources
This is a message to show that the component is not associated to any resource. This can be ignored at present.

For all the errors involving libraries e.g. - '[GigeComp3] :ERROR - One of associated resources has prov as enabled but OM Library is not selected' you need to go and enable the appropriate library to true for the particular component.

For OM/HAL lib errors:

Right click on the desired component (GigeComp3 in the above case) ->
Properties ->
EO Properties [Edit] ->
Basic Libraries ->
Set OM and/or HAL to True

For Prov/Alarm lib errors:

Right click on the desired component ->
Properties ->
EO Properties [Edit] ->
EO Client Libraries ->
Set Alarm and/or Prov to True

For errors such as [FPGAPortComponent] : ERROR - HAL Library should not be selected when none of the associated resources have associated device objects for provisioning/alarm - you should set HAL lib to false for that component.

For errors like:
[FPGABlade] : ERROR - Alarm Management should not be enabled without having any alarms associated to the resource

- In Resource Editor double-click on resource [FPGABlade for e.g] to bring up property dialog - click on Alarm Management. This should be enabled only if the resource has associated alarms (you can see this by clicking on 'Associate Alarms' in 'Alarm Management' subtree). Disable Alarm Management to remove this error.

Similarly for errors like:
[SysComp0] : WARNING - PROV LIB for component is selected but none of associated resources has prov as enabled

- In Resource Editor double click on resource to bring up properties dialog - click on Provisioning. This should be enabled only if the resource has provisioning attributes defined (you can see this by clicking on Attributes' in 'Provisioning' subtree in Resource properties. Disable provisioning to remove this warning.

[GigeSG1_0] : ERROR - ServiceGroup instance should have atleast two ServiceUnit instances associated if it's redundancy model is TWO_N

Since you have defined GigeSG1_0 to be of a type that's redundancy model is 2N you must define 2 ServiceUnit instances in the associated service units for this SG.

Go to AMF Configuration->Node Instances
Create Service Unit instances for the SU type to which the SG type for GigeSG1_0 is associated. You can do this by creating/editing Node instances which contain SUs of that type and then creating the SU instances.
Go to AMF Configuration->Service Groups. For the row containing, GigeSG1_0 click on 'Edit..' in Associated Service Units column. This will show you a list of the defined Service Unit instances. Select 2 SU instances from the list.

For errors such as:
[SysComp0_1] : ERROR - Component instance name is duplicate

Every instance you define in the AMF configuration MUST have a unique name. Check the names of the instances so ensure that they do not repeat anywhere. In the above case, SysComp0_1 should not be the name of any other instance (this include instances of of all types - Node/SU/Component/SG/SI/CSI) defined in AMF configuration