App Control: How to Update the Server Address or Port on an Agent (macOS)
search cancel

App Control: How to Update the Server Address or Port on an Agent (macOS)

book

Article ID: 286440

calendar_today

Updated On:

Products

Carbon Black App Control (formerly Cb Protection)

Issue/Introduction

To modify the macOS Agent to use a new Server Address and/or Port Number.

Environment

  • App Control Agent: All Supported Versions
  • macOS: All Supported Versions

Resolution

  1. Open a Terminal and issue the following commands:
    cd /Applications/Bit9/Tools/
    ./b9cli --password GlobalCLIPassword
    ./b9cli --tamperprotect 0
    ./b9cli --setserver <new server address> <new server port>
  2. Verify the changes by issuing the command:
    ./b9cli --status
  3. If necessary, restart the Agent:
    sudo launchctl unload /Library/LaunchDaemons/com.bit9.Daemon.plist
    sudo launchctl load -w /Library/LaunchDaemons/com.bit9.Daemon.plist
    

Additional Information

  • These steps are not intended¬†to be used to migrate Agents from one Console to another, only for changes to the Server Address or Port Number
  • Verify Tamper Protection is enabled after completing the changes.
  • If specifying an IPv6 Address instead of a FQDN the command to use is slightly different:
    ./b9cli --setserver "[IPV6Address]:41002:{b9}ServerIDHere"