Toolpack Installation:Change hostname
From TBwiki
(Difference between revisions)
(fix procedure) |
|||
Line 10: | Line 10: | ||
*Change hostname of the linux host | *Change hostname of the linux host | ||
<pre>hostname NewHostName | <pre>hostname NewHostName | ||
+ | </pre> | ||
+ | *Modify the name of the host in this file (if present) | ||
+ | <pre>vi /etc/hosts | ||
</pre> | </pre> | ||
*Activate config: | *Activate config: |
Revision as of 08:04, 1 November 2010
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
- Change hostname of the linux host
hostname NewHostName
- 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