A lot of times, objects such as sessions, VMs, users, and pools appear on the dashboards even if they have stopped collecting data from the agents. You can cleanup these objects from the dashboards.
Procedure
- If you use cluster environment, you can make changes on the master node. Take the collector node offline and bring it online again.
- Navigate to /usr/lib/vmwarevcops/user/plugins/inbound/V4V_adapter3/conf/ file and open the v4v.properties file in an editor.
- Change the parameter "
timeToExpire.UserDesktop=0.0417
".Note:Time setting for cleanup resources (in days, should be in float format. 0.5 means half day, 0.0417 means 1 hour approximately).
Parameter and Value
Description
timeToExpire.VirtualMachine=30
Cleans the virtual machine objects.
timeToExpire.UserDesktop= 30
Ceans the VDI session objects.
timeToExpire.RDSSession=30
RDS session objects
timeToExpire.AppSession=30
App Session objects
timeToExpire.RDSApplication=30
Hosted application objects
timeToExpire.ViewNetwork=30
View network objects
The object of following type not deleted by default. The following parameters do not clean anything by default. If you want you can specify your ouwn value.
Parameter and Value
Description
timeToExpire.User=
User objects
timeToExpire.ViewPool=
VDI pool objects
timeToExpire.AppPool=
Application pool objects
timeToExpire.RDSPool=
RDS pool objects
timeToExpire.RDSFarm=
RDS farm objects
timeToExpire.RDSServer=
RDS server objects
- Stop and restart the adapter instances.
- Wait for approximately three hours for the objects to clean up. It takes approximately one hour for the objects to cleanup from the dashboards and two hours for the objects to clean up from vRealize Operations Manager.
- Login to vRealize Operations Manager and go to Administartor > Inventory Explorer > Object Type > VDI session.