July 2013
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  

Categories

July 2013
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  

DRBD MYSQL

DRBD is a block device which is designed to build high availability clusters.

This is done by mirroring a whole block device via (a dedicated) network. DRBD takes over the data, writes it to the local disk and sends it to the other host. On the other host, it takes it to the disk there. […]

Mysql Master-Slave Replication after slave fails

1. From slave if we run mysql> mysql slave status; it will show last bin file slave reads from master and all,so start from that bin file to sink with master to slave.

2. Set Master configuration on the Slave. Execute the following command on a MySQL prompt to sink slave with master:

mysql > […]

CPU architecture information under Linux operating

You can use /proc/cpuinfo file or use the lscpu command to get info about CPU architecture. It will display information like: Number of CPUs Threads Cores Sockets NUMA nodes Information about CPU caches, CPU family, model and stepping. in human-readable format. Alternatively, it can print out in parsable format including how different caches are shared […]

Add disk on Rhel 6

There are two ways to configure a new disk drive into a Red Hat Enterprise Linux 6 system. One very simple method is to create one or more Linux partitions on the new drive, create Linux file systems on those partitions and then mount them at specific mount points so that they can be accessed. […]

iostat, vmstat and mpstat examples

This article provides a total of 24 examples on iostat, vmstat, and mpstat commands. iostat reports CPU, disk I/O, and NFS statistics. vmstat reports virtual memory statistics. mpstat reports processors statictics. This article is part of our ongoing Linux performance monitoring series. Please note that iostat and vmstat are part of the sar utility. You […]