Skip to content
Snippets Groups Projects
  • Ned Bass's avatar
    04a38ba7
    LU-107 Add scripts for implementing heartbeat v1 failover · 04a38ba7
    Ned Bass authored
    
    /usr/sbin/ldev - list devices, determine validity, etc.
    /usr/sbin/lhbadm - wrapper for heartbeat utils for failover/failback/status
    /etc/ha.d/resource.d/Lustre - heartbeat resource agent (wraps init script)
    /etc/init.d/lustre - lustre init script
    /etc/init.d/lnet - lnet init script
    /usr/sbin/haconfig - helper script for building heartbeat config files
    
    The scripts use two configuration files:
     /etc/ldev.conf - maps hostnames to failover partners, devices, and labels
     /etc/nids - hostnames to lustre NIDS
    
    In addition to heartbeat support, the ldev script enables parallel
    execution of commands against all luns configured on a server.  The
    lustre init script supports devices backed by Linux software RAID, ZFS,
    or traditional block devices.
    
    NOTE: these scripts presume the udev rules for persistent block device
    naming are in place, in particular that lustre labels can be mapped to
    block devices in /dev/disk/by-id.
    
    Change-Id: I8391744ce6eed989c061f131aca4a2da7b5d51b2
    Signed-off-by: default avatarNed Bass <bass6@llnl.gov>
    Signed-off-by: default avatarBrian Behlendorf <behlendorf1@llnl.gov>
    Reviewed-on: http://review.whamcloud.com/290
    
    
    Reviewed-by: default avatarDoug Oucharek <doug@whamcloud.com>
    Tested-by: default avatarMaloo <whamcloud.maloo@gmail.com>
    Tested-by: Hudson
    Reviewed-by: default avatarOleg Drokin <green@whamcloud.com>
    04a38ba7
    History
    LU-107 Add scripts for implementing heartbeat v1 failover
    Ned Bass authored
    
    /usr/sbin/ldev - list devices, determine validity, etc.
    /usr/sbin/lhbadm - wrapper for heartbeat utils for failover/failback/status
    /etc/ha.d/resource.d/Lustre - heartbeat resource agent (wraps init script)
    /etc/init.d/lustre - lustre init script
    /etc/init.d/lnet - lnet init script
    /usr/sbin/haconfig - helper script for building heartbeat config files
    
    The scripts use two configuration files:
     /etc/ldev.conf - maps hostnames to failover partners, devices, and labels
     /etc/nids - hostnames to lustre NIDS
    
    In addition to heartbeat support, the ldev script enables parallel
    execution of commands against all luns configured on a server.  The
    lustre init script supports devices backed by Linux software RAID, ZFS,
    or traditional block devices.
    
    NOTE: these scripts presume the udev rules for persistent block device
    naming are in place, in particular that lustre labels can be mapped to
    block devices in /dev/disk/by-id.
    
    Change-Id: I8391744ce6eed989c061f131aca4a2da7b5d51b2
    Signed-off-by: default avatarNed Bass <bass6@llnl.gov>
    Signed-off-by: default avatarBrian Behlendorf <behlendorf1@llnl.gov>
    Reviewed-on: http://review.whamcloud.com/290
    
    
    Reviewed-by: default avatarDoug Oucharek <doug@whamcloud.com>
    Tested-by: default avatarMaloo <whamcloud.maloo@gmail.com>
    Tested-by: Hudson
    Reviewed-by: default avatarOleg Drokin <green@whamcloud.com>