Thursday, July 21, 2011

High Availability Add-On


High Availability Add-On

High Availability add-on logoThe High Availability Add-On for Red Hat Enterprise Linux provides continuous availability of services by eliminating single points of failure. By offering failover services between nodes within a cluster, the High Availability Add-On supports high availability for up to 16 nodes. (Currently this capability is limited to a single LAN or datacenter located within one physical site.)
The High Availability Add-On also enables failover for off-the-shelf applications such as Apache, MySQL, and PostgreSQL, any of which can be coupled with resources like IP address and single-node file systems to form highly available services. The High Availability Add-On can also be easily extended to any user-specified application that is controlled by an init script per UNIX System V (SysV) standards.
When using the High Availability Add-On, a highly available service can fail over from one node to another with no apparent interruption to cluster clients. The High Availability Add-On also ensures absolute data integrity when one cluster node takes over control of a service from another cluster node. It achieves this by promptly evicting nodes from the cluster that are deemed to be faulty using a method called "fencing" that prevents data corruption. The High Availability Add-On supports several types of fencing, including both power- and storage area network (SAN)-based fencing.

High Availability Add-On Features and Benefits

FeaturesBenefits
Clustering
Red Hat's High Availability Add-On enables applications to be highly available by reducing downtime and ensuring that there is no single point of failure in a cluster. It also isolates unresponsive applications and nodes so they can't corrupt critical enterprise data
Conga
The Conga application of Red Hat Enterprise Linux provides centralized configuration and management for the High Availability Add-On
Corosync
Corosync is a cluster executive within the High Availability Add-On that implements the Totem Single Ring Ordering and Membership Protocol, delivering an extremely mature, secure, high-performing, and lightweight high-availability solution
Integrated virtualizationVirtualization is pervasive throughout today's enterprise datacenters. Not only is Red Hat Enterprise Linux designed to be a superior guest on any of the major hypervisors, but it can also be a virtualization host. Virtualization is integrated directly into the Red Hat Enterprise Linux kernel using kernel-based virtual machine (KVM) technology. As part of the kernel, your administrators get the complete breadth of Red Hat Enterprise Linux system management and security tools and certifications
Fencing & unfencing
Fencing is removing access to resources from a cluster node that has lost contact with the cluster, thereby protecting resources such as shared storage from uncoordinated modification.
Red Hat has made extensive improvements in the SCSI-3 PR reservations-based fencing. By enabling manual specification of keys and devices for registration and reservation, cluster administrators can bypass clvm and improve configuration and system flexibility.
After fencing, the unconnected cluster node would ordinarily need to be rebooted to safely rejoin the cluster. However, unfencing allows a node to re-enable access when starting up without administrative intervention.
Improved cluster configuration system
The cluster configuration system now supports load options other than XML, including the Lightweight Directory Access Protocol (LDAP). Configuration reload is validated and easily synchronized across the cluster for better usability and manageability.
Virtualization integration
You can now run virtualized KVM guests as managed services
Rich graphical user interface (GUI)-based cluster management and administration
In Red Hat Enterprise Linux 6, the Web interface to luci has been redesigned and runs on TurboGears2
Unified logging and debugging
System administrators can now enable, capture, and read cluster system logs via a single cluster configuration command

courtesy: Redhat.com

Friday, May 20, 2011

Stable. Secure. Scalable. And, Innovative! Redhat Enterprise Linux 6.1 released

On May 19th, Red Hat released the first service pack since the release of Red Hat Enterprise Linux 6. As with every service pack, Red Hat Enterprise Linux 6.1 consolidates all patches and security updates since the introduction of Red Hat Enterprise Linux 6, while maintaining application compatibility, ISV and IHV support. 
The established performance leader as both a virtual machine guest and hypervisor host, we already set another new SpecVirt record in multi-core scaling with RHEL6.1 due to lower latencies in networking and I/O.
Many customers moved immediately to Red Hat Enterprise Linux 6 for the latest in filesystem performance and options. This update updates our advanced networking storage offerings. FCoE, Data Center Briding and iSCSI offload allow networked storage to deliver the quality of service required.
Keeping pace with the latest hardware innovations, we worked with Intel to support the latest hot-plug processors and memory – as well as the latest NUMA architectures and PCI express 3.0.
Developers can now process memory with Valgrind improvements and learn even more about running processes with SystemTap. These enhancements have been integrated into the Eclipse IDE for a unified development experience.
Red Hat Enterprise Linux supports the entire data center architecture and major infrastructure projects like:
  • Moving to IPv6 is easier with optimized networking, firewall and DHCP/DNS services.
  • Intelligent application consolidation using Control Groups functionality for resource control of applications and virtual machines.
  • Managing application uptime using transparent proxy or High-availability Add-Ons, that can fail-over applications, services or virtual machines.
  • Tracking Red Hat Enterprise Linux deployments and subscriptions by using the new Subscription Manager, currently only available with 6.1 and for use with RHN
  • Planning user authentication and authorization with LDAP, kerberos, AD integration or Red Hat Enterprise Identity (IPA) services, now in Tech Preview
