Procedure
To solve this issue, do the following:
- Take a snapshot of your Usage Meter appliance.
- Enter the conf directory:
cd /opt/vmware/cloudusagemetering/conf
- Take a backup of the vrnicollector_process.conf file by running the command:
cp vrnicollector_process.conf vrnicollector_process.conf.bak
- Check the content of the rnicollector_process.conf file by entering:
vi vrnicollector_process.conf
- Add the following piece of code anywhere in the conf file.
[
-componentName vrni_collector
-componentFactory com.vmware.um.vrnicollector.VRNICollector.createInstance
-componentParams {
-minutesBeforeFirstCollection 55
-minutesBetweenCollections 60
-httpConnectionTimeout 1200
-httpReadTimeout 1200
-httpWriteTimeout 1200
}
]
- Exit the vi editor by pressing the Escape key and then entering :wq! (save and exit ). If you want to exit the vi editor without making any changes, enter :q.
- Reboot the appliance.
- Edit the vRNI credentials in the Usage Meter web application. Click Save. An OK status will show that the vRNI collection is now started.
Note: Restarting services using the root account is not recommended. You need to reboot your Usage Meter appliance instead.