#Add all jars that make up the distributed compute
addjar "C:\Programs\DC\Plugin\gridgaincompute.jar"
addjar "C:\Programs\DC\RMI\rmiServer.jar"
addjars C:/Programs/DC/sys/ignite
#add the gridgaincompute jar as a plugin so that it properly loads all of its features
addToPath PLUGINS C:\Programs\DC\Plugin\

#Properties that affect DC
#Its possible to override the default IgniteConfiguration used in WAT by providing an alternate configuration file.
#This would be needed at Amazon to configure a different Discovery mechanism.  Command to launch compute nodes would also change.
vmparam -DGridGainComputePlugin.configFile="C:\Programs\DC\default-config.xml"
#turn off server side access control list checking for file manager on the master
vmparam -DnoServerSideSecurity=true
#Distribute work by lifecycle
vmparam -DsplitBy=lifecycle
#A large DC can involve thousands of RmiFile objects. Interning the owner can save some memory.
vmparam -DRmiFile.internOwner=true
#Ensure merge is highest integrity
vmparam -DMerge.IntegrityLevel=0
#This impacts the amount of RMI communication, turning this on reduces noise and has helped stabilize dc communication
vmparam -Dhec.rmi.server.NoClientSideProxies=true
vmparam -DGridGainComputePlugin.synchWith=RMI

#NON DC RELATED SETTINGS:
#Add any other jars that support the personal configuration for the project
#add the plugins to the plugin path
addToPath PLUGINS C:\Programs\Plugin\
addjar "C:\Programs\Plugin\ConfidenceBuilderPlugin-1.0.jar"
addjar "C:\Programs\Plugin\DurationPlugin-1.0.jar"
vmparam -DSDI.ComputeValidationEnabled=false

