Version
6.x
Issue
When attempting to install a new minion onto a cluster, using a non-root user, sudo permission checks fail stating the user is missing:
sudo -n /usr/share/cb/cbupgrade --check
sudo -n /usr/share/cb/cbupgrade --non-interactive
Solution
The solution to this error is to verify that the CBResponse server software is installed on the minion prior to adding it to the cluster.
1. Firstly make sure the permissions are set for the non-root user using this guide Using CBCluster as a Non-Root User
2. Next install the carbon-black.rpm file you received from Carbon Black. This does not install the CB Response Server software, it sets up the Yum Repository and installs an SSL certificate for connection.
3. Install the Response server software by running yum install cb-enterprise
4. Once installed, from the master run
/usr/share/cb/cbcluster stop |
5. Add the new minion by running the following command
/usr/share/cb/cbcluster add-node --hostname <my_host> --user <my_user> |
6. Once the node has been added start the cluster by running:
/usr/share/cb/cbcluster start |
Related Content
Using CBCluster as a Non-Root User