VMware Cloud Community
RobPijpers123
Enthusiast
Enthusiast

Autodeploy cache cleanup

How can i clean up de cache folder on the autodeploy server to get rid of old vibs?

I tried to just delete all files but then I ended up with a non working autodeploy server.

Reply
0 Kudos
3 Replies
antonmajor
Enthusiast
Enthusiast

What directory did you empty?

Check this out here:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=200098...

Also try running the repair command:

Repair-DeployImageCache

Reply
0 Kudos
RobPijpers123
Enthusiast
Enthusiast

I deleted the content of /var/lib/rbd/cache on the VCA, this is the location where all VIBs are stored.

The link does not give a hint how to remove VIBs.

My point is to get rid of old VIBs as new versions are stored in time.

Thanks for your reply!

Reply
0 Kudos
antonmajor
Enthusiast
Enthusiast

Open powercli, kick off your image builder, import the image in question, and remove the unwanted vib. Then export the image and u

VMware vSphere 5.1

"Remove-EsxSoftwarePackage"




Check out Duncan Epping's cheat sheet:

http://www.yellow-bricks.com/2011/09/05/cheat-sheet-auto-deploy/

Reply
0 Kudos