OverviewPreinstalled Server images, such as Amazon Machine Images (AMIs) and OVA files, include a local PostgreSQL database. For a production installation, it is recommended to replace the use of this database with an external PostgreSQL server. The external server can be a separate virtual machine, or a managed database service such as Amazon RDS. Best PracticesThe best time to change the database used by the JetPatch server is immediately after launching it. In this case, there is no need to migrate any data. In case the migration is done at a later time, you should also port the data as part of migration process. See Migrating the Database. PrerequisitesTo use the new database, JetPatch Agent Manager will need the following:
JetPatch Agent Manager is not a particularly heavy application in terms of database load. In RDS, it's recommended to start out with a low number of provisioned IOPS, and scale it later if needed. Changing the Database in Use
Testing the changeA few minutes after starting Tomcat, log into the JetPatch server. Note that the first startup after a database change takes a bit more time than usual, due to the database initialization. In case there are issues, check the log files at /usr/share/tomcat/default/logs/ for diagnostic information. Known LimitationsIn case of a database failover to a secondary site or availability zone,JetPatch Agent Manager console and API operations may fail or hang due to presence on the JetPatch server of pooled database connections which are still pointing towards the failed database instance. Therefore it is recommended to follow any database failover with a restart of the JetPatch server, which will refresh the entire database connection pool. |
Comments
0 comments
Please sign in to leave a comment.