Domains

Domains provide a logical partitioning of a hosting organization's environment that achieves increased flexibility and granularity of control in multitenant environments. By default, the installer creates a single domain named "default."

Administrators use different domains within the same SAP Mobile Platform installation. Domains enable the management of application metadata within a partition, including server connections, packages, role mappings, domain logs, and security, so that changes are visible only in the specific domain.

Considerations when implementing domains in a multitenant environment include:

The "default" domain

The "default" domain is a special domain where critical runtime configuration artifacts exist. These artifacts include:
  • An "admin" security configuration – this security configuration is mapped to the "default" domain and is used to authenticate and authorize administrative users. For this reason, administrators are not allowed to unassign the "admin" security configuration from the "default" domain.
  • Cache database (CDB) data source connections – for the "default" CDB data source, users can configure the Pool Size property in the "default" domain according to their requirements. This setting allows the maximum number of open connections to the SQL Anywhere database server hosting the CDB.
  • Monitor database data source connections – the customer can modify the existing monitoring data source properties according to their configuration requirements, or create a new monitoring datasource in the "default" domain.
  • Domain log database data source connections – the customer can modify the existing domain log data source properties according to their configuration requirement, or create a new domain log data source in the "default" domain. By default, the name of domain log data source is "domainlogdb".
Since these critical runtime-related artifacts are located in the "default" domain, administrators are not allowed to delete this domain. SAP recommends creating new domains to facilitate tenants according to their application requirements.