Update the new user in the db.cnf file located at Controller/db/db.cnf.
user=<New User>
Start the Controller.
./controller.sh start
If you are not using the Enterprise Console
As the current user running the Controller services, shut down the Controller process:
CONTROLLER_HOME_DIR/bin/controller.sh stop
CODE
Change the ownership (recursively) of the entire Controller directory to the new user. In this example, appdynamics:admin is the user:group, respectively:
chown -R appdynamics:admin CONTROLLER_HOME_DIR/
CODE
If the Controller's data directory is outside of the root Controller's folder, then you must also change the owner of the database data files:
chown -R appdynamics:admin .../data/
CODE
Change the user to the new username:
CONTROLLER_HOME_DIR/db/db.cnf
CODE
Log in as the new user and start the Controller services:
CONTROLLER_HOME_DIR/bin/controller.sh start
CODE
If you are using the Enterprise Console
Remove the Controller from the Enterprise Console by de-selecting the Remove Binaries option; otherwise, the binaries will be removed from the disk. To remove the Controller without uninstalling the Controller:
As the current user running the Controller services, shut down the Controller process.
CONTROLLER_HOME_DIR/bin/controller.sh stop
CODE
Change the ownership (recursively) of the entire Controller directory to the new user. In this example, appdynamics:admin is the user:group, respectively:
chown -R appdynamics:admin CONTROLLER_HOME_DIR/
CODE
If the Controller's data directory is outside of the root Controller's folder, then you must also change the owner of the database data files:
chown -R appdynamics:admin .../data/
CODE
Change the user to the new username:
CONTROLLER_HOME_DIR/db/db.cnf
CODE
Log in as the new user and start the Controller services:
CONTROLLER_HOME_DIR/bin/controller.sh start
CODE
From the Enterprise Console, remove the hosts that were added: