EDR: How to Change a Server Hostname in Console?
search cancel

EDR: How to Change a Server Hostname in Console?

book

Article ID: 291461

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

To change the server host name using PSQL in GUI for standalone server

Environment

  • EDR Server: All Supported Version

Resolution

  1. Login into postgres database 
    psql cb -p 5002
  2. Validate the host name in database before making any modification
    select * from cluster_node_sensor_addresses;
  3. Update the database with the new host name by entering the following command
    update cluster_node_sensor_addresses set hostname = '<enter hostname>' where node_id= 0;
  4. Verify the host name in the database by following the below command
    select * from cluster_node_sensor_addresses;
  5. Exit from postgres by entering the following command
    \q

Additional Information

To change the Server IP or Domain Name Address for Single Node follow this article.