Configuring data source connections offline

Multiple source data connections can be added to the IBM Spectrum® Discover system through offline mode.

Before you begin

  • You must have the SD_USER,SD_PASSWORD & OVA environment variables set in the IBM Spectrum Discover system. To verify the details, enter gettoken.
  • Enter the connection values inside the JSON file and add it to IBM Spectrum Discover host by using load_connection <nameofjsonfile>.
    A sample JSON file with connection values as shown.
    
    {
     "name": "SpectrumScale2Million",
     "platform": "Spectrum Scale",
     "cluster": "ctolib.cluster1",
     "datasource": "scale0",
     "site":"Offline Scale"
    }
    

Procedure

  1. Log in to the IBM Spectrum Discover host system with following credentials.
    
    Host: <IBM Spectrum
    Discover_hostname>
    login: moadmin
    Password: Passw0rd
    
  2. SCP the list.metaocean file to the IBM Spectrum Discover VM by using the following command before you run the ingestion script.
    sudo scp moadmin@modevdump:/mnt/datadump/scans/<file_name>/home/moadmin/
  3. After the list.metaocean file is copied to the IBM Spectrum Discover host, issue the following command to ingest the file.
    $ ingest <file_name>
  4. To monitor the ingestion process by following the producer log, issue the following commands.
    $ kp | grep spectrum-discover-producer-<connection_name>-scan
    Note: The preceding command returns the producer pod log.
    $ oc logs -f -n ibm-data-cataloging spectrum-discover-producer-<connection_name>-scan-<randomchars>