OCI : How To Change port number for OSMS-AGENT In Oracle Linux
Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Goal:
This document describes how to change the port number for OSMS-AGENT
Solution:
To change the port number for osms-agent follow the steps detailed below:
1) Change OSMS Agent local proxy port number, e.g., to 9004 using command below:
$ sudo sed -i 's/port: 9003/port: 9004/g' /etc/oracle-cloud-agent/plugins/osms/config.yml
2) Restart OSMS Agent service:
Oracle Linux 6 command:
$ sudo service oracle-cloud-agent stop $ sudo service oracle-cloud-agent start
Oracle Linux 7 and 8 command:
$ sudo systemctl restart oracle-cloud-agent
3) Verify status of OSMS Agent service:
Oracle Linux 6 command:
$ sudo service oracle-cloud-agent status
Tagged:
0