VHM and Google Compute Engine

You can use a SUSE Manager VHM to gather instances from Google Compute Engine (GCE).

The VHM allows SUSE Manager to obtain and report information about your virtual machines. For more information on VHMs, see client-configuration:vhm.adoc.

Create a GCE VHM

The Virtual Host Manager (VHM) runs on the SUSE Manager Server.

To run a VHM, your SUSE Manager Server will need to have port 443 open, in order to access the clients.

Ensure you have installed the virtual-host-gatherer-libcloud package on the SUSE Manager Server.

Before you begin, log in to the GCE panel, and download a certificate file. Store this file locally on your SUSE Manager Server, and take note of the path.

Procedure: Creating a GCE VHM
  1. In the SUSE Manager Web UI, navigate to Systems  Virtual Host Managers.

  2. Click Create and select Google Compute Engine from the drop-down menu.

  3. In the Add a Google Conpute Engine Virtual Host Manager section, use these parameters:

    • In the Label field, type a custom name for your VHM.

    • In the Service Account Email field, type the email address associated with your Google account.

    • In the Cert Path field, type the path to the certificate downloaded from the GCE panel.

    • In the Project ID field, type the project ID used by the GCE instance.

    • In the Zone field, type the zone your VM is located in. This is required for subscription matching to work.

  4. Click Create to save your changes and create the VHM.

  5. On the Virtual Host Managers page, select the new VHM.

  6. On the Properties page, click Refresh Data to inventory the new VHM.

To see which objects and resources have been inventoried, navigate to Systems  System List  Virtual Systems.

Instances running on the Google public cloud will report this UUID to SUSE Manager Server:

152986662232938449