Subaccount discovery
After provisioning your Global Account, Avantra discovers the entire hierarchy of your BTP account.
For Avantra to successfully discover a subaccount, the following services must be deployed into that subaccount's environment:
- AvantraAccessDestinationService — Destination service with plan
lite. - AvantraAccessAccountServiceLocalPlan — Cloud Management Service with plan
local. - ServiceManagementAccessInstance — Service Manager with plan
subaccount-admin.
All subaccounts must have these services, and each subaccount must have the following entitlements assigned:
- Cloud Management Service — plan
local - Destination — plan
lite - Service Manager — plan
subaccount-admin
Main monitor subaccount
This is an Avantra concept, that refers to the subaccount you select when completing the Adding a BTP Global Account procedure.
The main monitor subaccount requires one additional service:
- AvantraAccessUsageService — Usage Data Management Service with plan
reporting-ga-admin
Setting up a subaccount
Subaccounts must be discovered by Avantra. To do this automatically:
- Open a Global account.
- In the Properties tab > SAP BTP Global Account Info* you can:
- Check the Self Deployment checkbox to automatically create the required services on your BTP subaccount.
- Check the Assign missing entitlements automatically check to assign the entitlements required to deploy the services.
You can enable either or both options.
Manually setting up subaccounts
If you prefer to set up subaccounts manually:
- Log into the BTP Cockpit and access your Global Account.
- Navigate to Entity Assignments and choose your target subaccount.
- Click Edit > Add Service Plans.
- Add:
- Cloud Management Service — plan
local - Service Manager — plan
subaccount-admin - Destination — plan
lite - Usage Data Management Service — plan
reporting-ga-admin(main monitor subaccount only)
- Cloud Management Service — plan
- Navigate to your subaccount and open Instances and Subscriptions.
- Create the following service instances:
- AvantraAccessDestinationService — create a service instance of type Destination with plan
lite. - AvantraAccessAccountServiceLocalPlan — create a service instance of type Cloud Management Service with plan
local. - ServiceManagementAccessInstance — create a service instance of type Service Manager with plan
subaccount-admin. - AvantraAccessUsageService — create a service instance of type Usage Data Management Service with plan
reporting-ga-admin. (main monitor subaccount only)
- AvantraAccessDestinationService — create a service instance of type Destination with plan
After provisioning the services manually, Avantra detects the services and uses them to monitor the subaccount.
"In order for Cloud Foundry to be detected, an account is needed with access to the Cloud Foundry APIs. This account must be an Org Member with the Org Manager role."
Cloud Foundry Credentials
For Cloud Foundry to be detected, an account with access to the Cloud Foundry APIs is needed. This account must be part of your subaccount's Cloud Foundry organization. To validate that the account is correctly configured, go to the Org Members tab under Cloud Foundry. The account must be listed there with the Org Manager role, and Space Developer must be assigned to the respective spaces under the organization.
The recommended method for this is to use a user from your SAP Cloud Identity Service.
If you have added a Custom Identity Provider for Platform Users under Security > Trust Configuration in the BTP Cockpit, you can select users from origins.
The password is set in SAP Cloud Identity Services. Log in as the user and set it at https://<unique>.accounts.ondemand.com/ui/protected/profilemanagement.
If not already done, for information on adding your SAP Cloud Identity Services instance, see SAP Documentation - Establish Trust and Federation of Custom Identity Providers for Platform Users . With that completed, you will need to provide the credentials in Avantra. To do this:
- In Avantra, open the SAP BTP Subaccount managed object.
- Click the Credentials tab.
- Enter a Name - the email address of the Org Member.
- Enter a Password.
- Enter the Origin associated with the Org Member.
Origins left blank will use the default origin sap.ids.
The following is not recommended for setting up Cloud Foundry Credentials. However, if no Cloud Identity Service is present, it's possible to use an SAP S-number user from the SAP Identity Service. This is one that may be used to log into the SAP BTP Cockpit or SAP for Me. It is not recommended to use an S-user for Cloud Foundry observability in Avantra, as SAP intend S-users to be single named humans and the credentials should not be shared. This method has been tested and known to work.
To use an S-user, their password must be set at SAP Profile Management. This password must not be the same as any Universal ID password associated with the account. Store the username (email address) and password into the avantra.btp.cloudFoundry credential and leave the Origin field blank. If the SAP Identity Service is not the default origin, set the origin to sap.ids.