Introduction

OpsRamp supports using gateways on Windows machines. To use, install and register the gateway.

Prerequisites

See Windows System Requirements.

Installing on Windows

Run the installer .exe file and silent installation takes care of rest.

To download and install:

  1. Navigate to Setup > Downloads > Gateway and download Windows Gateway.
  2. Click the installer exe file , as an administrator, to start installation.
  3. (Optional) To view log file to check progress of installation, refer to the temp file: C:\Windows\Temp and open the OpsRampWindowsGatewayInstallation file. The log file displays complete details.
    After successful installation, a confirmation pop-up is displayed.

Registering with OpsRamp

The gateway can be register either directly through OpsRamp console or with the command line interface.

OpsRamp console

To register:

  1. Go to Setup > Resources and click Management Profiles.
  2. On the Management Profiles List page, click +Add.
  3. On the Management Profile page, enter the required details for New Management Profile, select Gateway as Profile Type and click Submit.
    Management profile is created and displayed on the View Management Profile page. The page displays steps to activate the Gateway.
  4. Follow the instructions and register the Gateway.

Command line interface

To register:

  1. Run command prompt as administrator on the machine where you installed Gateway and execute the following command to access the gateway installation path: cd C:\Program Files\OpsRamp\Gateway\bin
    PostgreDB is required. Gateway does not install PostgreDB during installation if your machine already has PostgreDB.
  2. If PostgreDB is not installed prior to Gateway installation, then follow these steps:
    1. Enter the following:
      GatewayConfig.exe –api_server <enter your server name> –activation_key <enter your key>
      
    2. Replace the server name and activation key in the command before executing.
      A confirmation message appears after successful registration of gateway registration is successful.
  3. If you have PostgreDB already installed prior to Gateway installation, then follow these steps:
    1. Use the following command:
      cd C:\Program Files\OpsRamp\Gateway\bin
      GatewayConfig.exe 
      –api_server <enter your server name> 
      –activation_key <enter your key> 
      –postgres_username <user_name> 
      –postgres_password <password> 
      –postgres_path <path>
      
    2. Before executing the command, add your server name and activation key, postgres username, postgres password and postgres installation path in the above command.
      A confirmation message appears after successful registration of gateway registration is successful.