Go to primary content
Oracle® Communications Patch Audit, Inventory, and Reporting (PAIR) User's Guide
Release 6.6
E91177
Go To Table Of Contents
Contents

Previous
Previous
Next
Next

List Provisioned Target Servers

This procedure lists all target servers previously added to the PAIR utility.

  1. PAIR Server: Login using admusr credentials.
    SSH into the PAIR server and authenticate using admusr credentials.
    login as: admusr [Enter]
    admusr@10.75.152.79's password: <admusr_password> [Enter]
    Last login: Mon Jun  6 10:35:36 2016 from 10.75.7.157
    [admusr@myPairServer ~]$
  2. PAIR Server: List target servers.
    Execute the command to list all the target servers previously added to the PAIR utility.
    [admusr@myPairServer ~]$ pair getServers [Enter]
    <X> servers provisioned.
    Server: <target_address> name: <alias>
    [admusr@myPairServer ~]$

    Note:

    If no servers are provisioned, a message displays stating such.
    This example demonstrates the command result on a PAIR server with four entries:
    [admusr@myPairServer ~]$ pair getServers [Enter]
    4 servers provisioned.
    Server: 1.2.3.1 name: testserver1
    Server: testserver2.mydomain.com name: testserver2
    Server: 2001:db8::3 name: testserver3
    Server: 1.2.3.4 name: N/A

    Note:

    When a server is initially provisioned and no alias is entered using the --name option, the name field in the output of the getServer command displays N/A. If an alias is desired, the target server must be deleted and added back again using the --name option.