Configuring multitenancy
How multitenancy works in BMC Helix Digital Workplace
- Default subtenant—The first tenant that you create by running the (MSP) Config utility is the tenant. The default subtenant is associated with a company in BMC Helix ITSM. Administrators who are members of the default subtenant company can set and modify provider settings from the BMC Helix Digital Workplace Admin console.
- Subtenant—After creating the default subtenant, you run the utility again to create subtenants. If you want to create multiple subtenants, you run the utility each time you want to create a subtenant. A subtenant is also associated with a company in BMC Helix ITSM. Subtenants use the provider settings from the default subtenant.
Before you begin
Make sure you complete the following tasks before running the MSP Config utility:
Area or Product | Description |
---|---|
Infrastructure |
Best practice: We recommend you use Cent OS 7.x.
|
Action Request System |
|
BMC Helix ITSM |
|
Task 1: To download the BMC Helix Digital Workplace MSP Config utility
- In the Linux machine, run the following command to create a directory to unzip the utility folder:
mkdir/opt/dwp-tool - Download the MSP Config utility to this directory.
- Run the following command to extract the utility folder:
unzip dwp-msp-config-utility
The dwp-msp-config-utility folder has the following content:
- rxscripts folder
- scripts folder
- README file
Task 2: To set the environment parameters
Set the environment parameters for the subtenant that you want to create. If you want to create multiple subtenants, you must run the script for each time by changing the values of export DWP_MSP_SUBTENANT_COMPANY_NAME and export DWP_MSP_SUBTENANT_COMPANY_USER_PASSWORD parameters.
- From the extracted dwp-msp-config-utility folder, in the rxscripts folder, open the setenv.sh file in a text editor.
Set the following parameter values for logging in to the BMC Helix Innovation Studio instance:
Parameter
Value
Example value
export IS_URLBMC Helix Innovation Studio URL with protocol and port
https://apex.bmc.com/helix/index.html#/com.bmc.arsys.rx.innovationstudio
export IS_ADMINBMC Helix Innovation Studio administrator user name
hannah_admin
export IS_ADMIN_PASSWORDBMC Helix Innovation Studio administrator password
Not applicable
Set the following parameter values to define the MSP configuration:
Parameter
Value
Example value
export DWP_MSP_SUBTENANT_COMPANY_NAMEThe subtenant company name
Important: If you are running the utility for the first time, by default, this company will be the default subtenant.Apex
export DWP_MSP_SUBTENANT_COMPANY_USER_PASSWORDPassword for the subtenant company user
Not applicable
export DWP_MSP_RUNMODE_VALUE- 2031313—BMC Helix Digital Workplace Basic license
- 2169487—BMC Helix Digital Workplace Advanced license
2169487
export DWP_MSP_CHAT_URLLive Chat URL
https://apex.bmc.com/eschat
export DWP_MSP_MYIT_BACKEND_URLBMC Helix Digital Workplace URL
https://apex.bmc.com/dwp
export DWP_MSP_SENDER_EMAILSender's email address
dwp@apex.com
export DWP_MSP_SBE_URLBMC Helix Digital Workplace Catalog URL
Note: Enter this value only if you have subscribed to the BMC Helix Digital Workplace Catalog, otherwise leave it blank.
https://apex.bmc.com/api/myit-sb
export DWP_MSP_EXTERNAL_HOST_DOMAINSBMC Helix Single Sign-On URL that is common for BMC Helix Digital Workplace and BMC Helix ITSM: Smart IT to allow questionnaires to be embedded in BMC Helix ITSM: Smart IT.
https://apex.bmc.com/rsso/admin/
export DWP_MSP_SBE_SYSTEM_USERBMC Helix Digital Workplace Catalog user name
hannah_admin
export DWP_MSP_SBE_SYSTEM_USER_PASSWORDBMC Helix Digital Workplace Catalog password
Not applicable
- Save the file.
Task 3: To run the BMC Helix Digital Workplace MSP Config utility
- On the Linux machine, run the following command to navigate to the scripts directory:
cd /opt/dwp-tool/scripts Run the following command to onboard the subtenants:
./call_onboard_subtenant.sh
The utility script starts executing and you can observe the progress in the console. The script includes a validation that displays whether the subtenant is successfully created or not.The following image shows an example of the message after a subtenant is successfully created:
Task 4: To verify default subtenant creation from the BMC Helix Innovation Studio UI
- As an administrator, log in to BMC Helix Innovation Studio.
- On the Workspace tab, click Digital Workplace.
- On the Record Definitions tab, select the check box for Subtenant and click Edit data.
- Click the record definition instance that is created when you run the script for the first time.
The fields in the record definition and populated automatically. Verify the following fields:
- Default is selected.
- Name contains the subtenant company name that you used in export DWP_MSP_SUBTENANT_COMPANY_NAME parameter.
The following image is an example of the Subtenant record definition instance:
Troubleshooting
The following table describes common errors that can occur when you create subtenants and steps to resolve them:
Error | Steps to resolve |
---|---|
The following error is displayed if you attempt to create a subtenant for a Company that is not created in BMC Helix ITSM: | Make sure that you create a company by the same name in BMC Helix ITSM. |
The insufficient permission message is displayed when you run the following command: ./call_onboard_subtenant.sh | Execute the chmod +x call_onboard_subtenant.sh command instead. |
Where to go from here
Action | Reference |
---|---|
To set up configuration data for subtenants | |
To rebrand BMC Helix Digital Workplace, you must rebrand it for each subtenant |