How to discovery stand alone storage (Pure)

Fredo1
Giga Expert

Hi

Need to discover stand alone storage (pure) and would like to know how to go by and what is needed in terms of credentials.

Presently I was provided with an userid/password that is able to ssh and sign on to the pure web site. When I run discovery I get these errors:

"Session has time out"

"HTTP error (502)"

 

Thanks

1 REPLY 1

adilrathore
ServiceNow Employee
ServiceNow Employee

 

As per the below documentation:

Pure Storage FlashBlade discovery

 

SSH credentialsOn the Now Platform®, configure a user for accessing the Unix OS.Applicative credentialsOn the Now Platform®, configure applicative credentials as follows:

  • Define the OS use with permissions to run the following commands:
    CommandParameterMandatory/OptionalDescription
    Pureman-MandatoryAccesses the list of pure storage commands and uses them for classification.
    Echo$$username$$MandatoryFills in the username for the temporary variable.
    "pureadmin list "+ $usr + " --api-token --expose --csv"MandatoryGets the user API token to generate the x-auth for the REST call commands.
    This OS user must also have permissions to run the following REST API calls:
    • /api/login – Gets the x-auth token reader from the response in Groovy.
    • /api/1.2/file –systems – Retrieves information about the file systems.
    • /api/1.2/blades – Retrieves information about blades.
    • /api/1.2/dns – Retrieves information about DNS.
    • /api/1.2/hardware – Retrieves information about the storage hardware.
    • /api/1.4/network-interfaces – Retrieves information about network interfaces.
  • Enter any value for the password or leave it empty. This password is not relevant.

Access to the port used for REST callsOn relevant MID Servers, provide a user with access to the port used for REST calls.