How To Install clustershell on Fedora 34
Introduction
In this tutorial we learn how to install clustershell
on Fedora 34.
What is clustershell
ClusterShell is a set of tools and a Python library to execute commands on cluster nodes in parallel depending on selected engine and worker mechanisms. Advanced node sets and node groups handling methods are provided to ease and improve the daily administration of large compute clusters or server farms. Command line utilities like clush, clubak and nodeset (or cluset) allow traditional shell scripts to take benefit of the features offered by the library.
We can use yum
or dnf
to install clustershell
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install clustershell.
Install clustershell on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install clustershell
using dnf
by running the following command:
sudo dnf -y install clustershell
Install clustershell on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install clustershell
using yum
by running the following command:
sudo yum -y install clustershell
How To Uninstall clustershell on Fedora 34
To uninstall only the clustershell
package we can use the following command:
sudo dnf remove clustershell
clustershell Package Contents on Fedora 34
/etc/clustershell
/etc/clustershell/clush.conf
/etc/clustershell/groups
/etc/clustershell/groups.conf
/etc/clustershell/groups.conf.d
/etc/clustershell/groups.conf.d/README
/etc/clustershell/groups.conf.d/genders.conf.example
/etc/clustershell/groups.conf.d/slurm.conf.example
/etc/clustershell/groups.d
/etc/clustershell/groups.d/README
/etc/clustershell/groups.d/cluster.yaml.example
/etc/clustershell/groups.d/local.cfg
/etc/clustershell/topology.conf.example
/usr/share/doc/clustershell
/usr/share/doc/clustershell/COPYING.LGPLv2.1
/usr/share/doc/clustershell/ChangeLog
/usr/share/doc/clustershell/README.md
/usr/share/doc/clustershell/examples
/usr/share/doc/clustershell/examples/check_nodes.py
/usr/share/doc/clustershell/examples/defaults.conf-rsh
/usr/share/doc/clustershell/sphinx
/usr/share/doc/clustershell/sphinx/Makefile
/usr/share/doc/clustershell/sphinx/_static
/usr/share/doc/clustershell/sphinx/_static/clustershell-nautilus-logo200.png
/usr/share/doc/clustershell/sphinx/_static/theme_overrides.css
/usr/share/doc/clustershell/sphinx/api
/usr/share/doc/clustershell/sphinx/api/Defaults.rst
/usr/share/doc/clustershell/sphinx/api/EngineTimer.rst
/usr/share/doc/clustershell/sphinx/api/Event.rst
/usr/share/doc/clustershell/sphinx/api/MsgTree.rst
/usr/share/doc/clustershell/sphinx/api/NodeSet.rst
/usr/share/doc/clustershell/sphinx/api/NodeUtils.rst
/usr/share/doc/clustershell/sphinx/api/RangeSet.rst
/usr/share/doc/clustershell/sphinx/api/Task.rst
/usr/share/doc/clustershell/sphinx/api/index.rst
/usr/share/doc/clustershell/sphinx/api/workers
/usr/share/doc/clustershell/sphinx/api/workers/ExecWorker.rst
/usr/share/doc/clustershell/sphinx/api/workers/StreamWorker.rst
/usr/share/doc/clustershell/sphinx/api/workers/Worker.rst
/usr/share/doc/clustershell/sphinx/api/workers/WorkerPdsh.rst
/usr/share/doc/clustershell/sphinx/api/workers/WorkerPopen.rst
/usr/share/doc/clustershell/sphinx/api/workers/WorkerRsh.rst
/usr/share/doc/clustershell/sphinx/api/workers/WorkerSsh.rst
/usr/share/doc/clustershell/sphinx/api/workers/index.rst
/usr/share/doc/clustershell/sphinx/clustershell-nautilus-logo200.png
/usr/share/doc/clustershell/sphinx/conf.py
/usr/share/doc/clustershell/sphinx/config.rst
/usr/share/doc/clustershell/sphinx/further.rst
/usr/share/doc/clustershell/sphinx/guide
/usr/share/doc/clustershell/sphinx/guide/examples.rst
/usr/share/doc/clustershell/sphinx/guide/index.rst
/usr/share/doc/clustershell/sphinx/guide/nodesets.rst
/usr/share/doc/clustershell/sphinx/guide/rangesets.rst
/usr/share/doc/clustershell/sphinx/guide/taskmgnt.rst
/usr/share/doc/clustershell/sphinx/index.rst
/usr/share/doc/clustershell/sphinx/install.rst
/usr/share/doc/clustershell/sphinx/intro.rst
/usr/share/doc/clustershell/sphinx/release.rst
/usr/share/doc/clustershell/sphinx/tools
/usr/share/doc/clustershell/sphinx/tools/clubak.rst
/usr/share/doc/clustershell/sphinx/tools/cluset.rst
/usr/share/doc/clustershell/sphinx/tools/clush.rst
/usr/share/doc/clustershell/sphinx/tools/index.rst
/usr/share/doc/clustershell/sphinx/tools/nodeset.rst
/usr/share/man/man1/clubak.1.gz
/usr/share/man/man1/cluset.1.gz
/usr/share/man/man1/clush.1.gz
/usr/share/man/man1/nodeset.1.gz
/usr/share/man/man5/clush.conf.5.gz
/usr/share/man/man5/groups.conf.5.gz
/usr/share/vim/vimfiles/ftdetect/clustershell.vim
/usr/share/vim/vimfiles/syntax/clushconf.vim
/usr/share/vim/vimfiles/syntax/groupsconf.vim
References
Summary
In this tutorial we learn how to install clustershell
on Fedora 34 using yum and dnf.