SAP NetWeaver on Bare Metal Solution deployment guide

This guide covers the aspects of setting up a Bare Metal Solution environment that are unique or relevant to SAP NetWeaver and SAP applications.

In a Bare Metal Solution environment, you install SAP NetWeaver and other SAP software yourself by following the SAP documentation.

This guide also covers the installation and configuration of the Google Cloud foundational services for SAP that are required or optional for SAP NetWeaver in a Bare Metal Solution environment.

For an overview of SAP NetWeaver on Bare Metal Solution to help you plan for your deployment, see SAP NetWeaver on Bare Metal Solution planning guide.

High-level steps

The following list shows the high-level steps you need to complete to deploy SAP NetWeaver on Bare Metal Solution after Google Cloud notifies you that your machines are ready.

  1. Complete the connection to your new machines by following the Bare Metal Solution documentation. For the set up procedures, see Setting up the Bare Metal Solution environment in the Bare Metal Solution documentation.
  2. Validate the machine configuration for SAP NetWeaver.
  3. Establish a connection to the internet for software updates. See Accessing the internet in the Bare Metal Solution documentation.
  4. Establish a connection to Google Cloud APIs. See Setting up access to Google Cloud APIs and services in the Bare Metal Solution documentation.
  5. Set up access to a Network Time Protocol (NTP) server, which is not covered in this guide.
  6. Set up a Domain Name System (DNS) server, which is not covered in this guide.
  7. Install the Google Cloud monitoring agent for SAP NetWeaver.

Validating the machine configuration for SAP NetWeaver

When you log into your machines for the first time, you need to confirm that your machine configuration matches your order.

For information about Bare Metal Solution machine validation, see Logging in to a Bare Metal Solution machine for the first time.

Installing SAP NetWeaver on Bare Metal Solution

To install SAP NetWeaver on a Bare Metal Solution host machine, you need to follow the SAP installation documentation for your version of SAP NetWeaver.

To find the installation documentation for your version of SAP NetWeaver, see the SAP Help Portal.

Installing the monitoring agent for SAP NetWeaver

The Google Cloud monitoring agent for SAP NetWeaver is required for SAP support of SAP NetWeaver on Google Cloud. The monitoring agent for SAP NetWeaver provides data about the host machine and environment to the SAP Host Agent.

When you install the monitoring agent for SAP NetWeaver on a Bare Metal Solution machine, the agent does not retrieve data from Cloud Monitoring.

Prerequisites for the monitoring agent for SAP NetWeaver

Before you install the monitoring agent for SAP NetWeaver, you need to create a config.yaml file on the host machine to enable the monitoring agent for SAP NetWeaver for the Bare Metal Solution machine.

In the config.yaml file, include the following line:

bare_metal: true

Create the config.yaml file in the following directory that is specific to your operating system:

Linux

/opt/gcpmetricsprovider/config.yaml

Windows

C:\Program Files\Google\GCP Metrics Provider\config.yaml

Install the monitoring agent for SAP NetWeaver

To install the agent:

Linux

Issue the following command as root on the host VM:

# curl -s https://storage.googleapis.com/cloudsapdeploy/netweaver-agent/setupagent_linux.sh | bash

Windows

Issue the following command as an administrator on the host VM:

. { iwr -useb https://storage.googleapis.com/cloudsapdeploy/netweaver-agent/installer.ps1 } | iex

For an overview of installation actions, see the Installation overview.

Validate installation

To validate the installation of the agent and confirm that you configured it correctly for a Bare Metal Solution machine:

Linux

  1. Use SSH to connect to the VM instance you want to monitor.
  2. At the command prompt, enter the following command:

    curl http://localhost:18181
    

Windows

  1. Use RDP to connect to the VM instance you want to monitor.
  2. In a browser, visit http://localhost:18181.

If the monitoring agent for SAP NetWeaver is configured correctly for a Bare Metal Solution host machine, the Instance Type value is bms-nn and the Hardware Model metric value is Google Cloud Bare Metal, as shown in the following example.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <metrics>
    <metric category="config" context="vm" type="string" unit="none"
    last-refresh="1614391024" refresh-interval="0"><name>Data
    Provider Version</name><value>1.1.1.0</value>
    </metric><metric category="config" context="host" type="string"
    unit="none" last-refresh="1614391024" refresh-interval="0">
    <name>Cloud Provider</name><value>Google Cloud
    Platform</value></metric><metric category="config"
    context="vm" type="string" unit="none" last-refresh="1614391024"
    refresh-interval="0"><name>Instance Type</name>
    <value>bms-16.0</value></metric><metric
    category="config" context="host" type="string" unit="none"
    last-refresh="1614391024" refresh-interval="0"><name>Virtualization
    Solution</name><value>N/A</value></metric><metric
    category="config" context="host" type="string" unit="none"
    last-refresh="1614391024" refresh-interval="0"><name>Hardware Manufacturer</name><value>Google</value></metric>
    <metric category="config" context="host" type="string" unit="none"
    last-refresh="1614391024" refresh-interval="0"><name>Hardware
    Model</name><value>Google Cloud Bare Metal</value>
    </metric>
    ...
  </metrics>

For more information about the monitoring agent for SAP NetWeaver, see the Operations Guide.

Restarting your Bare Metal Solution server

You can restart your Bare Metal Solution server by issuing the resetInstance API call, which initiates an ungraceful, hard reset of the server.

Before restarting a server, stop all applications and databases that are running on the server.

For instructions on enabling the Bare Metal Solution API and issuing the resetInstance API call, see Restarting a Bare Metal Solution machine.

Troubleshooting

If you experience problems with the Bare Metal Solution machine, storage, or network, capture and collect the following information and contact Google Cloud support:

  • The exact time that the issue occurred
  • What you expected to happen and what actually happened
  • All relevant logs, traces, and other diagnostic information that might be relevant, such as an extract from /var/log/messages

Support

For issues with Google Cloud infrastructure or services, contact Google Cloud Support. You can find contact information on the Support Overview page in the Google Cloud Console. If Google Cloud Support determines that a problem resides in your SAP systems, you are referred to SAP Support.

For SAP product-related issues, log your support request with SAP support. SAP evaluates the support ticket and, if it appears to be a Google Cloud infrastructure issue, transfers the ticket to the Google Cloud component BC-OP-LNX-GOOGLE or BC-OP-NT-GOOGLE.

Support requirements

Before you can receive support for SAP systems and the Google Cloud infrastructure and services that they use, you must meet the minimum support plan requirements.

For more information about the minimum support requirements for SAP on Google Cloud, see: