Support
- Advanced Backup
- Client Side
- Cloud Enterprise
- ColdFusion
- Control Panel
- cPanel
- Customer Portal
- DNS Information
- Dedicated Servers
- DirectAdmin
- Domain Name
- dotDefender
- Dreamweaver
- FileCatalyst
- Front Page
- FTP
- General Information
- Hosted Exchange & SharePoint
- IIS6
- IIS7
- Juniper Netscreen Firewalls
- Linux
- List Server
- MIVA Merchant
- MySQL
- Adddatabase
- Amconversion
- Aspstring
- Coldfusionstring
- Connectionstrings
- Phpmyadmin
- Upgradedatabase
- Mysql
- Backup my MySQL database via SSH
- Change the collation on a MySQL database via PhpMyAdmin
- Repair a corrupt or invalid MySQL table
- Import and Export MySQL dump file from phpMyAdmin
- Manage your MySQL Database with Navicat
- Use Sequel Pro for Mac OS X to manage MySQL databases
- Optimize MySQL Databases in Plesk
- Access
- Controlpanel
- Perl
- Advisable MMM Solutions
- Managing Your MMM Environment
- Php
- Common Issues With MMM
- How To Add A Timeout Variable
- Patching / Server Updates
- phpMyAdmin
- Plesk
- Policies and Procedures
- Premium Spam Filtering
- Programming
- Ruby on Rails
- Search Engine Submission
- SharePoint 3
- SharePoint 2010
- SiteDesigner
- SmarterMail 3
- SmarterMail 4
- SmarterMail 5
- SmarterMail 6
- SmarterMail 7
- SmarterStats
- SmarterTrack
- SQL Server
- Secure Socket Layer (SSL)
- Uploading Your Website
- Video Tutorials
- Windows Server 2003
- Windows Server 2008
- Web Design
- WordPress
- Advanced Monitoring
- MediaWiki
- Enkompass
- Microsoft Outlook 2010
- Android
- Outlook Web Access
- Critical Availability Service
- NAS Data Transfer
- Customer Portal Demos
- Joomla
- Moodle
- Cloud Dedicated
- Gallery CMS
- phpBB
- Standard Monitoring
- Righteous Restore
- NAS (Network Attached Storage)
- Networking
- SmarterMail 8
- PCI Security Scan
- LinkTiger
- Windows Cloud VPS
- Linux Cloud VPS
- Linux VPS
- Windows VPS
- Hyper V
- ENSIM
- Alert Logic
- Webmin
- e107
- Vbulletin
- VPN
- Visual Vault
- Mozilla Thunderbird
- PyroCMS
- Active Directory
- Vmware Related
- Drupal
Common Issues With MMM
This articles covers common issues and recommended solutions that come up in a MMM environment. This applies to our Linux Cloud and Dedicated solutions. You can find more information about these solutions at http://www.hosting.com/services/platform-services
Need to performance maintenance on a node
If you need to perform maintenance on a database node in the MMM environment, you will want to take it offline via the following command: mmm_control set_offline host
This will remove all roles and stop replication on the node.
Once maintenance on the node is complete, run this command: mmm_control set_online host
You should not have application servers read from this node until mmm_control checks host shows OK for the rep_backlog test. This will ensure database reads return up to date data.
Replication Stops Working
You can check the status of replication by running the following command: mmm_control checks all
If any of the four checks performed fails, the role of that node will failover to another (E.g., it's reader IP and writer IPs will be moved).
Typical caues of this are the following:
- The node is not pingable by the monitoring server (Maybe it's OFFLINE, or their is a firewall issue)
- The node's MySQL server is not running or is not reachable by the monitoring server (MySQL Server may have crashed, been taken offline, or their is a firewall issue)
- Replication threads on the database server are no longer running
- The backlog is too big on the database node. It will automatically be taken OFFLINE to catch up
Issue 4 will typically fix itself. Issues 1 through 3 require manual intervention to resolve typically (Unless you performed a restart of the node and expect it to be back online without human intervention).
The server was restarted and mmm_agentd and mmm_mond aren't running
This is typically verified by running the following command: chkconfig --list | grep mmm
Run level 3 needs to be set to On for the service to start on reboots. mysql-mmm-monitor should have Run level 3 set to On on the monitoring server. mysql-mmm-agent shhould have Run level 3 set to On on the database nodes (Master and Read Only MySQL servers).
To start each service up, you can do the following:
- Run on the monitoring server
- /etc/init.d/mysql-mmm-monitor start
- Run on the DB host whose mysql-mmm-agent is not running
- /etc/init.d/mysql-mmm-agent start
