Mohan Cheema's Online Diary

Site Just to Keep Track of My Day to Day Work.

Amazon ELB

November 30, 2011
by Mohan Cheema
2 Comments

Change / Update SSL certificate for Amazon Elastic Load Balancer

This is in continuation to Amazon ELB SSL Termination HowTo. Earlier we have seen how to setup Elastic Load Balancer with SSL termination on Amazon. Now we will see how do we change the SSL certification once we renew it or revoke it for some reason.

Share
Share

September 28, 2011
by Mohan Cheema
0 comments

MySQL MultiMaster Replication

You may know about the MySQL Cluster, which is a complex architecture to achieve high availability and performance. One of the advantages of MySQL Cluster is that each node is a peer to the others, whereas in a normal replicating system you have a master and many slaves, and applications must be careful to write only to the master.

Share
Share

August 3, 2011
by Mohan Cheema
0 comments

Adding more disk space (EBS volumes) to your instance

Adding more disk space (EBS volumes) to your instance

The AWS Server AMI comes with an attached 30 GB EBS volume. If you need more space, you can create additional volumes and attach them to your EC2 instance.

The steps below explain how to create a new EBS volume and attach it to your EC2 running instance.
Steps:

Share
Share

July 21, 2011
by Mohan Cheema
0 comments

Amazon ELB SSL Termination HowTo

We’ve been using the new Amazon Load Balancers (ELB) for some of our websites, since there’s not much information out there on the subject, I thought a post would be in order.

The load balancers are charged at $0.025 per hour, plus $0.008 per GB of data transferred through them. Personally I think this is very reasonable.

Share
Share

November 1, 2010
by Mohan Cheema
0 comments

Postfix OpenLDAP Courier-imap Amavisd-new SpamAssassin and clamav HowTo

This is a step by step guide on how to configure GNU/Linux system with Postfix, OpenLDAP, Courier-imap, Amavisd-new, SpamAssassin and clamav. Even though this setup was configured on Centos 5, with minor tweaks you should get it working on any GNU/Linux distribution.

Building necessary software

Share
Share

August 12, 2010
by Mohan Cheema
0 comments

Install Memcached With repcached “Built-In Server Side Replication”

Everyone probably know about memcached (http://memcached.org/) and its high performance name-value based memory object cache interface. Its main purpose is to provide an easy to use distributed caching engine in a multinode environment. However, have you ever wanted to let memcached handle replication?

Share
Share

April 28, 2010
by Mohan Cheema
4 Comments

Advanced MRTG HowTo

Introduction

In many cases using MRTG in a basic configuration to monitor the volume of network traffic to your server isn’t enough. You may also want to see graphs of CPU, disk, and memory usage. This chapter explains how to find the values you want to monitor in the SNMP MIB files and then how to use this information to configure MRTG.

Share
Share

April 28, 2010
by Mohan Cheema
0 comments

Linux SNMP and MRTG HowTo

Introduction

You can monitor your system’s Web performance quite easily with graphical Linux tools. You’ll learn how to use several in this chapter, including MRTG, which is based on SNMP and monitors raw network traffic, and Webalizer, which tracks Web site hits.

Share
Share