Oracle VM 3.x: Reset Agent Password
Oracle VM, is a centrally managed hypervisor. All administrative actions must be performed from the Oracle VM Manager. In order to facilitate the initial discovery of the Hypervisor by the Management Server part of the setup requires that we not only set the password for the root user, but also the password for the ovs-agent. We then initiate a discovery process from the management server to the hypervisor and end up able to manage our hypervisor.
During my setup I misplaced the password for the agent. This resulted in my management server being unable to successfully authenticate with the hypervisor in order to complete the discovery process.
Once you have successfully discovered the hypervisor you can change the agent password at the server pool level, which will allow you to maintain different agent passwords for different logical areas.
In my environment I am using OVM 3.1.1.
# ovs-agent-passwd oracle Password: <yourpasshere> Again: <yourpasshere>
After changing the password, discovery went off without a hitch, of course I could have just as easily misplaced it again, and I would have been right back at square one.