Restoring IM and IM Database Nodes
Use the following procedure to recover from IM failures.
-
Instance Manager database node
If the IM database node fails, restore the node from the latest backup.
-
Instance Manager node
If the IM node fails:
- Set up a new IM node as described in the Cloud Infrastructure Deployment Guide.
-
Copy the following files to the new IM node:
/usr/local/share/PACI-im/IM-config.xml
/usr/local/share/PACI-im/system.properties
/usr/local/share/PACI-im/vm2vf/vm2vf-daemon.properties
You back up these files as part of your disaster recovery plan. See Backing Up IM and IM Database Nodes for details.
- Log in to the CloudBlue Commerce MN.
-
Configure the CloudBlue Commerce MN to communicate with the new IM node. To do this, run the following commands on the MN:
# su - postgres
$ psql plesk
plesk=# update c2u_settings set value='http://New_IM_Node_IP:4465/paci/v1.0' where name='c2u.im.server.uri';
plesk=# \q
$ exit
# service pa-agent restartwhere
New_IM_Node_IP
is the IP address or host name of the new IM node.