Ajitabh Pandey's Soul & Syntax

Exploring systems, souls, and stories – one post at a time

Author: Ajitabh

  • Balancing Traffic Across Data Centres Using LVS

    The LVS (Linux Virtual Server) project was launched in 1998 and is meant to eliminate Single Point of Failures (SPOF). According to the linuxvirtualserver.org website: “LVS is a highly scalable and available server built on a cluster of real servers, with the load balancer running on Linux. The architecture of the server cluster is fully transparent to the end user, and the users interact as if it were a single high-performance virtual server. The real servers and the load balancers may be interconnected by either a high speed LAN or by a geographically dispersed WAN.”
    (more…)

  • Adding/Removing the Resources from a Running Solaris Zone

    The zonecfg command is used to configure the zone. We can add and remove a resource from the solaris zone using zonecfg. Any change to zonecfg needs a reboot, but sometimes it is a requirement to dynamically add new resources to the zone without rebooting the zone. Also, we need to make sure that the addition of new resources to the zone are persistent across reboots.
    (more…)

  • Syncing NIS Slaves

    Sometimes when an NIS slave is out of action for quite sometime, it may go out of sync with the master. Following code will sync up the NIS slave with the master.

    ypwhich -m|awk '{print $1}'|while read line
    do
    /usr/lib/netsvc/yp/ypxfr $line
    done
    
  • Fedora 10 x86-64 on a Laptop

    I recently bought a Compaq Presario V3000 laptop after my IBM Thinkpad gave up on me. Since this is a 64-bit laptop I thought it will be a nice opportunity to jump into the 64-bit desktop experience.
    (more…)

  • Tightening up OpenSSH

    Often I am required required to run a public ssh server, so its a good idea to restrict the OpenSSH server as much as possible.
    (more…)