-
Notifications
You must be signed in to change notification settings - Fork 2
Product configuration
Stefan Mortensen edited this page Nov 11, 2013
·
1 revision
Provisioning description Package config
<package name="ProPackage" xdt:Transform="Insert">
<serviceList>
<service name="CsBase" />
<service name="CsCloud" />
<service name="CsDatabase" />
<service name="CsDomainParking" />
<service name="CsDomainRedirection" />
<service name="CsDomainFrameRedirection" />
<service name="CsDomainNoWebsite" />
<service name="CsAccountQuota" />
<service name="CronTasks" />
</serviceList>
<serviceLimitationList>
<globalLimitation>
<group maxCount="1">
<service name="CsBase" />
</group>
<group maxCount="1">
<service name="CsCloud" />
</group>
<group maxCount="1">
<service name="CsDomainRegList" />
</group>
<group maxCount="0">
<service name="CsSshAccount" />
</group>
<group maxCount="1">
<service name="CsMSSQLDatabase" />
</group>
<group maxCount="0">
<service name="DnsSlaveZone" />
</group>
<group maxCount="1">
<service name="CsAccountQuota" />
</group>
<group maxCount="0">
<service name="CsExchangeMailSupport" />
</group>
<group maxCount="15">
<service name="MailAccount" />
</group>
<group maxCount="1">
<service name="CsMySqlDatabase" />
</group>
<group maxCount="1">
<service name="CsMSSQLDatabase" />
</group>
<group maxCount="0">
<service name="CsCertificate" />
</group>
</globalLimitation>
</serviceLimitationList>
<propertySettings>
<set servicePath="CsAccountQuota/CsQuotaEntryBandwidth" propertyName="MaxValue" propertyValue="1073741824" />
<set servicePath="CsAccountQuota/CsQuotaEntryBandwidth" propertyName="TimePeriod" propertyValue="1" />
<set servicePath="CsAccountQuota/CsQuotaEntryBandwidth" propertyName="TimePeriodUnit" propertyValue="month" />
<set servicePath="CsAccountQuota/CsQuotaEntryStorage" propertyName="MaxValue" propertyValue="32212254720" />
<set servicePath="CsAccountQuota/CsQuotaEntryStorage" propertyName="TimePeriod" propertyValue="1" />
<set servicePath="CsAccountQuota/CsQuotaEntryStorage" propertyName="TimePeriodUnit" propertyValue="month" />
<set servicePath="CsBase/CsLinuxWebsite/CsExchangeMailSupport" propertyName="StorageQuota" propertyValue="32212254720" />
<set servicePath="CsBase/CsWindowsWebsite/CsExchangeMailSupport" propertyName="StorageQuota" propertyValue="32212254720" />
<set servicePath="CsBase/CsWindowsWebsite/CsWindowsAlias/CsExchangeMailSupport" propertyName="StorageQuota" propertyValue="32212254720" />
<set servicePath="CsBase/CsLinuxWebsite/CsLinuxAlias/CsExchangeMailSupport" propertyName="StorageQuota" propertyValue="32212254720" />
<set servicePath="CsDomainRedirection/CsExchangeMailSupport" propertyName="StorageQuota" propertyValue="32212254720" />
<set servicePath="CsDomainFrameRedirection/CsExchangeMailSupport" propertyName="StorageQuota" propertyValue="32212254720" />
<set servicePath="CsDomainParking/CsExchangeMailSupport" propertyName="StorageQuota" propertyValue="32212254720" />
<set servicePath="CsDomainNoWebsite/CsExchangeMailSupport" propertyName="StorageQuota" propertyValue="32212254720" />
</propertySettings>
<init>
<arguments>
<argument serviceName="CsBase" propertyName="InitMasterFtpAccount" propertyValue="true" />
</arguments>
<serviceToAdd serviceName="CsBase">
<propertyInitList>
<property servicePropertyName="ADPassword" valueSource="ADPassword" />
<property servicePropertyName="PosixUid" valueSource="PosixUid" />
<property servicePropertyName="FtpPassword" valueSource="FtpPassword" />
<property servicePropertyName="RootFolderParentPath" valueSource="RootFolderParentPath" />
</propertyInitList>
</serviceToAdd>
<serviceToAdd serviceName="CsCloud" />
</init>
<disable>
<scriptList>
<script name="Disable">
<serviceList>
<service path="CsBase/CsWindowsWebsite/IISWebSite" action="modify">
<propertyList>
<property name="HomeDirectory" newValue="/mnt/content/suspended/public_html" />
</propertyList>
</service>
<service path="CsBase/CsLinuxWebsite/ApacheWebSite" action="modify">
<propertyList>
<property name="Suspended" newValue="true" />
</propertyList>
</service>
<service path="*/FTPAccount" action="modify">
<propertyList>
<property name="Status" newValue="0" />
</propertyList>
</service>
</serviceList>
</script>
</scriptList>
</disable>
<actionHooks >
<onBeforeChangePackage argument="{'upgrade_to':['ExpertPackage'],'downgrade_to':['StarterPackage'],'preview_zone':'preview.{ProvDesc/Domain}','keep_mail_on_downgrade':'true'}" type="Atomia.Provisioning.ActionHooks.PackageChange.UpgradeDowngrade, Atomia.Provisioning.ActionHooks.PackageChange" />
</actionHooks>
</package>
BillingAPI provisioningDescriptionMappings
<provisioningDescriptionMappings xdt:Transform="Replace">
<provisioningDescription name="ProvisioningDescription">
<packages>
<!-- real packages -->
<package name="ProPackage" type="Package">
<properties>
<packageProperty key="DomainName" value="DnsPackage" />
</properties>
<includedPackages>
<package name="DomainRegistrationContactPackage" type="Package" />
</includedPackages>
</package>
Billing Database upgrade groups config
INSERT INTO [AtomiaBilling].[dbo].[upgrade_group_member] VALUES(NEWID(), 'E537BA13-9B18-4106-A852-20444FDC0C6F','A5C61B96-8234-470C-A9C2-8381517AF52A',1,1,1,1,1)
INSERT INTO [AtomiaBilling].[dbo].[upgrade_group_member] VALUES(NEWID(), 'E537BA13-9B18-4106-A852-20444FDC0C6F','DB0D594D-A0DB-444B-85F2-5E4E7B53A978',2,1,1,1,1)
INSERT INTO [AtomiaBilling].[dbo].[upgrade_group_member] VALUES(NEWID(), 'E537BA13-9B18-4106-A852-20444FDC0C6F','D70E4321-C409-44A6-83CE-E7E920A38575',3,1,1,1,1)
INSERT INTO [AtomiaBilling].[dbo].[upgrade_group_member] VALUES(NEWID(), 'E537BA13-9B18-4106-A852-20444FDC0C6F','CB4D3996-B05C-4CFE-AF69-A6A84F14E40F',4,1,1,1,1)
INSERT INTO [AtomiaBilling].[dbo].[upgrade_group_member] VALUES(NEWID(), 'E537BA13-9B18-4106-A852-20444FDC0C6F','40974636-723B-4355-9022-4F78D254F1AC',5,1,1,1,1)