Friday, February 4, 2011

Oracle VM Manager Agent password

To Set Agent password (Agent runs on Oracle VM server by default)

On Oracle VM server :


# cat /etc/redhat-release
Oracle VM server release 2.2.0

Reset Agent Password:



# service ovs-agent configure
;network access control by ip --
;rules := if addr.match(allow) and not addr.match(deny): return True
;pattern items delimited by comma and could be
;219.142.73.50   #single ip
;219.142.73.*    #range
;219.142.73.0/24 #range in CIDR format
;default to allow all, deny none
allow=all
allow=all
now allow=all

deny=
deny=none
now deny=none

;share_disk_pat --
;set the directories for searching sharable block devices
;directories should be seperated by ':'
;if not set, /dev/mpath/* will be used
share_disk_pat=/dev/mpath/*
share_disk_pat=
now share_disk_pat=/dev/mpath/*

would you like to modify password to communicate with agent (local)?[y/N]y
password:xxxxx
again:xxxxx

OVS Agent configuration done.

Tell agent to reload cache ...
Agent cache reloaded.

Restart Agent service 

# service ovs-agent restart
OVSAgentServer shutdown...
OVSAgentServer stopped.
OVSAgentServer is now starting...
OVSAgentServer started.


Just to check if you are able to connect to Agent:

# /opt/ovs-agent-2.3/utils/do_rpc.py https://oracle:<agentpassword>@localhost:8899 echo hello
echo ['hello'] =>
success:echo=hello


The above means agent is working fine !!


No comments:

Post a Comment