Skip to content

A manual fail-over solution for resources (ip, disk, lvm, filesystem, nfs-mount, nfs-share, ...) on linux.

License

Notifications You must be signed in to change notification settings

boredomwontgetus/tofo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tofo

A manual fail-over solution for resources (ip, disk, lvm, filesystem, nfs-mount, nfs-share, ...) on linux.

PREREQUISTES

Perl Modules

  Config::General
  Data::Dumper
  Getopt::Long
  Tie::DxHash

System Commands (need to be in root's $PATH)

  ip
  ping
  arping
  mount
  umount
  exportfs
  showmout
  lvs
  vgs
  lvscan
  vgchange
  lvchange
  ethtool
  df
  gcc
  VxVM commands 	#if you are going to use VxVM instead of LVM

Files and directories

  '/proc/mounts' must be readable
  'sysfs' must be mounted and accesable

Notes on filesystems:

Filesystems in /etc/fstab and tofo.conf must be set using the device-mapper device. do not use the symbolic link.
For example:

right:
/dev/mapper/myVG-myLV	/mnt/myLV           ext3 barrier=0,noauto

wrong:
/dev/myVG/myLV		/mnt/myLV           ext3 barrier=0,noauto

About

A manual fail-over solution for resources (ip, disk, lvm, filesystem, nfs-mount, nfs-share, ...) on linux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages