This documentation supports the 19.05 version of BMC Digital Workplace Advanced.

To view an earlier version, select the version from the Product Version menu.

Configuring multitenancy

The multitenancy feature provides the ability to segregate all data by operating company and customer company. This topic describes how to configure BMC Digital Workplace so that configuration data it provides is restricted to a specific tenant company. A system administrator prepares the tenant configuration utility, activates the master tenant, and then activates tenants as needed.The master tenant is associated with a company in BMC Remedy IT Service Management (BMC Remedy ITSM) that is used for overall administration. Administrators who are members of the master tenant company can set the provider settings from the BMC Digital Workplace Admin console. Each subtenant is associated with a company in BMC Remedy ITSM. Subtenants use the provider settings from the master tenant. Only an administrator for the master tenant can modify the provider settings.

Multitenancy and access to data

In BMC Remedy ITSM, configure multitenancy for data that comes from BMC Remedy ITSM, such as users and service request definitions (SRDs). When users are set up, they are granted access to data for one or more companies. For data that is maintained in BMC Remedy ITSM (such as SRDs), the same access is provided in BMC Digital Workplace without any additional configuration. For example, if you create separate SRDs for the Calbro and Acme companies, and grant Bob Unser access only to the Calbro company, he can see and request only SRDs from the Calbro company

BMC Digital Workplace also provides configuration data that is not available in BMC Remedy ITSM, such as:

  • Quick-pick lists of SRD catalog items that appear on the Catalog tab
  • Catalog configuration

  • How-to links

  • Social posts not tied to any BMC Remedy ITSM tickets or BMC Service Request Management service requests

  • Broadcasts

  • Location features
  • Service health
  • Appointment and reservation features

Note

Users get access only to the BMC Digital Workplace configuration data for the company to which they are assigned on the People form (on the Company field of the General tab), even if they have access to multiple companies through access restrictions. For example, if Joe Unser, a self-service user, is assigned to Calbro company on the People form, he has access to how-to links and SRDs configured for Calbro, but not the how-to links and SRDs configured for Acme. This also applies to the BMC Digital Workplace Admin console—if Allen Allbrook, a BMC Digital Workplace administrator, is a member of the Calbro company, he can configure how-to links and locations for Calbro only. If Allen Allbrook also needs to configure how-to links and locations for Acme, he needs a second user ID that is a member of the Acme company.

For the BMC Digital Workplace Admin console, an exception to the per-company configuration is the Providers table of Configuration (on the Application Features page). The Providers table is shared for all companies (tenants). After you activate multitenancy, the Providers table is no longer available from the Admin console. Instead, you must use the tenant admin utility to configure the provider settings.

Before you begin

  • Configure multitenancy in BMC Remedy ITSM, as described in Multi-tenancy  in the BMC Remedy ITSM documentation.
  • Locate the tenant configuration utility in DWP_HOME\DWP\tenant-config\scripts.
  • Ensure that all users who belong to the master tenant have the Super Admin permissions. Without these permissions, a master tenant user is not able to login to BMC Digital Workplace after the multitenancy is configured,

To prepare the tenant configuration utility

  1. On the BMC Digital Workplace server, move the tenant-config.jar from DWP_HOME/tenant-config to a folder with scripts:
    • (LinuxDWP_HOME/tenant-config/scripts/linux
    • (WindowsDWP_HOME\tenant-config\scripts\win.
  2. (Optional) To run the tenant configuration utility on a server other than the BMC Digital Workplace server, copy the scripts/linux or scripts/win folders from the BMC Digital Workplace server to the server that will run the utility.
  3. In a text editor, edit the set_env.bat (Windows) or set_env.sh (Linux) to set the following parameters:

    ParameterValueAdditional information
    java_homePath to your Java directoryDo not include the “bin” directory at the end of the path. Surround the path with double quotes, as in the example provided in the file.

    The parameter indicates java7, but the value must be a Java 8 installation. Do not change the name of the “set” variable because this variable is used in other places.

    myit_server_urlhttp://DigitalWorkplaceServer/dwp

    myitServer must be the host name of the BMC Digital Workplace server. If you will run the tenant configuration utility from the BMC Digital Workplace server, you can enter localhost, as in http://localhost:PORT/dwp, where PORT is the BMC Digital Workplace server Tomcat port.

    API_TOKENNot available

    Copy the API_token from the SHR:SHR_KeyStore form or from the connect-dwp.properties file in the <Tomcat_home>/external_conf directory.

    Note: This value is automatically generated and populated in the file upon fresh installation or upgrade.

    API_SECRETNot applicable

    Copy the API_secret from the SHR:SHR_KeyStore form or from the connect-dwp.properties file in the <Tomcat_home>/external_conf directory.

    Note: This value is automatically generated and populated in the file upon fresh installation or upgrade.

    tenant_nameDefault value: 000000000000001Tenant identifier required for tenant operations. Note: The previously set user (user_name) must be the member of this tenant.
    master_tenant_nameDefault value: 000000000000001Master tenant configuration details are copied during creation of a subtenant.
    company
    Company identifier of a subtenant.
    SAML_authenticationTrue or FalseMust be set (to True or False) before a tenant or subtenant is added.
  4. Test the utility by running the following command:

    (Windows) list_tenants.bat
    (Linux) list_tenants.sh

    You should see a default tenant with the name 000000000000001.

To activate the master tenant

A database administrator runs the following SQL statement:

UPDATE TENANT SET HOSTNAME = 'localhost;@Company:<Master Tenant Company>' where HOSTNAME='localhost'

Replace <Master Tenant Company> with the company name for the master tenant company, such as Calbro Services, for example:

UPDATE TENANT SET HOSTNAME = 'localhost;@Company:Calbro Services’ where HOSTNAME='localhost' 

Note

Do not activate the master tenant company as a subtenant.

To activate subtenants

  1. In the tenant configuration utility directory, edit set_env.bat (Windows) or set_env.sh (Linux) with a text editor, and set the company to the name of the BMC Remedy ITSM operating or customer company that you are activating.

    • (Linux) Find the line that says  COMPANY="" and put the company name inside the quotes, for example, COMPANY="Acme".

    • (Windows) Find the line set company= and add the company name to the end after the equals sign (=), for example, set company=Acme.

  2. Edit add_subtenant.bat (Windows) or add_subtenant.bat (Linux) in a text editor, and change java7_home to java_home.
  3. Run add_subtenant.bat (Windows) or add_subtenant.sh (Linux).

  4. Repeat these steps for each company you are activating.

    Note

    Ensure that you activate subtenants for all required companies. Users from the companies that do not have activated subtenants are not able to log in to BMC Digital Workplace after the multitenancy is configured.

Where to go from here

If you are rebranding BMC Digital Workplace, you must rebrand it for each tenant, as described in Rebranding BMC Digital Workplace.

Was this page helpful? Yes No Submitting... Thank you

Comments