How to execute common tasks, such as adding resources to the file system agent.
Changes in the Automation Server
The file system module is part of the CloudHostingModules. The GUI is part of HCP.
Adding a resource
A new resource needs to be added:
<bindings> <moduleList> <module name="Atomia.Provisioning.Modules.FileSystem.FileSystem" resourceAsignmentPolicy="RoundRobin" /> </moduleList> <resourceList> <resource name="fsagent"> <property name="Username"></property> <property name="Password"></property> <property name="URL">http://{IP}:10201</property> <property name="DeleteMailStoragePath">/mailfolder</property> <property name="DeleteWebStorage">true</property> <property name="DeleteMailStorage">false</property> </resource> </resourceList> </bindings>
- DeleteMailStoragePath is API path for deleting mail storage content on FileSystem agent. The value should be /mailfolder and in most cases, it should not be changed.
- DeleteWebStorage is bool property which is expected to be true or false, and it is used to determine if the web part of storage should be deleted or not when the package is terminated. if this property does not exist in resource description, the behavior will be the same as it is set to true.
- DeleteMailStorage is bool property which is expected to be true or false, and it is used to determine if the mail part of storage should be deleted or not when the package is terminated. if this property does not exist in resource description, the behavior will be the same as it is set to false. The DeleteMailStoragePath property must be set in order for this option to work.