Working with Tenants and Tenant Instances
About the Tenants Workspace
Ivanti Service Manager uses the concept of tenants so that it can update a system database while not touching the official version of the database. The official version of a database is always located on the production instance of the tenant.
If you need to make changes to the official system database, you do not want to make the changes realtime to a live version because you might make a mistake and accidentally delete everything. Therefore, the Operations Console allows you to make a copy of the production tenant, called an instance, and make changes there. When the database changes have been reviewed and approved, only then are they moved back to the production instance of the tenant.
Use the Tenants workspace to perform a variety of tenant and tenant instance management activities, including creating, locking, migrating, and deleting tenants and tenant instances.
•Tenant Display Order Controls
Workspace Filter Controls
Use the Status and Landscape drop-down boxes to filter which tenants and tenant instances are displayed in the workspace:
•Status: Displays tenants and tenant instances based on their status. You can select All, Pending, Active, OnHold, Closed, or Demo.
•Landscape: Displays tenants and tenant instances from a landscape type, such as production, or you can choose All to display tenants and tenant instances from all landscapes.
If you do not see as many tenants or tenant instances as you expect when you first open the Tenants workspace, select All from both the Status and Landscape drop-down boxes to display all of the tenants and tenant instances on your system.
Tenant Display Order Controls
Use the Sort By field and the Reverse Sort button to configure the order in which tenants and tenant instances are displayed:
•Sort By: Select whether to sort by customer and then URL (Customer, URL option); customer and then status (Customer, Status option); or by customer and then expiration date (Customer, Exp Date option) as the tenant and tenant instance display order.
•Reverse Sort: Check here to display tenants and tenant instances in reverse alphabetical or numerical order.
Expanded View and List View
Use the Expanded View and List View buttons to switch between expanded and list views. The name of the currently selected view is shown in a pink font.
Expanded View
Use the Expanded View to display the maximum amount of information for each tenant and tenant instance. This information is displayed:
•Tenant or tenant instance name (for example, ConfigDB, Server_01, etc.).
•Ivanti Service Manager database name. This is sometimes the same as the tenant or tenant instance name (for example, ConfigDB), depending on how the tenant or tenant instance was originally configured.
•Tenant or tenant instance creation and expiration dates.
•The name and contact information of the primary contact for the tenant or tenant instance.
•The number of licenses, sessions, and timeout minutes for each tenant or tenant instance.
•A log of recent tenant or tenant instance changes.
You may also see some or all of these links, depending on how the tenant or tenant instance is configured:
•Edit Properties: Opens the Edit dialog box for the tenant or tenant instance where you can set these parameters:
•Company name.
•Status of the tenant or tenant instance (for example, active, pending, on hold, closed, and demo).
•Put the tenant or tenant instance into maintenance mode.
•Lock metadata.
•Tenant or tenant instance expiration date.
•The number of named and concurrent licenses.
•The session timeout value.
•The person who is the point of contact for matters involving the tenant or tenant instance.
•Manage Migration: Opens the Tenants workspace, from which you can migrate data between tenants or tenant instances.
•Extend Expiration Date: Opens the Expiration Date dialog box, from which you can select a new expiration date for the tenant or tenant instance.
•Deactivate: Opens the Deactivate dialog box, from which you can deactivate the tenant or tenant instance.
•Clear Cache: Clears the cache of the Ivanti Service Manager application server without having to shut down the application.
List View
Use the List View to display a minimal amount of information for each tenant and tenant instance. This information is displayed:
•Tenant or tenant instance name (for example, ConfigDB, Server_01, and so on).
•Tenant or tenant instance creation and expiration dates.
•The name and contact information of the primary contact for the tenant or tenant instance.
•One or both of these links, depending on how the tenant or tenant instance is configured:
•Edit Properties: Opens the Edit dialog box for the tenant or tenant instance.
•Manage Migration: Opens the Tenants workspace, from which you can migrate data between tenants or tenant instances.
How to Create a New Tenant
When you install Ivanti Service Manager, you automatically create a tenant with a production instance. However, in some situations, you may need to create a new tenant. For example, a customer may have two applications running on one system and each application requires its own tenant.
The following sections describe two ways to create a new tenant:
•Creating a New Tenant by Using the Operations Console
•Creating a Tenant by Copying an Existing Tenant
Creating a New Tenant by Using the Operations Console
The easiest way to create a new tenant is to use the Operations Console.
This process creates a new tenant. It does not create instances, such as staging or UAT, of existing tenants.
1.Log in to the Operations Console.
2.Click Tenant. The system displays the Tenants workspace.
3.Click Add Tenant. See Adding a Tenant.
4.Enter information in the fields about the source that will act as a starting point for your new tenant:
•Choose a source landscape. This is the landscape where the source tenant resides. You can only select production or other.
If you select production, you can create a tenant in either the production or other landscapes.
If you select other, you can only create a tenant in the other landscape.
•(Optional) Choose a source tenant filter. This allows you to narrow down the source tenants that the system displays in the Source Tenant field below.
•Choose a source tenant. These are all the tenants in the source landscape that you selected above.
•Choose a source database option. This is where the database for the source tenant comes from.
See Backup Types for more information about database backup types.
The options you see here depend on if you checked Allow All Backup Options when you created the landscape. If you checked Allow All Backup Options, then you can choose to use live backups when creating a tenant. If you did not check it, you can only restore your database from a previously backed up version. See Adding a Landscape for more information about the Allow All Backup Options parameter.
The options you see here also depend on if you checked LiteSpeed Enabled when you created the landscape group. See Adding a Landscape Group for information about the LiteSpeed Enabled parameter.
5.Enter information in the fields about the new tenant:
•Choose a tenant landscape. This is the landscape where the new tenant will reside. You can either choose the production landscape or the other landscape, depending on what you entered in the first bullet of step 4 above.
•Enter a tenant URL pattern. This is the format in which all tenant URLs will be named. You can optionally use the {tenantName} variable as a placeholder for the tenant name.
•Choose the tenant database server.
•Enter a tenant database name pattern. This is the format in which all databases will be named. You can optionally use the {dbName} variable as a placeholder for the database name.
•Enter the file storage path.
•Enter the company name.
•Enter the tenant status. Can be pending, active, on hold, closed, or demo.
•Enter the expiration date for the tenant. You can choose a specific date or select never expires. Choose the expiration date carefully. When a tenant has expired, you cannot log in to it anymore. You must contact Ivanti Software to extend the expiration date.
•Enter the number of named licenses for the tenant.
•Enter the number of concurrent licenses for the tenant.
•Enter the session timeout in minutes. If the session is dormant for longer than this time, you must log in to the system again.
•Choose the primary point of contact for this tenant.
•Enter the inbound and outbound email address for this tenant. Any domain names that you already entered on the Adding a Landscape page are populated in the drop-down menu. You can either choose a domain name from the drop-down menu or you can enter a domain name.
•Check Reuse mailbox if already exists to reuse the email address if it was already used.
•Check Enable email listener to enable the email listener.
•Check Keep existing users enabled to keep the existing users enabled.
•Check Delete audit, log, change log and history data to delete the data in these tables:
Logs
Frs_ops_logon_history
Frs_ops_gbu_pipeline_history
Frs_ops_metadata_history
Frs_ops_upload_cache
Journal
LDAPImportLog
Frs_ops_package_item
•Frs_ops_package
All audit tables, with the name Audit_table
•Check Scrub email address in users to ensure that you do not accidentally email users repeatedly during configuration testing on the target tenant instance. If you check this option, the system changes all email fields containing customer email to use the @it.com domain instead of the company domain. This change applies to the user's primary email, contact email, manager email, and team email.
•Check Scrub email address in other places to scrub email accounts saved in transactional data (such as in incidents, service requests, workflow tasks, and so on).
•Check Trim data to keep last 90 days only to only copy transactional data that was created or modified within the last 90 days. If you are updating the database from a copy of your existing customer database, most records are likely to be current within 90 days.
•Check Scrub email address in users to ensure that you do not accidentally email users repeatedly during configuration testing on the target tenant. If you check this option, the system changes all email fields containing customer email to use the @it.com domain instead of the company domain. This change applies to the user's primary email, contact email, manager email, and team email.
•Check Scrub email address in other places to scrub email accounts saved in transactional data (such as in incidents, service requests, workflow tasks, and so on).
•Enter the host name of the report server.
•Enter the user name and password for the person who will sign in and use the report server.
6.Click Create. The system creates the tenant. This may take two or more minutes. After you create the tenant, you can log in to it.
Creating a Tenant by Copying an Existing Tenant
•About Copying an Existing Tenant
•Option 1: Tenants are in Separate Environments and do not Share Resources
•Option 2: Tenants are in Separate Environments and Share Resources
About Copying an Existing Tenant
Under normal circumstances, you can use the Operations Console to create a new tenant and manage migrations in an automated fashion in a Ivanti Service Manager deployment. In that scenario, all environments are managed as separate tenants on the same installation. That process is described in Creating a New Tenant by Using the Operations Console.
However, there are times when you might need to move or copy a tenant from one landscape (for example, a separate development environment) to another installation (for example, a final production environment). The end result is the creation of a new tenant in the target environment.
We recommend only using this process for creating templates or baselines of existing tenants. We do not recommend using this process to create a new tenant. Use the process described in Creating a New Tenant by Using the Operations Console to create new tenants.
The following sections describe two similar ways to create a new tenant by copying an existing tenant. In the first scenario (described in Option 1: Tenants are in Separate Environments and do not Share Resources), the source environment and target environment do not share resources. In the second scenario (described in Option 2: Tenants are in Separate Environments and Share Resources), databases and other resources are shared between the source and target environments.
For both options, both the source and destination tenants must be running the same Ivanti Service Manager software release.
We recommend that you only use this method to create a tenant. We do not recommend using this method to update an existing tenant.
If the tenant already exists in the destination system and you use this method to update that tenant, this method completely overwrites the existing tenant, including transactional data. Therefore, this method is not suitable for moving data or tenants between staging and production servers on an ongoing basis. The person performing the procedure is responsible for ensuring that data is moved correctly and does not accidentally overwrite critical data.
Option 1: Tenants are in Separate Environments and do not Share Resources
Perform the following procedure to create a new tenant.
1.On the source system, use Microsoft SQL Management Server or a similar tool to make a full Microsoft SQL backup of the Ivanti Service Manager tenant database.
2.Paste the Microsoft SQL backup onto the destination system.
3.On the destination system, log in to the Operations Console.
4.If you are going to overwrite a tenant, delete the existing tenant by doing the following:
a. | Click Tenants. The system displays the Tenants workspace. |
b. | Click Expanded View. |
c. | Select the tenant to delete. |
d. | Select Deactivate to deactivate the tenant. |
e. | Select Delete to delete the tenant. Deleting it also deletes the database. |
5.Click Tenants. The system displays the Tenants workspace.
6.Click Add Tenant.
7.In the Source DB Option field, select From copied MSSQL backup.
8.In the Backup Filename field, enter the fully-qualified domain name of the source Microsoft SQL backup.
9.Enter the remaining tenant details (for example, tenant URL, DB Server, and so on), and provide a valid expiration date. See Creating a New Tenant by Using the Operations Console for information on the remaining fields.
10.Click Create.
The system creates the new tenant with the data from the Microsoft SQL backup. This creates or overwrites an existing tenant with new data.
Option 2: Tenants are in Separate Environments and Share Resources
You can manually reconfigure the Operations Console on the development and staging instances of a tenant to support the actual production instance and the staging/UAT instances of the tenant on separate database servers. These environments may be accessed by locally-installed Ivanti Service Manager systems as well.
For the purposes of this document, we assume that both the staging and UAT instances of the tenant are managed on a single Ivanti Service Manager system and the actual production environment is deployed on a separate system. The actual production environment must be accessible through database queries and UNC paths from the server on which the staging and UAT instances reside.
Perform the following procedure to create a new tenant:
1.Deploy Ivanti Service Manager in both the staging/UAT and production environments.
2.In the staging/UAT environment, use the Operations Console to push the initial production instance of the tenant to the staging/UAT instances of the tenant. (See Creating the First Staging or UAT Instance of the Tenant from the Production Instance of the Tenant for details about this procedure.) These will become the permanent staging/UAT instances of the tenant.
3.Use the Operations Console on the staging/UAT instance of the tenant to move the metadata from each tenant instance to the next as required to manage the development lifecycle.
Be sure to only use the Operations Console in the staging/UAT environment.
We recommend that you do not install the Operations Console in the production environment in this scenario.
Editing a Tenant
•Editing the Properties of a Tenant
•Placing a Tenant into Maintenance Mode (Deactivating a Tenant)
Editing the Properties of a Tenant
Follow these steps to edit an existing tenant:
If you only want to extend the expiration date of the tenant, you can click Extend Expiration Date from the Tenants workspace
1.Log in to the Operations Console.
2.Click Tenants. The system displays the Tenants workspace.
3.Find the tenant that you want to edit and click Edit Properties.
4.Edit any or all of the following fields:
•Company name
•Status
•In maintenance
•Metadata locked
•Expiration date
•Named license
•Concurrent license
•Session timeout (in minutes)
•Contact name
•Enable email listener
5.Click Save.
Placing a Tenant into Maintenance Mode (Deactivating a Tenant)
To place a tenant into maintenance mode, which is also known as deactivating it, do the following:
1.Log in to the Operations Console.
2.Click Tenants. The system displays the Tenants workspace.
3.Find the tenant that you want to place into maintenance mode (deactivate) and do one of the following:
•Click Deactivate.
•Click Edit Properties, check In Maintenance, and click Save.
Deleting a Tenant
Before you can delete a tenant, you need to move it into maintenance mode. See Placing a Tenant into Maintenance Mode (Deactivating a Tenant).
1.Log in to the Operations Console.
2.Click Tenants. The system displays the Tenants workspace.
3.Find the deactivated tenant that you want to delete and click Delete.
4.Click OK in the confirmation dialog box.
Clearing the Cache
If the Ivanti Service Manager application server starts returning incorrect data, you may need to clear the cache. You can click Clear Cache to clear the metadata cache on the Ivanti Service Manager application server without having to shut down the Ivanti Service Manager application server. This returns the Ivanti Service Manager application server to the right state and synchronizes it with Ivanti Service Manager.
1.Log in to the Operations Console.
2.Click Tenants. The system displays the Tenants workspace.
3.Click Clear Cache.