A successful deployment depends on being mindful during deployment,
operations and ongoing maintenance.
2.2.1. Best Practices: Deployment
Identify the best deployment method for your environment and use that
in production and testing. See
Section 10.1, “Comparing Staging and
Standardize the OS and database prerequisites. There are Puppet and
Chef modules available for immediate use or as a template for
For security purposes you should ensure that you secure the following
areas of your deployment:
Ensure that you create a unique installation and deployment user,
such as tungsten, and set the correct file permissions on
installed directories. See
Section C.3.3, “Directory Locations and Configuration”.
When using ssh and/or SSL, ensure that the ssh key or certificates
are suitably protected. See
Section C.3.2.2, “SSH Configuration”.
Use a firewall, such as iptables to protect the
network ports that you need to use. The best solution is to ensure
that only known hosts can connect to the required ports for
Tungsten Replicator. For more information on the network ports required
for Tungsten Replicator operation, see
Section C.3.2.1, “Network Ports”.
If possible, use authentication and SSL connectivity between hosts
to protext your data and authorisation for the tools used in your
See Section 7.5, “Deployment Security” for more information.
Choose your topology from the deployment section and verify the
configuration matches the basic settings. Additional settings may be
included for custom features but the basics are needed to ensure
proper operation. If your configuration is not listed or does not
match our documented settings; we cannot guarantee correct operation.
If you are using
replication, any triggers that run additional
operations must be updated so they do not run on the slave servers.
Make sure you know the structure of the Tungsten Replicator home directory
and how to initialize your environment for administration. See
Section 8.1, “The Tungsten Replicator Home Directory” and
Section 8.2, “Establishing the Shell Environment”.
Prior to migrating applications to Tungsten Replicator test failover and
recovery procedures from Chapter 8, Operations Guide. Be sure to try
recovering a failed master and reprovisioning failed slaves.
2.2.2. Best Practices: Operations
2.2.3. Best Practices: Maintenance
Disable any automatic operating system patching processes. The use of
automatic patching will cause issues when all database servers
automatically restart without coordination. See
Section 8.13.3, “Performing Maintenance on an Entire Dataservice”.
Regularly check for maintenance releases and upgrade your environment.
Every version includes stability and usability fixes to ease the