Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Ganeshaym Respected Contributor.
Respected Contributor.
205 views

Service Map in OML

Dear All,

 

We have OML 9.20 installed on RHEL 6.4 in VCS Cluster.

 

We have managed around 20 servers in our Mgmt Server and were able to see the service map discovery of these nodes in Java GUI.

 

Now all of a sudden the service map does not show the nodes.

 

Please find the attached snap for your reference.

 

We even tried deassign and assign the service to a user but still it shows the same.

 

Is there a way we can refresh the service map in Java GUI.

 

Please help us to troubleshoot the same.

 

Best Regards......

0 Likes
14 Replies
Sandeep_P
New Member.

Re: Service Map in OML

Hi Ganeshyam

 

COuld you try this on agent node

 

1) ovagtrep -clearall

2) Remove the files in %ovdatadir%tmp\agtrep (if windows) or in linux /var/opt/OV/tmp/agtrep/ directory

3) ovagtrep -run <discovery policy name>

4) Wait for discovery action to complete say 10-15 mins

5) See if service map is updated

6) Else see try running this

ovagtrep -publish

 

If things still do not work please share the following with me archive of /var/opt/OV/tmp/agtrep/ from agent node along with /var/opt/OV/log/SYstem.txt

 

I will check those and update you

 

 

Thanks

Sandeep

0 Likes
Account_Closed
Not applicable

Re: Service Map in OML

if you removed the discovery policies from the managed nodes, the service map will get cleaned up. was this done?

 

check it out first by running on the managed node(s)-

  ovpolicy -l -poltype svcdisc

 

re-deploy the policies to the nodes if so and you should be set.

 

hth

- ramd

0 Likes
Ganeshaym Respected Contributor.
Respected Contributor.

Re: Service Map in OML

Hi,

 

We have executed the ovagtrep commands it creates the required files in agtrep folder but somehow OML mgmt server is not able to show it in Service View.

 

Have attached the system.txt file from one of the managed node.

 

Cant upload the archive of agtrep folder from the managed node due to access issue. But please find the output of agtrep foloder -

 

ls -l /var/opt/OV/tmp/agtrep/
-rw-rw-r-- 1 root bin 27086 Sep 21 12:52 812b9121-1738-49ea-9f0b-e80129006cd5_ci_refs.xml
-rw-rw-r-- 1 root bin  5805 Sep 21 12:52 812b9121-1738-49ea-9f0b-e80129006cd5.cis.xml
-rw-rw-r-- 1 root bin  9132 Sep 21 12:52 812b9121-1738-49ea-9f0b-e80129006cd5_ci.xml
-rw-rw-r-- 1 root bin 13379 Sep 21 12:52 812b9121-1738-49ea-9f0b-e80129006cd5.out
-rw-rw-r-- 1 root bin  4667 Sep 21 12:52 812b9121-1738-49ea-9f0b-e80129006cd5.services.xml
drwxrwsr-x 2 root bin  4096 Aug 21 16:11 agtrep
-rw-rw-r-- 1 root bin  6033 Sep 21 12:53 AllCIs.cis.xml
-rw-rw-r-- 1 root bin  4667 Sep 21 12:53 AllCIs.services.xml

ls -l /var/opt/OV/tmp/agtrep/agtrep"
-rw-rw-r-- 1 root bin 0 Aug 21 16:11 index.dat
-rw-rw-r-- 1 root bin 0 Aug 21 16:11 requests.dat
-rw-rw-r-- 1 root bin 0 Aug 21 16:11 targets.dat

 

Best Regards.......

0 Likes
Ganeshaym Respected Contributor.
Respected Contributor.

Re: Service Map in OML

Hi,

 

Yes we also removed and redeployed the service discovery policy but still we are not able to see the node in service view..

 

BR.....

0 Likes
Ganeshaym Respected Contributor.
Respected Contributor.

Re: Service Map in OML

Hello,

 

Also please find the output from opcservice output for your reference.

 

Best Regards.....

0 Likes
Sandeep_P
New Member.

Re: Service Map in OML

Hi Ganesheyam

 

/opt/OV/bin/ovconfchg -ovrg server -ns om.svcdiscserver -set LOG_FILE_SIZE 10000000    -  you can set any value you want. Default value is 1000000 .

                -restart service discovery server : ovc –restart opcsvcdisc

 

When problem is reproduced, please send us service discovery log files.

 

Send us these 2 files

 

OvSvcDiscServer.log  , OvSvcDiscServerPrevious.log 

 

Thanks

Sandeep

0 Likes
Ganeshaym Respected Contributor.
Respected Contributor.

Re: Service Map in OML

Hi,

 

We ran below commands to recreate the issue -

 

agtrep -clearall

agtrep -run "SI-SystemDiscovery"

agtrep -publish

 

Also please find the attached logs as requested.

 

Best Regards........

0 Likes
Sandeep_P
New Member.

Re: Service Map in OML

Hi Ganeshayam

 

These are the errors I see let me check with my SI-SPI team colleagues about this error

 

>>>>>>>>>>>>>>>>>>

