Toolpack Installation:Change hostname

From TBwiki
Revision as of 08:15, 2 November 2010 by Cbilodeau (Talk | contribs)
Jump to: navigation, search

Change hostname of server

To change the hostname, connect to the Web Portal and do:

  • Edit host configuration
Hosts->Edit
Name: input new hostname
Save 

The procedure to modify the host name will depends on the OS used. Please look for the official way to modify the hostname.

The following example will show how to modify the host name of a CentOS (TMG5800, TMP5900, TMP7950) and TBLinux (TMG800, TMG3200) host:

hostname NewHostName

To modify the

  • Modify the name of the host in this file (if present)
vi /etc/hosts
  • Activate config:
Systems -> Edit -> Activate 


You need to do this for all configurations.

(Reference: trk#7921)


If the Web portal is not accessible you can do direct MySQL commands:

mysql -utbdb -ptbdbpw
use toolpack_0;
update host_configurations set name = 'NewHostName';
select * from host_configurations;

Change hostname of the host:

hostname NewHostName

Restart Toolpack for linux:

tbtoolpack stop
tbtoolpack start

For windows, restart service:

services.msc
tbtoolpack_12358 -> Restart
Personal tools