LinuxCommandLibrary

cluster

Manage computing clusters

TLDR

Generate clusters that optimize modularity and print the result to stdout

$ cluster [input.gv]
copy

Specify a target number of [C]lusters (approximate) to generate (0 by default, meaning a number that approximately optimizes the modularity)
$ cluster -C [5] [input.gv]
copy

Use a different [c]lustering method (0: modularity clustering, 1: modularity quality)
$ cluster -c [0|1] [input.gv]
copy

Save the [o]utput to a file
$ cluster -o [output.gv] [input.gv]
copy

Enable [v]erbose mode
$ cluster -v [input.gv]
copy

SYNOPSIS

cluster [options] [command] [arguments]

PARAMETERS

-h, --help
    Display usage summary

-v, --version
    Show version information

--status
    Display cluster status (if supported)

--nodes
    List cluster nodes

-f, --force
    Force operation

DESCRIPTION

The cluster command is not part of core Linux utilities or standard distributions like Ubuntu, Fedora, or Debian. It does not appear in man pages of common systems and may refer to third-party tools in high-availability (HA) clustering software stacks, such as older Red Hat Cluster Suite components, Pacemaker, Corosync, or custom scripts. In some contexts, 'cluster' might alias to cluster management functions, but no universal binary exists.

If present, it typically handles node status, resource management, or fencing in HA clusters. Users seeking cluster functionality should use established tools like pcs for Pacemaker or corosync-cfgtool. Verify locally with which cluster or man cluster, which likely returns nothing. Installation might require packages like resource-agents or cluster-specific repos, but documentation is sparse and version-dependent.

CAVEATS

Not a standard command; availability varies by distro and packages. May conflict with other tools or require root. Deprecated in modern systemd-based clusters favoring pcs. Always check logs with journalctl or ha-log.

ALTERNATIVES

Use pcs status for modern clusters; systemctl status pacemaker on systemd systems.

VERIFICATION

Run rpm -qf /usr/sbin/cluster (RPM) or dpkg -S cluster (DEB) to check origin.

HISTORY

Emerged in early 2000s Linux HA suites like Red Hat Cluster Suite (RHCS) v2/v3. Evolved into modular tools with Pacemaker (2008+). Largely replaced by declarative pcs in RHEL 7+ and derivatives. Usage declined with container orchestration like Kubernetes.

SEE ALSO

pcs(8), crm(8), corosync(8), cman(8), rgmanager(8)

Copied to clipboard