Entries Categorized as 'Technology'

Performance Tuning Tungsten Replication to MySQL

Author: , May 21st, 2019

The Question Recently, a customer asked us: Why would Tungsten Replicator be slow to apply to MySQL? The Answer Performance Tuning 101 When you run trepctl status and see: appliedLatency : 7332.394 like this on a slave, it is almost always due to the inability for the target database to keep up with the applier. […]

How To Fix rsync Packet Corrupt Errors

Author: , May 10th, 2019

I was getting rsync errors from one source host: 1 2 Corrupted MAC on input. Disconnecting: Packet corrupt Corrupted MAC on input. Disconnecting: Packet corrupt Finally tracked it down to the application “Little Snitch”. Needed to fully uninstall it and reboot to get the problem solved.

SSH Differences Between Staging and INI Configuration Methods

Author: , May 7th, 2019

The Question Recently, a customer asked us: If we move to using the INI configuration method instead of staging, would password-less SSH still be required? The Answer The answer is both “Yes” and “No” No, for installation and updates/upgrades specifically. Since INI-based configurations force the tpm command to act upon the local host only for […]

How to Integrate Tungsten Clustering Monitoring Tools with PagerDuty Alerts

Author: , April 23rd, 2019

Overview The Skinny In this blog post we will discuss how to best integrate various Continuent-bundled cluster monitoring solutions with PagerDuty (pagerduty.com), a popular alerting service. Agenda What’s Here? Briefly explore the bundled cluster monitoring tools Describe the procedure for establishing alerting via PagerDuty Examine some of the multiple monitoring tools included with the Continuent […]

How To Fix YUM Update Errors with Percona GPG Keys

Author: , April 16th, 2019

Problem: Trying to run a yum -y update as root aborts with the following error: 1 2 3 4 5 The GPG keys listed for the "Percona-Release YUM repository – x86_64" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository.   […]

How To Revert a Single File to a Specific Commit Using git

Author: , March 18th, 2019

git log {path_and_file} git checkout {commit_hash} — {path_and_file} git checkout 8c7eae3f518bb7fd98eb6e8344270f02065d83ee — myFile.txt

How To Enable Opening a Terminal Window from the Current Finder Location in MacOS

Author: , February 16th, 2019

As of Mac OS X Lion 10.7, Terminal provides Services for opening a new terminal window or tab at the selected folder in Finder. They also work with absolute pathnames selected in text (in any application). You can enable these services with System Preferences > Keyboard > Keyboard Shortcuts > Services. Look for “New Terminal […]

How To Obtain a Public Key from an AWS .pem Private Key on Linux and Mac

Author: , February 4th, 2019

Use the ssh-keygen command on a computer to which you’ve downloaded your private key .pem file; for example: First, ensure permissions will allow ssh-keygen to work: chmod 600 /path/to/the/file/your-key-pair.pem Then generate an RSA public key: ssh-keygen -y -f /path/to/the/file/your-key-pair.pem > your-key-pair.pub

How To Reformat or Re-indent Files in VIM

Author: , January 11th, 2019

In the normal vim mode, typing gg=G will reindent the entire file. == will re-indent just the current line. http://vim.wikia.com/wiki/Fix_indentation

How to fix the MacPorts “Warning: xcodebuild exists but failed to execute” warning message

Author: , January 9th, 2019

Execute the following command: $ sudo xcode-select -switch /Applications/Xcode.app