[Sun Sep 21 14:50:17 AST 2014][1][main] Error when attempting to add instance to cache. Key(null) Template(Class_NodeSystem) NodeGuid(null) Virtual(false). Error [Error while evaluating service instance key]
[Sun Sep 21 14:50:17 AST 2014][1][main] Error when attempting to add instance to cache. Key(null) Template(Class_NodeSystem) NodeGuid(null) Virtual(false). Error [Error while evaluating service instance key]
[Sun Sep 21 14:50:17 AST 2014][1][main] Error when attempting to add instance to cache. Key(null) Template(Class_NodeSystem) NodeGuid(null) Virtual(false). Error [Error while evaluating service instance key]
[Sun Sep 21 14:50:17 AST 2014][1][main] Error when attempting to add instance to cache. Key(null) Template(Class_NodeSystem) NodeGuid(null) Virtual(false). Error [Error while evaluating service instance key]
[Sun Sep 21 14:50:17 AST 2014][1][main] Error when attempting to add instance to cache. Key(null) Template(Class_NodeSystem) NodeGuid(null) Virtual(false). Error [Error while evaluating service instance key]
[Sun Sep 21 14:50:17 AST 2014][1][main] Error when attempting to add instance to cache. Key(null) Template(Class_NodeSystem) NodeGuid(null) Virtual(false). Error [Error while evaluating service instance key]
[Sun Sep 21 14:50:17 AST 2014][1][main] Error when attempting to add instance to cache. Key(null) Template(Class_NodeSystem) NodeGuid(null) Virtual(false). Error [Error while evaluating service instance key]
[Sun Sep 21 14:50:17 AST 2014][1][main] Error when attempting to add instance to cache. Key(null) Template(Class_NodeSystem) NodeGuid(null) Virtual(false). Error [Error while evaluating service instance key]
[Sun Sep 21 14:50:17 AST 2014][1][main] Error when attempting to add instance to cache. Key(null) Template(Class_NodeSystem) NodeGuid(null) Virtual(false). Error [Error while evaluating service instance key]
[Sun Sep 21 14:50:17 AST 2014][1][main] Error when attempting to add instance to cache. Key(null) Template(Class_NodeSystem) NodeGuid(null) Virtual(false). Error [Error while evaluating service instance key]
[Sun Sep 21 14:50:17 AST 2014][1][main] Error when attempting to add instance to cache. Key(null) Template(Class_OS) NodeGuid(null) Virtual(true). Error [Error while evaluating service instance key]
[Sun Sep 21 14:50:17 AST 2014][1][main] Error when attempting to add instance to cache. Key(null) Template(Class_OS) NodeGuid(null) Virtual(true). Error [Error while evaluating service instance key]
[Sun Sep 21 14:50:17 AST 2014][1][main] Error when attempting to add instance to cache. Key(null) Template(Class_NodeSystem) NodeGuid(null) Virtual(false). Error [Error while evaluating service instance key]

<<<<<<<<<<<<<<<<<<

 

Thanks

Sandeep

0 Likes
Account_Closed
Not applicable

Re: Service Map in OML

Hi Ganeshaym, i don't know what you've been doing, but if what Sandeep says is happening, you seem to have lost your service type model.

 

Please review the steps you did, and make corrections to this.

 

in the worst case, if you just wish to get the model back, you can run the commands -

 

# /opt/OV/bin/OpC/utils/mof_cfgupld.sh /opt/OV/install/INFRASPI/C.utf8/OTHER/DISCOVERY_MOF/SystemsDiscovery.mof
# /opt/OV/bin/OpC/utils/mof_cfgupld.sh /opt/OV/install/INFRASPI/C.utf8/OTHER/DISCOVERY_MOF/SystemRoot.mof

 

the first one just uploads the service discovery type model and the second creates the 'System Infrastructure' element on top.

 

run this step, and on the node run 'ovagtrep -publish'.

 

- ramd.

0 Likes
Ganeshaym Respected Contributor.
Respected Contributor.

Re: Service Map in OML

Hi,

 

Thanks for the update.

 

We just logged in to our Java GUI console in the morning and happen to see service map as uploaded on this forum.

 

Anyhow will check the commands specified and will update the status.

 

Thanks & Best Regards........

0 Likes
Ganeshaym Respected Contributor.
Respected Contributor.

Re: Service Map in OML

Hello All,

 

We executed the command specified but it did not resolve the issue.

 

In windows, we know we can delete the whole idx files under agtrep folder on the Mgmt Server, and after restarting the services it will recreate it.

 

Please let us know we need to troubleshoot further.

 

Best Regards......

 

0 Likes
Account_Closed
Not applicable

Re: Service Map in OML

Hi Ganeshaym, request you to raise a support case so someone can give a closer look at your setup.

 

 

0 Likes
Ganeshaym Respected Contributor.
Respected Contributor.

Re: Service Map in OML

Hello All,

 

The issue we were facing in the service map got resolved after removing the AD SPI Discovery policy.

 

After removing the AD SPI Discovery policy from the node, and then we executed the ovagtrep -publish command on each node and we found that the service map is getting populated.

 

Also to confirm the same, we again deployed the AD SPI Discovery policy and we found the same issue again on the next day.

 

So now we have completely removed the AD SPI Discovery policy, this is strange....

 

Does anyone have face this issue and is there any rectification for the same.

 

Best Regards.......

 

 

 

0 Likes
Sandeep_P
New Member.

Re: Service Map in OML

Hi Ganeshyam

 

Please enable agtrep xpl tracing

Deploy AD SPI discovery policy

Wait for 20-25 mins

Share the agtrep traces and also these

%ovdatadir%log\System.txt

%ovdatadir%tmp\agtrep\ archive

 

Thanks and Regards

Sandeep

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.