Upgrade Path from VNX M&R 2.X to EMC Storage Monitoring and Reporting (SMR) 4.x
The following is the procedure on how to upgrade a customer from VNX M&R 2.x to EMC Storage Monitoring and Reporting (SMR) 4.x.
Keep in mind the following information before the upgrade:
Things lost from VNX M&R:
- Chargeback configuration and information
- Alert definitions
- User accounts
- Report Wizard
- Arrays credentials information (hostname, ips, usernames & passwords)
Things gained:
- Support for latest VNX arrays, including Unity arrays
- Enhanced alerting (support for Alert consolidation)
- Latest report set
Migration Steps:
=======================================================================
Linux Binary and vApp users:
-
Have a VNX M&R 2.X installation (Linux binary or vApp) working correctly and collecting data
-
On a separate host, install latest SMR version available from the support.emc.com website. Complete the installation by upload SMR VNX license and set password, etc.
NOTE; Note: For Binary installation make sure navispherecli is manually installed in the host. The vAPP already includes navispherecli, so there is no need to install it.
3. On both setups, stop all services (<INST_DIR>/bin/manage-modules.sh service stop all)
4. Copy the "APG" Database
a. On SMR, delete the existing database directory
(rm -rf <INST_DIR>/Databases/MySQL/Default/data/apg/
b. On VNX M&R, copy the apg database to SMR host:
scp rp <INST_DIR>/Databases/MySQL/Default/data/apg/ root@smrhost:<INST_DIR>/Databases/MySQL/Default/data/apg/
c. On SMR, make sure permissions on directory are ok :
chown R apg:apg <INST_DIR>/Databases/MySQL/Default/data/apg/
d .Confirm permissions on directory are correct, apg apg should be the new owner:
ls la <INST_DIR>/Databases/MySQL/Default/data/apg/
5. On the SMR host, run database check, to ensure database integrity
a. Start MySQL: <INST_DIR>/bin/manage-modules.sh service start mysql
b.Run database check: <INST_DIR>/bin/mysql-database-check.sh
i. Use default username(apg)
ii. Use default database name(apg)
iii. The password is "watch4net"
6. Re-create the property store on the SMR host
a. rm -rf <INST_DIR>/Databases/APG-Property-Store/Default/data/*
b. rm -rf <INST_DIR>/Databases/APG-Property-Store/Default/tmp/*
c. Start task-scheduler: <INST_DIR>/bin/manage-modules.sh service start task- scheduler
d. <INST_DIR>/bin/manage-tasks.sh start property-store/Default/import-properties.task
e. Wait a bit for the task to finish, you can check the status using <INST_DIR>/bin/manage-tasks.sh info property-store/Default/import-properties.task
f. Wait for a "current status" of "idle"
7. Start all services on SMR
a. <INST_DIR>/bin/manage-modules.sh service start all
8. On SMR host, re-discover every VNX device information. Keep the samefriendly names, SP hostnames or IPs.
NOTE: The information on VNX' names,host names, etc needs to be the exact same in order to prevent duplicate VNX entries in the GUI
====================================================================
Windows Users:
-
Have a windows VNX M&R 2.X installation working correctly and collecting data.
-
On a separate host, install latest SMR version available from the support.emc.com website. Complete the installation by upload SMR VNX license and set password, etc.
Note: Make sure navispherecli is manually installed in the host.
3. On both setups, stop all services (<INST_DIR>\bin\manage-modules.cmd service stop all)
4. Copy the apg database
a. On SMR, delete the existing database directory located here: <INST_DIR>\Databases\MySQL\Default\data\apg\
b. On VNX M&R, copy the apg database folder to SMR host from the following directory:
<INST_DIR>\Databases\MySQL\Default\data\apg\
Copy the folder in the same location on SMR host: <INST_DIR>\Databases\MySQL\Default\data\apg\
c. On SMR, make sure permissions on directory remain the same
5. On the SMR host, run database check, to ensure database integrity
a. Start MySQL: <INST_DIR>\bin\manage-modules.cmd service start mysql
b. Run database check: <INST_DIR>\bin\mysql-database-check.cmd
i. Use default username (apg)
ii.Use default database name (apg)
iii.The password is watch4net
6. Re-create the property store on the SMR host
a. delete contents of data folder located here:
<INST_DIR>\Databases\APG-Property-Store\Default\data
b. Delete contents of tmp folder located here:
<INST_DIR>\Databases\APG-Property-Store\Default\tmp
c. Start task-scheduler: <INST_DIR>\bin\manage-modules.cmd service start task-scheduler
d. <INST_DIR>\bin\manage-tasks.cmd start property-store/Default/import- properties.task
e. Wait a bit for the task to finish, you can check the status using:
<INST_DIR>\bin\manage-tasks.cmd info property-store/Default/import-properties.task
i. Wait for a Current Status of idle
7. Start all services on SMR
a. <INST_DIR>\bin\manage-modules.cmd service start all
8. On SMR host, re-discover every VNX device information. Keep the same friendly names, SP hostnames or IPs.