Now that Haizea is configured to run alongside OpenNebula, running them is as simple as starting the OpenNebula daemon:
oned
Followed by Haizea:
haizea -c /usr/share/haizea/etc/sample_opennebula.conf
The above assumes that you are running OpenNebula and Haizea in the same machine and with the same user. If this is not the case, you have to set the ONE_AUTH environment variable (as described in the OpenNebula documentation) for the user and machine running Haizea. The variable must contain the path to a file containing the username and password of the OpenNebula administrator user (typically called oneadmin) with the format username:password.
By default, Haizea runs as a daemon when running in OpenNebula mode. For this chapter, you may want to run it in the foreground so you can see the Haizea log messages in your console:
haizea --fg -c /usr/share/haizea/etc/sample_opennebula.conf
When Haizea starts up, it will print out something like this:
[ ] ENACT.ONE.INFO Fetched N nodes from OpenNebula [2009-07-30 18:36:54.07] RM Starting resource manager [2009-07-30 18:36:54.07] RPCSERVER RPC server started on port 42493 [2009-07-30 18:36:54.07] CLOCK Starting clock
This means that Haizea has correctly started up, contacted OpenNebula and detected that there are N physical nodes (the value of N will depend, of course, on how many nodes you have in your system).
Borja Sotomayor 2009-12-17