Steve Jin
http://vijava.sf.net
This sample code illustrates how to set up an affinity rule for the DRS cluster.
Please note that this sample is not intended to be complete or for production use.
Some of the information are hardcoded to simplify the code.