OPM Tenants
About OPM Tenants
Operations Performance Management (OPM) utilizes the platform's tenancy management services to support multitenancy. A tenant is a group of users that shares a common access to a specific OPM application instance. A common set of underlying web services provides functionality to each tenant and provides secure access to customer-specific resources and data.
A system administrator creates tenants for customer access. When adding a new tenant, the system administrator assigns a primary administrator for that tenant.
- Tenants subscribe to use OPM services and apps.
- The platform's tenant provisioning service creates a tenant-specific application instance for OPM.
In the newly configured tenant, the primary tenant administrator can log on to complete the initial setup tasks, such as setting the ingestor password, creating users, and assigning user privileges.
Set Up Your Tenant Structure
Before users can access the application (specific tenant organization), the OPM tenant or user administrator must set up the tenant structure.
The tenant administrator needs to complete the following tasks to support a tenant architecture in OPM:
- Create a permission set to enable asset ingestion and add a user with this permission set. This step is essential before ingesting assets into the tenant.
- Add other users and administrators.
- Ingest asset model, tag classification and data (including asset instances, connections, and tag associations).
- Ingest the time-series data for the input tags to be used in the analytics.
- Ingest alert templates necessary for building your analytic template.
- Add user groups and link them to the appropriate permission sets.
- Add assets to users and user groups.
- Register your tenant's Event Hub with the Alerts service on production.
Configure Tenant Display Preferences
You can configure the display preferences for all the users of the tenant.
Before You Begin
Procedure
What To Do Next
Configure the Module Navigation Menu Using Navigation Profiles
A navigation profile contains information about the set of menu items that should appear in the module navigation menu.
Before You Begin
- Ensure that you have the tenant admin permissions to access the Tenant Preferences page.
About This Task
- APM
- Predix Essentials
- Predix Essentials & APM
- Predix Essentials & OPM
- Predix Essentials, APM & OPM
- Module navigation menu that appears when you select the APM navigation profile.
- Module navigation menu that appears when you select the Predix Essentials navigation profile.
- Module navigation menu that appears when you select the Predix Essentials & OPM navigation profile.
Procedure
What To Do Next
Set or Change the Ingestor Password
Before You Begin
About This Task
During tenant setup, you must provide the ingestor password used by asset and alert ingestion services to ingest assets, alerts, and time series data into your current tenant. This password is unique to each tenant, as the asset model and instances are exclusive to that tenant. Provide a complex password that complies with your enterprise policies for password safekeeping.
- The password is case-sensitive and should be at least eight characters long.
- You must use a combination of alphanumeric characters.
- You can use special characters.
- You cannot use consecutive characters such as 123 or abc.
- You cannot repeat characters more than two times consecutively; for example, looop or 777.
Aaaron777
b!rthday20009
@bc1xyz
rapper123
After setup, you can also change the ingestor password at any time.
Procedure
- Sign in to your GE Digital APM tenant with your administrator credentials.
- In the module navigation menu, navigate to Setup.
- Depending on whether you are setting up a new password or changing the password, one of the following applies:
- If you are setting up the password for the first time, you will be presented with a password setup page.
- If you are changing an existing password, click Change Ingestor Password.
- Enter a new password, and then re-enter the password to confirm.
- Select Submit to save your changes.
What To Do Next
Once the password is set, you can ingest data into GE Digital APM.
Obtain the Authorization Token for Data Ingestion
Before You Begin
- The token request URL.
- Get the following information from the Setup section:
- Token Request URL
- Client ID
- Username
- The ingestion password that you set up during first-time tenant access as an administrator.
- Access to a REST client such as Postman or Advanced REST client, or curl CLI.
About This Task
Use this procedure to obtain an authorization bearer token before ingesting data (assets, alerts, or time series) into a specific tenant. Tokens are client-specific and usually expire within a set time period. You must obtain a new token every time your token expires.
Procedure
Results
On successful ingestion, you receive the authorization bearer token as a JSON response; copy this information into a temporary file. Also, make note of the expires_in
field in the JSON response, as it gives the expiration time in seconds.
Example
The following code sample shows a JSON response :
{
"access_token": "eyJhbGciOiJSUzI1NiJ9.eyJqdGkiOiI1ZTJjOTBlYS05ZWRkLTRkYTEtODBjOC00YTBkNjdmNzdlZjMiLCJzdWIiOiI2YWY0YjBlNi1mZmY4LTRmOWEtYTdhNC1mYzI5Nzg4ZTY5YzAiLCJzY29wZSI6WyJvcGVuaWQiXSwiY2xpZW50X2lkIjoiaW5nZXN0b3IuREU2QjcxODQyODI0NENGMkE0MDlGM0YwRUU1OTBBNzQiLCJjaWQiOiJpbmdlc3Rvci5ERTZCNzE4NDI4MjQ0Q0YyQTQwOUYzRjBFRTU5MEE3NCIsImF6cCI6ImluZ2VzdG9yLkRFNkI3MTg0MjgyNDRDRjJBNDA5RjNGMEVFNTkwQTc0IiwiZ3JhbnRfdHlwZSI6InBhc3N3b3JkIiwidXNlcl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GsptJZ2ErCDSmpGBka6h6H-N8vVWTsOhx_nnp7jUHKGZOZQjcsqSIWwRosIE_G6kgGMpL2L_bLgDVpZiQ3Ri19K5J7co1y4TqjMF3kvXb0rOdIJsDO1PCfMztAazlw",
"expires_in": 86399,
"scope": "openid",
"jti": "5e2c90ea-9edd-4da1-80c8-4a0d67f77ef3"
}
What To Do Next
You can perform data ingestion.
Register your OPM Tenant with Alert Service
As a tenant administrator, you must register your production ready OPM tenant specific Event Hub instance with the Alert Service in production.
Before You Begin
- Oauth token to register with the Alert service Event Hub instance for your tenant.Important: Make sure you have a valid, unexpired token. Tokens are client specific and usually expire within a set time. Look for the token expiration in the JSON response.
- On the Setup section, get the following information:
- Client ID
- Alert service URL
- Username
- Tenant specific event hub zoneId
- Tenant specific username and password (for example, analytics.user.<tenant alias>)
- Ingestion Password that was created during initial tenant setup.
- Access to a REST client such as Postman or Advanced REST client.
About This Task
Procedure
Results
On successful acceptance, you will receive a 200 OK with the message: Added configuration for zone: <eventhub zoneId>