IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

CBCluster add-node Fails on CBUpgrade --Check and CBUpgrade --non-interactive

CBCluster add-node Fails on CBUpgrade --Check and CBUpgrade --non-interactive

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

Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎10-13-2017
Views:
939