As part of the BMC Helix IT Operations Management (ITOM) On-Prem Deployment process, two emails will be sent to the TENANT_EMAIL email address specified in the infra.config file:
If this step fails, or either of the expected emails are not received, how can this step be rerun manually after the deployment? |
Follow the steps below to send the tenant activation email using the TCTL utility 1. Download the TCTL Utility from BMC Electonic Product Distribution (EPD) Refer to the following documentation to downloading and configuring the tctl utility 2. Configure the "\tctl\config" by referring to the above documentation steps Example config file: appurl: https://tms-support-purple.example.com clientid: 7cab57b4-08b8-4bbc-8644-b86a6ca30b72 clientsecret: MIIEvAIB.... enableauth: true rssourl: https://lb-support-support-purple.example.com/rsso Note 1: The appurl value should not contain a trailing "/tenant" value. The kubectl command referenced in the doc will return the appurl with a trailing "/tenant" which needs to be removed from the value placed in the config file. Note 2: The rssourl should contain a trailing /rsso value as shown in the above example. 3. Once the tctl "config" file is configured successfully then, use one of the following two options to resend the activation email:
Default tms relam admin user RSSO credentials are: admin/bmcAdm1n1#
tctl template create-firstuser
vi create-firstuser.json
tctl create firstuser <tenantid> -f <user json file>
Example output:
Example output:
tctl create firstuser 1097259844 -f create-firstuser.json Using config file: C:\Users\<>\Downloads\tctl_10252021\tctl\config
HTTP Response Status: 201 Created Response: {
"login_id": "user1"
}
tctl get firstuser <tenantid>
Troubleshooting: If the expected emails are still not received, review the tms, tas, ims and rsso pod logs. To get the pod and logs please refer to the below steps for the tms, tas, ims and rsso: kubectl get pod -n <namespace> | grep -i tms kubectl logs <pod_name> -n <namespace> > /tmp/tms-pod-logs.txt Alternative methods to get the Tenant ID: - From the deployment log - Running “tctl get tenant” which will show the tenant ID (the tenant should be in an active state to use this option) - Tenant ID visible ion the RSSO Tenant page |