Skip navigation
2016

Shivaprasad A V's Blog

October 2016 Previous month Next month
  • vROps nodes status will wait indefinitely @ "Waiting for Analytics" because of the time sync issue between the nodes

 

    com.integrien.analytics.AnalyticsMain.run - AnalyticsMain.run failed with error: Time difference between servers is:30134 ms. It is greater than 30000 ms. Unable to operate, terminating...

    java.lang.IllegalStateException: Time difference between servers is:30134 ms. It is greater than 30000 ms. Unable to operate, terminating...

      at com.integrien.alive.controller.Controller.verifyTimeDifferenceBetweenServers(Controller.java:1306)

      at com.integrien.alive.controller.Controller.doRun(Controller.java:626)

      at com.integrien.analytics.AnalyticsMain.doRun(AnalyticsMain.java:352)

      at com.integrien.analytics.AnalyticsMain.run(AnalyticsMain.java:1387)

      INFO  [Analytics Main Thread ] com.vmware.vcops.platform.common.PlatformEnvironment.exitSystem - Terminating process with exit code -1 ...

      INFO  [SystemExitThread ] com.vmware.vcops.platform.common.PlatformEnvironment.run - exitSystem has been called by:

      java.lang.Throwable at com.vmware.vcops.platform.common.PlatformEnvironment.exitSystem(PlatformEnvironment.java:200)

 

Resolution:

    If normal ntp sync doesn't work.

    You can try using this command "rcntp ntptimeset <ntp-server>"

 

 

  • Restoring the default dashboards manually ( this is an example of restoring the vRA dashboard ):

     

       Problem: After installing the vRA Mangement Pack, the default dashboards were not shown up and for this we figured out that post_install of Management Pack didn't run. To resolve this we manually imported the dashboards

 

Resolution:

The below is an example for restoring the vRA default dashboards on vROPs

 

    1. Locate the dashboard file location: /usr/lib/vmware-vcops/user/plugins/inbound/vCACAdapter3/conf/dashboards/Dashboards.json
    2. Execute the import command by passing the dashboard json file on vROps node:

 

vrops-mstrn-01:/usr/lib/vmware-vcops/tools/opscli # ./ops-cli.sh dashboard import all /usr/lib/vmware-vcops/user/plugins/inbound/vCACAdapter3/conf/dashboards/Dashboards.json

Starting vRealize Operations CLI

2016-10-20 10:15:30,116 Starting command Command: dashboard:import

2016-10-20 10:15:30,404 Connecting to server

2016-10-20 10:15:37,491 Try to login with maintenanceAdmin

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

SLF4J: Defaulting to no-operation (NOP) logger implementation

SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

2016-10-20 10:15:38,561 Successfully logged in.

2016-10-20 10:15:38,561 Successfully connected to server

2016-10-20 10:15:43,810 Successfully imported dashboard /usr/lib/vmware-vcops/user/plugins/inbound/vCACAdapter3/conf/dashboards/Dashboards.json for user [all]. The configuration transformation will be scheduled in background.

2016-10-20 10:15:43,811 Triggered Command: dashboard:import vrops-mstrn-01:/usr/lib/vmware-vcops/tools/opscli #

 

After this log-in back into the vROps UI and you can notice that all default dashboards are back.