• Print
  • Dark
    Light

Multi-Tenancy Creating Default Tenant Configurations using Prototype Instance

  • Updated on 05 Mar 2019
  • 2 minutes to read

Creating Default Tenant Configurations using a Prototype Instance is the process of enabling customers to add new tenants that are already setup or configured in Decisions.

Example

After a customer is registered, navigate to the login and select the  InstanceDefaultSetupPrototype to log in. The instance default setup is where the Decisionsenvironment is set up for every new instance (Tenant) that is added to the Multi-Tenant environment.

Step 1.
instanceprototype.jpg

Step 2.
Locate My Apps or a Folder andCreate a Flow
Multi-Tenant-Flow.jpg

Step 3.
Log out of the InstanceDefualtPrototype.
logout.jpg

Step 4.
Navigate to the File Local Disk (C) > Program Files >  Microsoft SQL Server > MSSQLExpress > MSSQL > Backup right click and delete the DecionsInstancePrototype.bak file.

delete-back-up.jpg

Step 5.
Next continue the update by locating  SQL Manager> Databases>DecisionsInstancePrototype to back it up. Right click on DecisionsInstancePrototype select tasks and then select Back up to back up the Database.
Note: Navigate using this pathway: C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\Backup, .
db.jpg

Select Ok to begin the backup. After the database has been successfully backed up a notification displays stating that it has successfully back up, select OK.  
back-up-2.jpg

After Decisions Instance Prototype has been successfully backed up in SQL server, Log into the account and then choose the Primary Instance in Decisions.
First, log into the account.
admin-log.jpg

Next, select the Primary Instance from the drop down.
primary-instance.jpg

In the Primary Instance locate the customer's folder and select a registered customer (Test Company VM) to add anInstance (Tenant) for the registered customer to host.  Begin by locating the registered customer, select the customer in the folder view, right-click and choose Add Instance.
Note: Adding an Instance to a registered customer can only be added after a customer is registered and a Registered Configuration (Hosting definition) is assigned to the customer. 
AI.-to-test-C..jpg

Create a new Instance, make sure that the Instance name and theDatabase Name match. Select the correct Accounts and make sure toSelect administrators for theInstance.
Add theInstance name: TestCo Tenant
Under Hosting, Assign To Server: DECLAPTOP16
Under Accounts, Assign Accounts: ashley@decisions.com
assignserver-3.jpg

Under Select Administrators, select Add New and pick the desiredAccounts to add asAdministrators for the newly created Instance
Add New: ashley@decisions.com
Under Databas e give the Database a Name: TestCo Tenant
]admin-dbn-2.jpg

The New Instance (TestCoTenant) will now be visible under Test Company VM,.
Test-C.jpg

Now Log out of the Primary Hosting environment to view and log into the registered customerTest Company's newInstance, called: (TestCo Tenant) . Locate Customer Test Company VM, right click select Add User Account and choose Link Account
link-account.jpg

Pick the desiredAccount andAssign To Instances by checking the checkbox next to eachInstance.
ash-link-1.jpg

Check: TestCo Tenant
Check: Is Administrator
Now Create an Incognito page to sign in with the administrator account and choose the new Instance TestCo.Tenant , (Figure 15).
tc.jpg

The new Instance should now show the new Flow that was created in the InstanceDefaultSetupPrototype (Figure 16).
mt.jpg

Was this article helpful?