Perform the following steps to integrate the Management Framework Architecture with Application Server.
Execute the following command to edit "DACXAmeyoProServerDefault.ini" file to provide the SSO entries into it.
vim /dacx/var/ameyo/dacxdata/com.drishti.dacx.server.product/conf/DACXAmeyoProServerDefault.ini
Add the following SSO entries in this file:
SSOServerProtocol=<Server_Protocol>
SSOServerPort=7777
SSOServerIp=<Domain_Name_of_Server>
Figure: SSO entries in DACXAmeyoProServerDefault.ini File
Execute the following commands to allow Management Server to manage Application Servers.
Execute the following command to logon to the Application Server's database.
psql -U postgres <Application_Server_Database_Name>
Run the following query to provide authentication of Application Server from Management Server.
INSERT INTO system_configuration_parameter (name,type,value,default_value,date_added,date_modified) VALUES ('authentication.scheme','String','auth.type.ms','auth.type.passwd',now(),now());
Run the following query to provide the Management Server mode to Application Server.
INSERT INTO system_configuration_parameter (name,type,value,default_value,date_added,date_modified) VALUES ('systemMode','String','ms','ameyo',now(),now());
Run the following query to provide "root" user to logon to Application without authentication from Management Server.
INSERT INTO system_configuration_parameter (name,type,value,default_value,date_added,date_modified) VALUES ('override.authentication.scheme','String','{"authentication.scheme":"auth.type.passwd","applicable.user.roles":"root"}','{"authentication.scheme":"auth.type.passwd","applicable.user.roles":"root,PowerUser"}',now(),now());
The root user in Application Server is the main user who has the privileges to manage the complete Application Servers and Call Managers.
Execute the following commands to make Ameyo appserver from single tenant server to multi-tenant server.
select * from system_configuration_parameter where value ilike '%set%';
UPDATE system_configuration_parameter SET value ='ameyo.professional.multi-tenant' where name='setup.type';
DELETE FROM data_version;
DELETE FROM schema_version;
Figure: Updating Single tenant Server to Multi-Tenant Server
Execute the following commands to restart Ameyo Appserver application
ameyoctl service appserver stop
ameyoctl service appserver start