Upgrade DPA on an Amazon Machine Image instance
If you're using DPA in Amazon Web Services (AWS) with AWS Marketplace Metering Service, complete the following steps to upgrade to the latest version.
- Open a remote connection (SSH) and log in to your DPA instance in Amazon EC2.
Download the most recent version of SolarWinds DPA. Use the link provided in the new version notification banner.
If the server you are upgrading on has Internet access, you can download DPA directly to that server. If not, you can download DPA to a different computer and then use SCP to transfer it.
Enter the following command to turn off the scheduled job that restarts DPA if it stops:
cmd> crontab -r
- Install the new version in a new directory on your existing server.
./shutdown.shfrom the old installation directory.
Locate the directory that was created when you installed the new version:
/home/dpa_x_x_xxx= old installation home
/home/dpa_12_x_xxx= new DPA home
Copy or move these directories from the old installation to the new:
Do not copy hotfix files.
mv OLD_home/iwc/tomcat/ignite_config/* NEW_home/iwc/tomcat/ignite_config/
cp -rp OLD_home/iwc/tomcat/ignite_config NEW_home/iwc/tomcat/ignite_config
- If you changed the default SolarWinds DPA ports, then you must modify the
server.xmlfile in the new installation to incorporate the port changes from your earlier installation.
./startup.shfrom the new directory.
Turn the cron job back on:
Open crontab in edit mode:
cmd> crontab -e
Add the following line:
* * * * * <FULL_PATH_TO_STARTUP_SCRIPT> > <FULL_PATH_TO_STARTUP_LOG> 2>&1
* * * * * /home/ec2-user/dpa_12_0_3074/startup.sh > /home/ec2-user/dpa_12_0_3074/startup.log 2>&1
Save your changes.
Resize to a larger Amazon AWS instance type
The t2.medium Amazon EC2 instance type is sufficient only for monitoring up to 20 database instances. Resize your AWS instance type as your monitoring needs grow.
For more information, search "Resizing Your Instance" at http://aws.amazon.com/documentation.