Disabling of Network Manager on the VPS with cPanel
From time to time we have a requests from the future owners of cPanel servers who face some issues with disabling of NetworkManager. It is a necessary step during installation of cPanel management software, because the Network Manager service automates the network's settings and disrupts connections to the IP addresses that reside in the ipaliases
module.
There is a documentation on the cPanel portal that describes the necessary steps https://documentation.cpanel.net/display/CKB/How+to+Disable+Network+Manager
In short, the steps are below:
# systemctl stop NetworkManager.service
# systemctl disable NetworkManager.service
# systemctl enable network.service# systemctl start network.service
Additionally, it makes sense to review the network configuration file, e.g. /etc/sysconfig/network-scripts/ifcfg-eth0
and verify that it is disabled there as well
NM_CONTROLLED=no
In general, there are should not be any issues with that. SolusVM configures networking for CentOS/RHEL VPSes in two ways:
- using DHCP service on the host node when Configure Networking check box is not ticked on the template settings page
- network settings inside of the VPS if Configure Networking is enabled and SolusVM updates the network configuration file
Both scenarios has been checked on the test environment.
Feel free to share real-life examples here in comment section and possible issues occurred.
Please sign in to leave a comment.
Comments
0 comments