Research Article
Modeling, Design, and Implementation of a Cloud Workflow Engine Based on Aneka
Algorithm 2
Aneka application configuration.
private static AnekaApplication < AnekaTask, TaskManager > Setup (string args) | { | Configuration conf = Configuration.GetConfiguration (“configuration file”); | // ensure that SingleSubmission is set to false | // and that ResubmitMode to MANUAL. | conf.SingleSubmission = false; | conf.ResubmitMode = ResubmitMode.MANUAL; | conf.UserCredential = new Aneka.Security.UserCredentials(“administrator”, “”); | AnekaApplication < AnekaTask, TaskManager > app = | new AnekaApplication < AnekaTask, TaskManager > (“Workflow1”, conf); | // ensure that SingleSubmission is set to false | if (args.Length = = 1) | { | bLogOnly = (args = = “LogOnly”? true: false); | } | return app; | } | |
|