How To Install ctdb on Rocky Linux 8
Introduction
In this tutorial we learn how to install ctdb
on Rocky Linux 8.
What is ctdb
CTDB is a cluster implementation of the TDB database used by Samba and other projects to store temporary data. If an application is already using TDB for temporary data it is very easy to convert that application to be cluster aware and use CTDB instead.
We can use yum
or dnf
to install ctdb
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ctdb.
Install ctdb on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install ctdb
using dnf
by running the following command:
sudo dnf -y install ctdb
Install ctdb on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ctdb
using yum
by running the following command:
sudo yum -y install ctdb
How To Uninstall ctdb on Rocky Linux 8
To uninstall only the ctdb
package we can use the following command:
sudo dnf remove ctdb
ctdb Package Contents on Rocky Linux 8
/etc/ctdb
/etc/ctdb/ctdb-crash-cleanup.sh
/etc/ctdb/ctdb.conf
/etc/ctdb/debug-hung-script.sh
/etc/ctdb/debug_locks.sh
/etc/ctdb/events
/etc/ctdb/events/legacy
/etc/ctdb/events/notification
/etc/ctdb/events/notification/README
/etc/ctdb/functions
/etc/ctdb/nfs-checks.d
/etc/ctdb/nfs-checks.d/00.portmapper.check
/etc/ctdb/nfs-checks.d/10.status.check
/etc/ctdb/nfs-checks.d/20.nfs.check
/etc/ctdb/nfs-checks.d/30.nlockmgr.check
/etc/ctdb/nfs-checks.d/40.mountd.check
/etc/ctdb/nfs-checks.d/50.rquotad.check
/etc/ctdb/nfs-checks.d/README
/etc/ctdb/nfs-linux-kernel-callout
/etc/ctdb/notify.sh
/etc/ctdb/statd-callout
/etc/sudoers.d/ctdb
/etc/sysconfig/ctdb
/usr/bin/ctdb
/usr/bin/ctdb_diagnostics
/usr/bin/ctdb_local_daemons
/usr/bin/ltdbtool
/usr/bin/onnode
/usr/bin/ping_pong
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/3d8f30841899b353113d738e163d52c0eec312
/usr/lib/.build-id/06/c7cbbb095e81cfce7db5bcce754aadb3d192cf
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/b5dbf99bc337ac8f5d5b53c8553bacf94e9da9
/usr/lib/.build-id/16/6a12da0b524c667d7fef8391e91fab8c357727
/usr/lib/.build-id/1a/fdad5f930f1d4a433409ff0e907ab0b2b7fa23
/usr/lib/.build-id/30/d63d18e545ff89c6551eb13f96f90931a8c49b
/usr/lib/.build-id/4e/15d9515eb5ca7173d500d1bfa8c5faee549631
/usr/lib/.build-id/6a/dd68def9d08698737e9908f556871bf4296e34
/usr/lib/.build-id/96
/usr/lib/.build-id/96/20b765ddd693ad0cc20013ceded5a5736fd358
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/141e8a025a118ad179226199d61815eb5d9403
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/419e6f05e1dc37c7246777ac0f6e49668697c2
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/2e032c24bec524f853c834057be18877c089c7
/usr/lib/.build-id/d0/db7f396cb5092d6b3860afe988ed2ff63b1c6f
/usr/lib/.build-id/de/d414b0c377c0705d45aba055bb0f54d29d829b
/usr/lib/systemd/system/ctdb.service
/usr/lib/tmpfiles.d/ctdb.conf
/usr/libexec/ctdb
/usr/libexec/ctdb/ctdb-config
/usr/libexec/ctdb/ctdb-event
/usr/libexec/ctdb/ctdb-eventd
/usr/libexec/ctdb/ctdb-path
/usr/libexec/ctdb/ctdb_killtcp
/usr/libexec/ctdb/ctdb_lock_helper
/usr/libexec/ctdb/ctdb_lvs
/usr/libexec/ctdb/ctdb_mutex_fcntl_helper
/usr/libexec/ctdb/ctdb_natgw
/usr/libexec/ctdb/ctdb_recovery_helper
/usr/libexec/ctdb/ctdb_takeover_helper
/usr/libexec/ctdb/smnotify
/usr/sbin/ctdbd
/usr/sbin/ctdbd_wrapper
/usr/share/ctdb
/usr/share/ctdb/events
/usr/share/ctdb/events/legacy
/usr/share/ctdb/events/legacy/00.ctdb.script
/usr/share/ctdb/events/legacy/01.reclock.script
/usr/share/ctdb/events/legacy/05.system.script
/usr/share/ctdb/events/legacy/06.nfs.script
/usr/share/ctdb/events/legacy/10.interface.script
/usr/share/ctdb/events/legacy/11.natgw.script
/usr/share/ctdb/events/legacy/11.routing.script
/usr/share/ctdb/events/legacy/13.per_ip_routing.script
/usr/share/ctdb/events/legacy/20.multipathd.script
/usr/share/ctdb/events/legacy/31.clamd.script
/usr/share/ctdb/events/legacy/40.vsftpd.script
/usr/share/ctdb/events/legacy/41.httpd.script
/usr/share/ctdb/events/legacy/48.netbios.script
/usr/share/ctdb/events/legacy/49.winbind.script
/usr/share/ctdb/events/legacy/50.samba.script
/usr/share/ctdb/events/legacy/60.nfs.script
/usr/share/ctdb/events/legacy/70.iscsi.script
/usr/share/ctdb/events/legacy/91.lvs.script
/usr/share/doc/ctdb
/usr/share/doc/ctdb/README
/usr/share/doc/ctdb/examples
/usr/share/doc/ctdb/examples/11.natgw.options
/usr/share/doc/ctdb/examples/20.nfs_ganesha.check
/usr/share/doc/ctdb/examples/91.lvs.options
/usr/share/doc/ctdb/examples/README
/usr/share/doc/ctdb/examples/config_migrate.sh
/usr/share/doc/ctdb/examples/config_migrate.test_input
/usr/share/doc/ctdb/examples/ctdb.conf
/usr/share/doc/ctdb/examples/nfs-ganesha-callout
/usr/share/man/man1/ctdb.1.gz
/usr/share/man/man1/ctdb_diagnostics.1.gz
/usr/share/man/man1/ctdbd.1.gz
/usr/share/man/man1/ctdbd_wrapper.1.gz
/usr/share/man/man1/ltdbtool.1.gz
/usr/share/man/man1/onnode.1.gz
/usr/share/man/man1/ping_pong.1.gz
/usr/share/man/man5/ctdb-script.options.5.gz
/usr/share/man/man5/ctdb.conf.5.gz
/usr/share/man/man5/ctdb.sysconfig.5.gz
/usr/share/man/man7/ctdb-statistics.7.gz
/usr/share/man/man7/ctdb-tunables.7.gz
/usr/share/man/man7/ctdb.7.gz
/var/lib/ctdb
/var/lib/ctdb/persistent
/var/lib/ctdb/state
/var/lib/ctdb/volatile
References
Summary
In this tutorial we learn how to install ctdb
on Rocky Linux 8 using yum and dnf.