Differenze tra le versioni di "AdminGuide:GettingStarted:Multitenant/en"

Da Kalliope Wiki.
Jump to navigation Jump to search
(Creata pagina con "3. Click on "''Activate new license''" and insert the "''KalliopePBX Multitenant''" license key.<br>Click on "''Activate''".")
 
(17 versioni intermedie di uno stesso utente non sono mostrate)
Riga 6: Riga 6:
To activate a Kalliope Multitenant license, follow these steps:
To activate a Kalliope Multitenant license, follow these steps:


1. If you wish to activate the license on a new machine, begin by following the instructions for [[AdminGuide:GettingStarted:VM|activating a KalliopePBX VM license]] with the license key you were provided.
1. If you wish to activate the license on a new machine, begin by following the instructions for [[AdminGuide:GettingStarted:VM/en|activating a KalliopePBX VM license]] with the license key you were provided.
If you wish to activate a Kalliope Multitenant license on a KalliopePBX VM that was previously set up, skip to step 2.
If you wish to activate a Kalliope Multitenant license on a KalliopePBX VM that was previously set up, skip to step 2.


Riga 17: Riga 17:
[[File:Attivazione KMT.png|350px|senza_cornice]]
[[File:Attivazione KMT.png|350px|senza_cornice]]


4. Dopo l'attivazione di questa licenza sarà necessario effettuare nuovamente il login dal momento che la macchina ha sbloccato le funzionalità '''multitenant'''. <br>Prima di riavviare viene chiesto se e quali limiti impostare per il tenant di Default, ovvero quello già esistente inizializzato all'installazione del firmware (vedi punto 1).
4. After activating the license, you will need to log in again to unlock '''multitenant''' functionality.<br>Before restarting you will be asked which limitations, if any, to set for the "default" tenant, i.e. the preexisting one set up during firmware installation (see step 1).


[[File:Attivazione multitenant.png|350px|senza_cornice]]
[[File:Attivazione multitenant.png|350px|senza_cornice]]


5. Per accedere alla gestione dei tenant, effettuare il login con le seguenti credenziali:
To manage tenants, log in with the following credentials:


Username: '''pbxadmin''' <br>
Username: '''pbxadmin''' <br>
Password: '''admin'''  
Password: '''admin'''  


Si consiglia di cambiare la password dell'utente "pbxadmin" immediatamente dopo il login.
You are advised to change the password for the user "pbxadmin" immediately after login.


6. Una volta acceduto con le credenziali '''pbxadmin''' nel menu Licenze è possibile visionare la nuova licenza disponibile per il numero di tenant acquistato.
6. Once you have logged in as '''pbxadmin''', you can view the new license from the Licenses menu.


[[File:Licenza KMT attiva.png|400px|senza_cornice]]
[[File:Licenza KMT attiva.png|400px|senza_cornice]]




Durante l'attivazione della licenza multi-tenant KalliopePBX effettua una serie di operazioni interne di riconfigurazione; alcune sono effettuate in modo automatico mentre altre richiedono l'inserimento di parametri da parte dell'amministratore.
During the activation of a multitenant license, KalliopePBX executes a series of internal procedures; some are automatic, while others require the admin to input the necessary parameters.


KalliopePBX, nella sua modalità di operatività standard (single-tenant) è in realtà già un sistema multi-tenant in cui è disponibile un solo tenant (predefinito, associato al dominio "default") ed in cui le funzionalità degli utenti pbxadmin e admin di tenant (si faccia riferimento alla pagina [[AdminGuide:BasicConcepts:Users and roles|"Utenti e Ruoli"]]) sono integrate sull'unico utente "admin".
When operating in its default single tenant mode, KalliopePBX is already a multitenant system with a single predefined tenant enabled (associated to the "default" domain); the pbxadmin and the tenant admin (see [[AdminGuide:BasicConcepts:Users and roles/en|"Users and roles"]]) are simply combined into a single user, "admin".


In fase di attivazione della licenza multi-tenant, le due identità vengono distinte, separando l'ambito di configurazione dell'admin (l'operatività telefonica del tenant) da quella del nuovo utente "pbxadmin". In particolare, gli utenti di tenant vengono adesso identificati anche dal dominio del tenant di appartenenza (nel caso specifico: "default", per cui admin diventa admin@default, e così via), in modo da avere la piena libertà (all'interno del singolo tenant) di usare un qualsiasi username.
When a multitenant license is activated, the two users are made distinct, separating the admin's configuration privileges (the operation of the single tenant) from those of the new user "pbxadmin". The users of a single tenant are now identified by the domain of the tenant they belong to (in this case, "default", so the admin becomes admin@default, and so on) so they can have the freedom to pick any username within the tenant.


Allo stesso tempo, viene effettuato un disaccoppiamento tra le linee SIP esterne (gateway, domini, trunk e terminazioni) ed i tenant, in quanto le prime sono entità sotto il controllo del pbxadmin e pertanto ne deve essere mediata la visibilità ai singoli tenant admin. Viene introdotto il concetto di "assigned line", che in pratica corrisponde ad una numerazione (o arco di numerazione) presente su una delle linee di uscita, e che viene assegnata (in termini di utilizzo esclusivo) ad un tenant.
At the same time, the external SIP lines (gateways, domains, trunks, terminations) and the tenants are decoupled, as the former are controlled by the pbxadmin and their visibility to the tenants needs to be mediated. This introduces the concept of an "assigned line", a numbering or numbering range attributed to an outbound line, which is assigned to the exclusive use of a single tenant.


Al momento dell'attivazione della licenza multi-tenant, in caso di presenza di linee di ingresso/uscita già configurate sul PBX, vengono implicitamente create delle linee assegnate (una per ciascun linea di uscita) che vengono attribuite (con selezione "qualsiasi") al tenant "default". In questa fase è possibile anche specificare solo alcune numerazioni da presentare al tenant, in modo da riservare poi altre nuemrazioni eventualmente presenti sulla linea ad altri tenant.
Upon the activation of a multitenant license, should there be any inbound/outbound lines already configured on the PBX, assigned lines will be created (one for each outbound line) and attributed to the "default" tenant. In this phase, it is possible to specify which numbering to present to the tenant, in order to reserve others for use by other tenants.


L'assegnazione delle linee ai tenant avviene in modo analogo alla configurazione delle selezioni passanti (DID) nel caso delle linee di ingresso di un sistema single-tenant, con la differenza che adesso la destinazione d'inoltro non sarà più una entità quali interni, code, gruppi o altro, ma sarà un intero tenant. Nella configurazione del tenant sarà poi effettuato l'instradamento alle destinazioni terminali, secondo il concetto di DID associati alle singole "assigned line".
Assigning lines to the tenants works similarly to configuring DID on the inbound lines of a single-tenant system; the difference is that the destination will not be an entity such as an extension, queue, group, or other, but rather an entire tenant. Routing to the final destination will be carried out according to the configuration of the tenant, following the concept of DID associated to a single assigned line.


'''ATTENZIONE!''' In questa procedura di conversione delle linee da single a multi-tenant è importante considerare il fatto che le eventuali regole di manipolazioni in ingresso (ad un gateway o ad un dominio) che nello scenario single-tenant venivano effettuate prima dell'applicazione delle regole di instradamento dei DID, vengono mantenute '''associate alle effettive linee di ingresso''' e non sono invece trasferite al tenant. Ne consegue che le regole di assegnazione delle numerazioni ai tenant (assigned lines) DEVE essere effettuata configurando le '''selezioni risultanti DOPO le manipolazioni di ingresso'''.
'''N.B.:''' During the conversion from single-tenant to multitenant lines, it is important to consider that all inbound manipulation rules (to a gateway or a domain), which in a single-tenant scenario were implemented before applying the DID routing rules, will remain '''associated to the inbound lines''' and will not be transferred to the tenant. It follows that the rules for assigning lines to tenants MUST be implemented by configuring the '''resulting selections AFTER the inbound manipulation rules'''.


Parimenti, le regole di uscita vengono applicate a livello di PBX dopo che la chiamata sia uscita dal tenant e attribuita ad una specifica linea di uscita.
Similarly, any outbound rule will be applied on a PBX level after the call has left the tenant and has been attributed to a specific outbound line.


All'interno di ogni singolo tenant sono poi presenti nuove tabelle di manipolazione (sia in ingresso che in uscita) associate alle singole assigned line attribuite a ciascuno di essi, permettendo quindi sia al pbxadmin che al singolo admin di tenant di effettuare le necessarie modifiche ai numeri chiamante e chiamato nelle varie fasi di gestione della chiamata.
Within each tenant there are further manipulation tables (both inbound and outbound) associated to the single assigned line attributed to it, allowing both the pbxadmin and the admin to implement the necessary modifications to calling and called numbers during the various phases of call management.

Versione attuale delle 08:18, 30 apr 2018

Altre lingue:

Return to AdminGuide:GettingStarted


To activate a Kalliope Multitenant license, follow these steps:

1. If you wish to activate the license on a new machine, begin by following the instructions for activating a KalliopePBX VM license with the license key you were provided. If you wish to activate a Kalliope Multitenant license on a KalliopePBX VM that was previously set up, skip to step 2.

2. Log into the KalliopePBX administration GUI with "admin" credentials and open the license management page from the main menu.

Menu licenze.png

3. Click on "Activate new license" and insert the "KalliopePBX Multitenant" license key.
Click on "Activate".

Attivazione KMT.png

4. After activating the license, you will need to log in again to unlock multitenant functionality.
Before restarting you will be asked which limitations, if any, to set for the "default" tenant, i.e. the preexisting one set up during firmware installation (see step 1).

Attivazione multitenant.png

To manage tenants, log in with the following credentials:

Username: pbxadmin
Password: admin

You are advised to change the password for the user "pbxadmin" immediately after login.

6. Once you have logged in as pbxadmin, you can view the new license from the Licenses menu.

Licenza KMT attiva.png


During the activation of a multitenant license, KalliopePBX executes a series of internal procedures; some are automatic, while others require the admin to input the necessary parameters.

When operating in its default single tenant mode, KalliopePBX is already a multitenant system with a single predefined tenant enabled (associated to the "default" domain); the pbxadmin and the tenant admin (see "Users and roles") are simply combined into a single user, "admin".

When a multitenant license is activated, the two users are made distinct, separating the admin's configuration privileges (the operation of the single tenant) from those of the new user "pbxadmin". The users of a single tenant are now identified by the domain of the tenant they belong to (in this case, "default", so the admin becomes admin@default, and so on) so they can have the freedom to pick any username within the tenant.

At the same time, the external SIP lines (gateways, domains, trunks, terminations) and the tenants are decoupled, as the former are controlled by the pbxadmin and their visibility to the tenants needs to be mediated. This introduces the concept of an "assigned line", a numbering or numbering range attributed to an outbound line, which is assigned to the exclusive use of a single tenant.

Upon the activation of a multitenant license, should there be any inbound/outbound lines already configured on the PBX, assigned lines will be created (one for each outbound line) and attributed to the "default" tenant. In this phase, it is possible to specify which numbering to present to the tenant, in order to reserve others for use by other tenants.

Assigning lines to the tenants works similarly to configuring DID on the inbound lines of a single-tenant system; the difference is that the destination will not be an entity such as an extension, queue, group, or other, but rather an entire tenant. Routing to the final destination will be carried out according to the configuration of the tenant, following the concept of DID associated to a single assigned line.

N.B.: During the conversion from single-tenant to multitenant lines, it is important to consider that all inbound manipulation rules (to a gateway or a domain), which in a single-tenant scenario were implemented before applying the DID routing rules, will remain associated to the inbound lines and will not be transferred to the tenant. It follows that the rules for assigning lines to tenants MUST be implemented by configuring the resulting selections AFTER the inbound manipulation rules.

Similarly, any outbound rule will be applied on a PBX level after the call has left the tenant and has been attributed to a specific outbound line.

Within each tenant there are further manipulation tables (both inbound and outbound) associated to the single assigned line attributed to it, allowing both the pbxadmin and the admin to implement the necessary modifications to calling and called numbers during the various phases of call management.