A Systems Consultant with over 11 years’ experience in dev and operations management, high availability web services and internet technologies.
At the moment most of my work is based around Amazon Web Services, Apache Solr and the Drupal Framework.
We currently have an ext3 partition running on LVM which is using all of the 20G disk allocation (doh!) so we are unable to create any snapshots due to:
"Insufficient Free Extents Available"
We want to reduce the partition size to 15G so we have 5G to play with for snapshots and other LVM goodness.
First we umount our directory if it is currently in use:
umount /data/dir/in/use
e2fsck -f /dev/path/to/lvm/
resize2fs -p /dev/path/to/lvm/ 15G
lvresize /dev/path/to/lvm/ --size 15G
Upgrade Java
yum remove java yum install java-1.6.0-openjdk yum install java-1.6.0-openjdk-devel
Install Tomcat5
sudo yum install -y tomcat5
#!/bin/bash # # Amazon EC2 MySQL Backup Toolkit # # do_mysql_backup v1.0 - David O'Dwyer # # Basic wrapper for EBS snapshots / mylvmbackup. # Assumes ec2-api-bin and mylvmbackup installed # and MySQL data directory located on LVM partition # ########################################
| Attachment | Size |
|---|---|
| do_mysql_backup.sh | 3.67 KB |
