Install

Install

The following section provides information about the steps to download and install the OMi MP for Google Cloud.

Installation Prerequisites

The following are the setting required for OMi MP for Google Cloud on the Google Cloud Console and managed node:

On Google Cloud Console

Perform the following tasks on Google Cloud Console:

  1. Create project(s) as per the requirement.

  2. Create Service Key for each project.

    The minimum role required for projects is Viewer.

    To create a service key in your Google Cloud Platform, follow these steps:

    1. In the left Navigator, go to IAM & Admin page, and select the required project.

    2. In the left navigator, click Service accounts. The Service account management window is displayed.

      The service account represents a Google Cloud service identity, for example, code running on Compute Engine VMs, App Engine apps, or systems running outside Google.

    3. Click Create service account and enter a name for the Service account name.

    4. Click Role drop down and select a role for the service account name.

      The minimum role required for projects is Viewer.

    5. Select Projects > Viewer, scroll down and then select Logging > Logs Viewer.

      For more details on the user roles and privileges, see User Privileges.

    6. Check the Furnish a new private key. By default the key type is JSON.
    7. Click Create.
    8. Download and save the account's private key, the .JSON file in a location.

      It is recommended to save all the private key files of the projects you want to monitor using OMi MP for Google Cloud in a common location on the managed node.

  3. Create virtual machines instances as per the requirement.
  4. Enable API for all the projects you want to monitor using OMi MP for Google Cloud.

    To enable API in Google Cloud Platform, follow these steps:

    1. Select the project for which you want to enable API.
    2. In the left navigator, click APIs & services > Dashboard to open API Manager Dashboard.

    3. Click ENABLE APIS AND SERVICES to open the Library.

    4. Search for Google Cloud Resource Manager API. The Google Cloud Resource Manager API window is displayed.

    5. Click ENABLE to enable the API.

On Managed Node

Perform the following tasks on managed node:

  1. Download and install the google cloud SDK from Cloud SDK.

    Make sure to download the Platform for Linux (x86_64).

    The supported version of Google Cloud SDK is 166.0.0.

  2. Copy and extract the file to the required location on your system.

  3. If you are using proxy server, run the following command to export the details:

    For https:

    export https_proxy="https://<DNS>:port/"

    For http:

    export http_proxy="http://<DNS>:port/"
  4. Run the following install script to add Cloud SDK tools to your path:

    ./google-cloud-sdk/install.sh

    Make sure to enable command-completion in your bash shell (Linux only) and enable usage reporting.

  5. Run gcloud init to initialize the SDK:

    ./google-cloud-sdk/bin/gcloud init

  6. Set the gcloud in PATH variable.

  7. To configure activity log, run the following command from the location where you have installed the Google Cloud SDK, to install the gcloud beta commands component:

    gcloud components install beta

  8. To verify the Google Cloud version and beta component, run the following command from the location where you have installed Google SDK:

    gcloud --version

    The supported version of Google Cloud SDK is 166.0.0.

    If you have installed later versions of Google Cloud SDK, you can revert to the required version of Google SDK for OMi MP for Google Cloud. To revert to the required version, run the following command:

    gcloud components update --version <sdk version>

    For example, gcloud components update --version 165.0.0.

  9. To verify that the Curl is installed, run the following command on the proxy node and check if the command displays the installation path. If not, install the curl:

    which curl

    Make sure that the version of curl is 7.1x or 7.2x.

  10. To verify the installed version of python is 2.7.5 (or later), run the following command:

    python --version

Server Requirement

Component Version
Operations Manager i (OMi) 10.10 or later
Monitor Framework 1.05 or later

Managed Node Requirement

Component Version
Operations Agent 12.03 or later

OMi MP for Google Cloud can be deployed on managed Operations Agent nodes that are on Linux (64-bit) only.

Supported RHEL versions:

  • RHEL 6.5 and above
  • RHEL 7.x

Software Requirements

Component Version
Google Cloud SDK 166.0.0
Python 2.7.5 or later
Curl 7.1x or 7.2x

OMi MP for Google Cloud depends on the Monitor Framework package which must be installed prior to installing the Management Pack. To check if the Monitor Framework is installed, navigate to Administration > Setup and Maintenance > Content Pack and verify the availability of Monitor Framework <version> under Content Pack Definition. It is recommended that you check and install the latest version of the Monitor Framework available under Management Pack Development Kit for OMi at Unified Marketplace for the latest features and quality enhancements. To install the Monitor Framework, follow the steps similar to Importing Content Pack.

User Privilege

The Google Cloud Platform provides roles such as Project, App Engine, BigQuery, Cloud IAP and so on.

The following table describes the users and their privileges for the role Projects:

User Privileges
Owner Full access to all resources.
Editor Edit access to all resources.
Viewer Read access to all resources.
Browser Access to browse GCP resources.
Service Account Actor Access to obtain credentials for a service account.

The following table describes the privileges for the role Logging:

User Privileges
Logging Admin Access to all logging permissions and dependent permissions.
Logs Configuration Writer Access to all configure log exporting and metrics.
Logs Viewer Access to view logs, except for logs with private contents.
Logs Writer Access to write logs.
Private Logs Viewer Access to view all logs, including logs with private contents.

Related Topics

User Privileges