Manage a Virtual Instance for SAP solutions (preview)

Important

Azure Center for SAP solutions is currently in PREVIEW. See the Azure Center for SAP solutions - Legal Terms for legal notices applicable to Azure Center for SAP solutions.

In this article, you'll learn how to view the Virtual Instance for SAP solutions (VIS) resource created in Azure Center for SAP solutions through the Azure portal. You can use these steps to find your SAP system's properties and connect parts of the VIS to other resources like databases.

Prerequisites

  • An Azure subscription.
  • Contributor role access to the subscription or resource groups where you plan to deploy the SAP system.
  • A User-assigned managed identity with Contributor role access to the Subscription or resource groups of the SAP system.

Open VIS in portal

To configure your VIS in the Azure portal:

  1. Open the Azure portal in a browser.

  2. Sign in with your Azure account that has the necessary role access as described in the prerequisites.

  3. In the search field in the navigation menu, enter and select Azure Center for SAP solutions.

  4. On the Azure Center for SAP solutions overview page, search for and select Virtual Instances for SAP solutions in the sidebar menu.

  5. On the Virtual Instances for SAP solutions page, select the VIS that you want to view.

    Screenshot of Azure portal, showing the VIS page in the Azure Center for SAP solutions service with a table of available VIS resources.

Monitor VIS

To see infrastructure-based metrics for the VIS, open the VIS in the Azure portal. On the Overview pane, select the Monitoring tab. You can see the following metrics:

  • VM utilization by ASCS and Application Server instances. The graph shows CPU usage percentage for all VMs that support the ASCS and Application Server instances.
  • VM utilization by the database instance. The graph shows CPU usage percentage for all VMs that support the database instance.
  • IOPS consumed by the database instance's data disk. The graph shows the percentage of disk utilization by all VMs that support the database instance.

View instance properties

To view properties for the instances within your VIS, first open the VIS in the Azure portal.

In the sidebar menu, look under the section SAP resources:

  • To see properties of ASCS instances, select Central server instances.
  • To see properties of application server instances, select App server instances.
  • To see properties of database instances, select Databases.

Screenshot of VIS resource in Azure portal, showing SAP resources pages in the sidebar menu for ASCS, App server, and Database instances.

Connect to HANA database

If you've deployed an SAP system using Azure Center for SAP solutions, find the SAP system's main password and HANA database passwords.

The HANA database username is either system or SYSTEM for:

  • Distributed High Availability (HA) SAP systems
  • Distributed non-HA systems
  • Standalone systems

Find SAP and HANA passwords

To retrieve the password:

  1. Open the VIS in the Azure portal.

  2. On the overview page, select the Managed resource group.

    Screenshot of VIS resource in the Azure portal, showing selection of managed resource group on the overview page.

  3. On the resource group's page, select the Key vault resource in the table.

    Screenshot of managed resource group in the Azure portal, showing the selection of the key vault on the overview page.

  4. On the key vault's page, select Secrets in the navigation menu under Settings.

  5. Make sure that you have access to all the secrets. If you have correct permissions, you can see the SAP password file listed in the table, which hosts the global password for your SAP system.

  6. Select the SAP password file name to open the secret's page.

  7. Copy the Secret value.

If you get the warning The operation 'List' is not enabled in this key vault's access policy. with the message You are unauthorized to view these contents.:

  1. Make sure that you're responsible to manage these secrets in your organization.
  2. In the sidebar menu, under Settings, select Access policies.
  3. On the access policies page for the key vault, select + Add Access Policy.
  4. In the pane Add access policy, configure the following settings.
    1. For Configure from template (optional), select Key, Secret, & Certificate Management.
    2. For Key permissions, select the keys that you want to use.
    3. For Secret permissions, select the secrets that you want to use.
    4. For Certificate permissions, select the certificates that you want to use.
    5. For Select principal, assign your own account name.
  5. Select Add to add the policy.
  6. In the access policy's menu, select Save to save your settings.
  7. In the sidebar menu, under Settings, select Secrets.
  8. On the secrets page for the key vault, make sure you can now see the SAP password file.

Delete VIS

When you delete a VIS, you also delete the managed resource group and all instances that are attached to the VIS. For example, the VIS, ASCS, Application Server, and Database instances are deleted. Any Azure physical resources aren't deleted when you delete a VIS. For example, the VMs, disks, NICs, and other resources aren't deleted.

Warning

Deleting a VIS is a permanent action! It's not possible to restore a deleted VIS.

To delete a VIS:

  1. Open the VIS in the Azure portal.

  2. On the overview page's menu, select Delete.

    Screenshot of VIS resource in the Azure portal, showing delete button in the overview page's menu..

  3. In the deletion pane, make sure that you want to delete this VIS and related resources. You can see a count for each type of resource to be deleted.

    Screenshot of deletion prompt pane for a VIS resource in the Azure portal, showing list of related resources and confirmation field to enable the delete button.

  4. Enter YES in the confirmation field.

  5. Select Delete to delete the VIS.

  6. Wait for the deletion operation to complete for the VIS and related resources.

After you delete a VIS, you can register the SAP system again. Open Azure Center for SAP solutions in the Azure portal, and select Register an existing SAP system.

Next steps