Tech News

Disaster Recovery Linux Manager


DRLM is a Central Management Open Source Software for Linux Disaster Recovery and System Migrations, based on Relax-and-Recover (ReaR). DRLM provides central management and deployment from small to large Linux disaster recovery implementations offers a great Centralized Management Tool for Linux. Using DRLM, we can add, delete and modify networks and ReaR clients to manage, run backups and enable/disable Disaster Recovery system images to recovery over the network.


Prerequisites

You will need bash shell which is by default available on all GNU/Linux based systems. Also DRLM needs some additional system services in order to function properly:
  • isc-dhcpd
  • nfs-server
  • tftpd
  • apache2
  • qemu-img
  • sqlite3

For more detailed documentation of DRLM and all system and software requirements, please visit: http://docs.drlm.org

Installing DRLM

You can either obtain it from the DRLM homepage or build it yourself from the source tree on on rpm based systems using the following command.

# make rpm

This will create an RPM for your distribution. The RPM is not platform- dependent and should work also on other RPM based distributions.

If you are on deb based systems you can run the command to make it work

# make deb

DRLM Configuration

You need to edit the configuration files in ‘/etc/drlm/’. All ‘*.conf’ files there are part of the configuration, but only ‘local.conf’ are intended for the user configuration.

TFTP, HTTP are the services to be manually configured. The other services are automatically configured through DRLM commands. To configure the TFTP is needed define the DRLM Store Dir as root and enable the TFTP service on system startup.

To configure the HTTP is needed enable SSL in the Apache server and include the DRLM http config file in the Apache configuration files.
You needed to increase the loop limit devices in grub config in order to be able reach all DRLM clients.

DRLM Commands

Disaster Recovery Linux Manager always call the main script ‘/usr/sbin/drlm’:

# drlm --help
Usage: drlm [-dDsSvV] COMMAND [-- ARGS...]


Available options:

 -d           debug mode; log debug messages
 -D           debugscript mode; log every function call
 -s           simulation mode; show what scripts drlm would include
 -S           step-by-step mode; acknowledge each script individually
 -v           verbose mode; show more output
 -V           version information


List of commands:

 addclient       register new client to DB.
 addjob          register new job to DB.
 addnetwork      register new network to DB.
 bkpmgr          manage DRLM backup states.
 delbackup       delete backup and unregister from DB.
 delclient       delete client from DB.
 deljob          delete job from DB.
 delnetwork      delete network from DB.
 expbackup       export backup from DB.
 impbackup       import backup from DB.
 instclient      install client from DRLM
 listbackup      list client backups.
 listclient      list registered clients.
 listjob         list planned jobs.
 listnetwork     list registered networks.
 modclient       modify client properties.
 modnetwork      modify network properties.
 runbackup       run backup and register to DB.
 sched           schedule planned jobs.


Use 'drlm --help' for more advanced commands.

No comments