Below are examples of ovm_vmmessage
commands
and their respective output.
Send a message key/value pair to a virtual machine:
# ./ovm_vmmessage -u admin -p password
-h localhost -v MyVM02 -k foo -V bar
Oracle VM VM Message utility 0.5.2.
Connected.
VM : 'MyVM02' has status : Running.
Sending message.
Message sent successfully.
Send a message key/value pair to a virtual machine, identifying the VM by its UUID:
# ./ovm_vmmessage -u admin -p password
-h localhost \
-U 0004fb00000600001c925eac2ad5d328 -k foo -V bar
Oracle VM VM Message utility 0.5.2.
Connected.
VM : 'MyVM02' has status : Running.
Sending message.
Message sent successfully.
Retrieve a message from a virtual machine, identifying the VM by its UUID:
# ./ovm_vmmessage -u admin -p password
-h localhost \
-U 0004fb00000600001c925eac2ad5d328 -q foo
Oracle VM VM Message utility 0.5.2.
Connected.
VM : 'MyVM02' has status : Running.
Querying for key 'foo'.
Query successful.
Query for Key : 'foo' returned value 'bar'.
Key set 27 minutes ago.