R&D/Hypervisor

[Oracle VM bug] OVM Server add fail in a cluser

sunshout 2011. 6. 9. 08:03
I failed to add OVM server in a cluster.

After debugging log file, I found the problem.

The problem is:
1) when adding new node, ovs-agent parses /etc/ocfs2/cluster.conf
- using /opt/ovs-agent-latest/utils/config_o2cb.sh
2) This script has problem
- it parse some keyword like 'node' , 'cluster'
- if hostname has the word like 'node', it fail to parse
- and ocfs service fails

The solution is:
1) don't use 'node' in your hostname
or
2) fetch config_o2cb.sh
- download: http://ovm.googlecode.com/svn/trunk/fetch/ovm-2.2/config_o2cb.sh 
- bug fixed line : 34 and 36
- put this file /opt/ovs-agent-latest/utils/