To use a VDC we have to cope with the standard client-side requirements of OpenNebula, except that we will not directly use an XMLRPC endpoint; we will need to point the CLI utilities to the oZones proxy.
In order to use a VDC through the command line:
The VDC administrator will need to define the following environment variables, inside his
~/.profile
file, to connect to ourodinVDC
:export ONE_XMLRPC=http://ozones.local/odinVDC export ONE_AUTH=$HOME/.one/vdc_auth
The
vdc_auth
file will contain the login credentials of the VDC administrator:odinadmin:odinpass
Now try to issue some of the standard OpenNebula CLI utilities such as:
$ oneuser list ID GROUP NAME AUTH PASSWORD 2 odinVDC odinadmin core 77cb2959a4d9b[..]
You should see only your VDC administration account, and you can start creating any user account you may want, which will have access only to their VDC resources.
Add a new user with...