Toolpack Installation:Change hostname

From TBwiki
(Difference between revisions)
Jump to: navigation, search
m (Added: You need to do this for all configurations)
(Added manual hostname modification in database)
Line 1: Line 1:
== Change hostname of server ==
+
== Change hostname of server ==
 +
 
 +
To change the hostname, connect to the Web Portal and do:
  
To change the hostname, connect to the Web Portal and do:
 
 
*Edit host configuration
 
*Edit host configuration
**Hosts->Edit
+
<pre>Hosts-&gt;Edit
**Name: input new hostname
+
Name: input new hostname
**Save
+
Save  
 +
</pre>
 
*Change hostname of the linux host
 
*Change hostname of the linux host
*Activate config:  
+
<pre>hostname NewHostName
**Systems -> Edit -> Activate
+
</pre>
 +
*Activate config:
 +
<pre>Systems -&gt; Edit -&gt; Activate  
 +
</pre>
 +
<br> You need to do this for all configurations.
 +
 
 +
''(Reference: trk#7921)''
  
 +
<br>
  
You need to do this for all configurations.
+
If the Web portal is not accessible you can do direct MySQL commands:<br>
 +
<pre>mysql -utbdb -ptbdbpw
 +
use toolpack_0;
 +
update host_configurations set name = 'NewHostName';
 +
select * from host_configurations;</pre>
 +
Change hostname of the host:<br>
 +
<pre>hostname NewHostName
 +
</pre>
 +
Restart Toolpack for linux:<br>
 +
<pre>tbtoolpack stop
 +
tbtoolpack start
 +
</pre>
 +
For windows, restart service:<br>
 +
<pre>services.msc
  
''(Reference: trk#7921)''
+
tbtoolpack_12358 -&gt; Restart
 +
</pre>

Revision as of 10:41, 2 September 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
  • 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