pv_monitor.sh not working after changing IP address on Security Analytics storage
search cancel

pv_monitor.sh not working after changing IP address on Security Analytics storage

book

Article ID: 444375

calendar_today

Updated On:

Products

Security Analytics

Issue/Introduction

After changing the IP address of the storage controller on either an ME4 or an ME5 array, the pv_monitor.sh script no longer can connect.  The following error will occur:

Unable to read config file
Error failed to connect to storage.  Exiting

Environment

Dell ME4
Dell ME5
Dell VA4084
Dell VA4012
Dell VA5084
Dell VA5012

Cause

There is a JSON file that includes the connectivity information that is either missing or needs to be updated.

Resolution

The easiest way to update the file is to delete the file and create a new one.  Perform the following steps:

  1. Log in to the CLI as root.
  2. cd /etc/solera/powervault/config
  3. cat the old .json file and make note of the username and password.
  4. rm -rf the old .json file (which will have the old IP address in it's name)
  5. Run the powervault_probe script again using the following syntax.  The username and password should be the credentials for the storage array.

    IPV4:  powervault_probe.py -i ipv4_address -u 'my_username' -p 'mypassword'
    IPV6:  powervault_probe.py -i '[ipv6_address]' -u 'my_username' -p 'mypassword'

  6. use 'ls' to check the contents of the config directory. There should be a new .json file with the correct IP address.
  7. Run pv_monitor.sh -H  to test connectivity.

Results should look like this: 

Connecting to https://##.##.##.##
Session Established with https://##.##.##.##
Gathering System Health

 

------ System Health------
    Status: OK
    Checking the Volume Health Status
    ---Number or volumes with errors 0
    Checking the Disks Health Status
    ---Number or disks with errors 0