Toolpack Installation:Change hostname
From TBwiki
(Difference between revisions)
(Added the license update section) |
|||
Line 2: | Line 2: | ||
__TOC__ | __TOC__ | ||
− | This procedure applies to TMG800, TMG3200, TMG7800 and ProSBC with static IP for management interfaces. | + | This procedure applies to TMG800, TMG3200, TMG7800 and ProSBC with static IP for management interfaces. <br> |
− | Requires version 2.9 and above | + | Requires version 2.9 and above <br> |
+ | For ProSBC, this will require a license update. Make sure you inform the support team that this procedure will be done. <br> | ||
== CentOS 7 procedure == | == CentOS 7 procedure == | ||
Line 19: | Line 20: | ||
hostnamectl | hostnamectl | ||
cat /etc/hosts | cat /etc/hosts | ||
+ | |||
+ | === ProSBC license === | ||
+ | After doing the procedure, you need to contact [[Support:Contacting_TelcoBridges_technical_support|Support]] to modify the license with the new hostname.<br> | ||
+ | Then, you can update the license: [[Toolpack:Retreiving_a_License_TSBC_A|Update ProSBC license]] | ||
== CentOS 5 procedure == | == CentOS 5 procedure == |
Revision as of 12:14, 11 March 2021
Contents |
This procedure applies to TMG800, TMG3200, TMG7800 and ProSBC with static IP for management interfaces.
Requires version 2.9 and above
For ProSBC, this will require a license update. Make sure you inform the support team that this procedure will be done.
CentOS 7 procedure
- ssh to the management interface
- To view current hostname:
hostnamectl
- To update the hostname:
hostnamectl set-hostname NewHostName
- To update the /etc/hosts file:
vim /etc/hosts
Replace the hostnames in the file
- Reboot server:
shutdown -r now
- After reboot verify if everything is ok:
hostnamectl cat /etc/hosts
ProSBC license
After doing the procedure, you need to contact Support to modify the license with the new hostname.
Then, you can update the license: Update ProSBC license
CentOS 5 procedure
- ssh to the management interface
- To view current hostname:
hostname
- To update the hostname:
hostname NewHostName
- Reboot server:
shutdown -r now
Note: DO NOT change the hostname via webportal.