Today a friend asked about how to configure disks on VMWare to create a virtualized cluster database. I revisited my old notes and decided to share. Here it goes…
First, I really have some constraints about it:
– Fake “high availability”: To have HA with VM it’s not needed 2 vms, if a host fail VMWare should make a VMotion (if well configured), and no services will be affected. So, one VM is ok.
– Not real “horizontally scallated”: It probably would be better to use one server as physical than have two vms on it. Not make sense to do it…
To prove concept, evaluate RAC configuration (caches on sequences, etc) and labs, to learn and practice RAC stuffs…
Ok, now how to make it happen?
1. Add new disk to one of the machines. Some way, one will be the “primary” and share disks with another.
2. Set Mode Thick Eager Zeroed
3. Create a specific controller to this “shared disks”
4. Set controller to virtual sharing
# Other Machine
5. Adding the existent disk to other VM (not primary, but from primary)
6. Select disk from primary
7. Create a new controller, as you made on primary and select it:
8. Set controller to virtual sharing
If this error happen, one of your controller is not in sharing mode. Please check it.
And here we are! 🙂