6.0 HP X9320 Network Storage System Administrator Guide (AW542-96009, December 2011)

10. Run the passive migrator script:
# /usr/local/ibrix/stats/bin/stats_passive_migrator
11. Start statstool:
# /etc/init.d/ibrix_statsagent start ––agilefm_passive
NOTE: Passwordless authentication is required for the migration to succeed. To determine whether
passwordless authentication is enabled, see “Configuring shared ssh keys (page 65) and “Enabling
collection and synchronization (page 56).
Migrate reports from the old active node to the current active node. If the old active node was not
up and running during the previous steps, but is now up, complete the following steps.
On the old active node:
12. Stop statstool:
# /etc/init.d/ibrix_statsagent stop --agilefm_active
13. Back up the histstats folder:
# mv /var/lib/ibrix/histstats <OAN_histstats_backup/DD:MM:YYYY>
NOTE: If a symbolic link was created to the statistics reports (histstats) folder, move the
symbolically linked folder and create a histstats folder in /local/statstool:
# mv /local/statstool/histstats <OAN_histstats_backup/DD:MM:YYYY>
nl
# mkdir -p /local/statstool/histstats
On the current active node:
14. Copy the <OAN_histstats_backup/DD:MM:YYYY>/histstats/reports folder to the
current active node.
15. Append the hourly, daily, and weekly reports from
<OAN_histstats_backup/DD:MM:YYYY> to /var/lib/ibrix/histstats/reports.
If using a symbolic link, append the reports to /local/statstool/histstats/reports.
# cp -r <OAN_histstats_backup/DD:MM:YYYY>/histstats/reports/hourly/
<YYYY-MM-DD-NN>/<OldActiveNode> /var/lib/ibrix/histstats/reports/
hourly/<YYYY-MM-DD-NN>/<OldActiveNode>
# cp -r <OAN_histstats_backup/DD:MM:YYYY>/histstats/reports/daily/
<YYYY-MM-DD-NN>/<OldActiveNode> /var/lib/ibrix/histstats/reports/
daily/<YYYY-MM-DD-NN>/<OldActiveNode>
# cp -r <histstats_backup/DD:MM:YYYY>/histstats/reports/weekly/
<YYYY-MM-DD-NN>/<OldActiveNode> /var/lib/ibrix/histstats/reports/
weekly/<YYYY-MM-DD-NN>/<OldActiveNode>
On the old active node:
16. Run the passive migrator script:
# /usr/local/ibrix/stats/bin/stats_passive_migrator
17. Start statstool:
# /etc/init.d/ibrix_statsagent start --agilefm_passive
Checking the status of Statistics tool processes
To determine the status of Statistics tool processes, run the following command:
# /etc/init.d/ibrix_statsmanager status
Following is some sample output:
Maintaining the Statistics tool 63