Tenant Placement Configuration
You can use the configuration parameters in create_config.py to enable multi-tenancy and add or rehome tenants to a sub-domain.
Multi-Tenancy Configuration Parameters lists the parameters for multi-tenancy.
Parameter | Description |
---|---|
Tenant-specific Pricing Files Enable | When set to y , enables support for tenant-specific pricing files. create_config.info question: Do you want to enable support for tenant specific pricing files (y/n)? |
Tenants Hosted by Database Instance | Whether to specify the tenants that can be hosted by this database instance. Note: If the number of tenants specified is 0, this question is
set to n by default. Otherwise, it is set to y by default.create_config.info question: ChargingServer:Do you want to specify the tenants that can be hosted by this database instance (y/n)? |
Number of Tenants to Configure for Database Instance | The number of tenants to configure for the database instance. create_config.info question: ChargingServer:How many tenants do you want to configure? |
Charging Server Tenant ID | The alpha-numeric ID (name) string attached to the TenantId field in the event record.create_config.info question: ChargingServer:What is the TenantId for this tenant? |
New Tenant Subscribers Allowed | When set to y , new subscribers for the tenant can be added in this sub-domain.create_config.info question: ChargingServer:Tenant_N:Can objects assoicated with this TenantId be created on this subdomain (y/n)? |
Tenant Subscribers Rehoming Allowed | When set to y , tenant subscribers can be rehomed to this sub-domain.create_config.info question: ChargingServer:Tenant_N:Can subscribers for this tenant be rehomed to this subdomain (y/n)? |
Tenant-specific Event Repository Configuration | Whether to specify tenant-specific Event Repository configuration. Note: If the number of tenants specified is 0, this question is set to
n by default. Otherwise, it is set to y by default.create_config.info question: EventLoader:Do you want to specify tenant specific Event Repository configuration (y/n)? |
Number of Tenants to Configure for Event Repository | The number of tenants to configure for specific Event Repository configuration. create_config.info question: EventLoader:How many tenants do you want to configure? |
Event Repository Tenant ID | The alpha-numeric ID (name) string attached to the TenantId field in the event record.create_config.info question: EventLoader:What is the TenantId for this tenant? |
Base Event Repository | Whether events for a tenant are stored in the base repository. create_config.info question: EventLoader:Tenant_N:Will events for this tenant be stored in the base repository (y/n)? |
Event Repository Database Name | The Event Repository database name. create_config.info question: EventLoader:Tenant_N:What is the database name for this repository? |
Event Repository Address/Connection String | The address or connection string for the repository. create_config.info question: EventLoader:Tenant_N:What is the address or connection string for the Event Repository? |
Event Repository Username | The username for the repository. create_config.info question: EventLoader:Tenant_N:What is the username for the Event Repository? |
Event Repository Password | The password for the repository. create_config.info question: EventLoader:Tenant_N:What is the password for the Event Repository? |