Search code examples
linuxcluster-computing

Set the all the hostname in cluster.yaml for clustershell in linux


Currently I am applying the clustershell to run all node in one command in linux. My hostname are HD-01.project.org, HD-02.project.org... HD-15.project.org. (from 1 to 15). From this documentation, it says that to set the configuration, need to add the hostname in /etc/clustershell/groups.d/cluster.yaml

Since this is the first time Im using the clustershell, I am abit confused on how to use the hostname and set it to all in that cluster.yaml file.

Is it this way?

all: 'HD-02.project.org[1-15]'

Solution

  • It should be all: 'HD-[01-15].project.org'

    based on similar python tools.