Courtesy: Redhat Official Website.

Friday, May 13, 2011

Ubuntu 11.04 is available in its official site.

Features of Ubuntu 11.04 (Natty Narwhal)

The latest version of the popular Linux desktop distribution Ubuntu 11.04 has been released and available from the official project web site. This new version uses the Unity user interface instead of GNOME Shell as default desktop (user can switch back to classic Gnome desktop any time). New features since Ubuntu 10.10 includes – Banshee as the default music player, Mozilla Firefox 4, LibreOffice, Linux kernel v2.6.38.2, gcc 4.5, Python 2.7, dpkg 1.16.0, Upstart 0.9, X.org 1.10.1, Mesa 7.10.2, Shotwell 0.9.2, and Evolution 2.32.2.

Wednesday, April 20, 2011

User Quota Creation

Step1: #vim /etc/fstab
add usrquota in the /home partition after defaults,usrquota
Step2: #mount -o remount /home
Step3: #quotacheck -cf /home
Step4: #quotaon /home
Step5: #repquota /home
Step6: #edquota pna - edit the quota for the user pna ( give the soft and hard limitations)
Step7: #repquota /home (It will show the quota for the user pna)

Friday, April 15, 2011

Adding kickstart file in the remote boot screen itself

Edit the following file:


#vim /tftpboot/pxelinux.cfg/default

Add the follwoing line in the file:

label ks
kernel vmlinuz
append initrd=initrd.img ks=nfs:192.168.0.254:/var/ftp/pub/ks.cfg

Adding another OS in this file (example: rhel6):

label 6
kernel rhel6/vmlinuz
append initrd=rhel6/initrd.img ks=nfs:192.168.0.254:/var/ftp/pub/rhel6/ks.cfg

Monday, April 11, 2011

Compression & Backup


gzip:
1.#seq 100000 > 1lakh.txt (creating a file with the content 100000)
2.#gzip -c 1lakh.txt > 1lakh.txt.gz (compressing the file)
3.#gzip -l 1lakh.txt.gz  (showing the compression rate)
4.#gunzip 1lakh.txt.gz (uncompress the file)
5.#zcat 1lakh.txt.gz (view the content without decompressing)
or
#zcat 1lakh.txt.gz | less

bzip2: (best compression)
6.#bzip2 -c 1lakh.txt > 1lakh.txt.bz2 (compressing using algorithm bzip2)
7.#bzcat 1lakh.txt.bz2  (view the content without decompressing)
or
#bzcat 1lakh.txt.bz2 |less
8.#bunzip2 1lakh.txt.bz2  (decompressing using bzip2)

Zip:
9.#zip 1lakh.txt.zip 1lakh.txt (compressing using zip)
10.#unzip 1lakh.txt.zip (uncompress the file)

Tar & Gzip, Bzip2 (Tape Drive Archieve or backup):
create a directory special and put some contents in that.
11.#tar -cvf myfile.tar special/ (taking backup)
12.#tar -cvf myfile.tar 1lakh.txt.gz (adding another file in the same tar)
13.#tar -czvf myfile.tar.gz special/ (creating tar & gzip together)
14.#tar -cjvf myfile.tar.bz2 special/ (creating tar & bzip2 together)
15.#tar -tzvf myfile.tar.gz (viewing the gzip without extraction)
16.#tar -cjvf myfile.tar.bz2 special.save/ (viewing the files)
17.#tar -xvf myfile.tar.gz (extracting gzip file)
18.#tar -xvf myfile.tar.bz2 (extracting bzip2 file)

Tuesday, April 5, 2011

Google Chrome 10.0.648.204 works good in RHEL6

Google Chrome 10.0.648.204 works good in RHEL6.

Steps to install Google Chrome to RHEL 6.

Step1:
Goto http://www.google.com/chrome/eula.html?platform=linux_fedora_i386 location

Step2: download the 32 bit .rpm (For Fedora/openSUSE) or 64 bit .rpm (For Fedora/openSUSE) with respect to your Operating System.

Step3: install the rpm by right clicking it.

Step4: Select the menu option as follows
Applications-> Internet -> Google Chorme.

Note: the rpm that is designed for Fedora and openSUSE works good for RHEL6 also.