Atomia Automation Server

FAQ

0 views 0

Here we have collected frequently asked questions regarding the Automation Server.

How do I add a new default resource for new users?

When adding a new resource, the resource description file ( Resources.xml ) located at Atomia Provisioning\Bin must be updated.

To add a new resource (that will be the default one for new customers from here on) you need to:

  • set the resourceAsignmentPolicy attribute value for the module we are adding the resource to, to DefaultResourceStickyPerAccount.
  • add a new <resource> section and set appropriate values for resource properties.
  • add a propertyList section to the new resource with the name="DefaultResource.Packages" attribute and a list of items that will list the provisioning description and package name combinations for which this resource will be default.
  • for the new resource to be used, the IIS server where Provisioning service is, needs to be restarted.

Example: adding new Litespeed cluster to provisioning which has provisioning description named ProvisioningDescription.xml and which contains packages DnsPackage, BasePackage, PremiumPackage

Before:

&lt;bindings&gt;
&lt;moduleList&gt;
&lt;module name=&quot;Atomia.Provisioning.Modules.LiteSpeed.LiteSpeed&quot; resourceAsignmentPolicy=&quot;RoundRobin&quot; /&gt;
&lt;/moduleList&gt;
&lt;resourceList&gt;
&lt;resource name=&quot;LSServers101&quot;&gt;
&lt;property name=&quot;URL&quot;&gt;https://linuxagents.atm.example.com/server.php&lt;/property&gt;
&lt;property name=&quot;ClusterIpAddress&quot;&gt;192.168.0.1&lt;/property&gt;
&lt;/resource&gt;
&lt;/resourceList&gt;
&lt;/bindings&gt;

After:

&lt;bindings&gt;
&lt;moduleList&gt;
&lt;module name=&quot;Atomia.Provisioning.Modules.LiteSpeed.LiteSpeed&quot; resourceAsignmentPolicy=&quot;DefaultResourceStickyPerAccount&quot; /&gt;
&lt;/moduleList&gt;
&lt;resourceList&gt;
&lt;!-- old resource --&gt;
&lt;resource name=&quot;LSServers101&quot;&gt;
&lt;property name=&quot;URL&quot;&gt;https://linuxagents.atm.example.com/server.php&lt;/property&gt;
&lt;property name=&quot;ClusterIpAddress&quot;&gt;192.168.0.1&lt;/property&gt;
&lt;/resource&gt;
&lt;!-- new, default resource --&gt;
&lt;resource name=&quot;LSServers102&quot;&gt;
&lt;property name=&quot;URL&quot;&gt;https://linuxagents2.atm.example.com/server.php&lt;/property&gt;
&lt;property name=&quot;ClusterIpAddress&quot;&gt;192.168.0.2&lt;/property&gt;
&lt;propertyList name=&quot;DefaultResource.Packages&quot;&gt;
&lt;propertyListItem&gt;ProvisionDescription.DnsPackage&lt;/propertyListItem&gt;
&lt;propertyListItem&gt;ProvisionDescription.BasePackage&lt;/propertyListItem&gt;
&lt;propertyListItem&gt;ProvisionDescription.PremiumPackage&lt;/propertyListItem&gt;
&lt;/propertyList&gt;
&lt;/resource&gt;
&lt;/resourceList&gt;
&lt;/bindings&gt;

Was this helpful?