If you haven't already cloned the CMT repository, first do so:
git clone https://github.com/intel/cluster-management-toolkit.git
cmtadm
and some of the Ansible playbooks perform calls
to GitHub APIs. If you are behind a proxy or end up doing a lot
of API requests you might run into GitHub's daily rate limit,
which will cause requests to fail.
If you haven't done so already you should always consider adding
a Personal Accesss Token for GitHub to your .netrc
file.
See instructions here: Using a GitHub PAT.
$ cd cluster-management-toolkit
$ ./cmt-install
$ cd cluster-management-toolkit
$ ./cmt-install --pip-proxy PROXY
Running cmt-install
creates necessary symlinks, directories, etc.,
and installs the packages necessary to run CMT. Note that cmt-install
does not perform any cluster setup; all changes take place on your
local computer.
If you only want to use the curses-based user-interface cmu you can continue here: CMU.
To create a cluster step by step, check Setup a control plane.
To create a cluster using a template file (recommended), check Creating a cluster using a template file.