LinHES Forums
http://forum.linhes.org/

LH8.3 server name/ip touch points
http://forum.linhes.org/viewtopic.php?f=21&t=24256
Page 1 of 1

Author:  thekingofspain [ Sun Dec 06, 2015 12:33 pm ]
Post subject:  LH8.3 server name/ip touch points

What files & db settings need to be tweaked when renaming/iping a LH server?

I Made a clean 8.3 System and named it B with an IP of IP2 and then restored a backup of system A that had an IP of IP1.

I have added B to /etc/hosts as A but I am running at least one issue that I know about where something is complaining that B is not found.

xymon: Func Can't find any minions matching B. (red)

Author:  mattbatt [ Sun Dec 06, 2015 9:18 pm ]
Post subject:  Re: LH8.3 server name/ip touch points

MythTV doesn't like the hostname to change.
Does this help at all?
https://www.mythtv.org/wiki/Database_Ba ... or_backend

Author:  bgrant3406 [ Mon Dec 07, 2015 8:44 am ]
Post subject:  Re: LH8.3 server name/ip touch points

For xymon ip addresses, on your master backend, take a look at:
Code:
/home/xymon/etc/hosts.cfg

it should look something like:
Code:
title primary server                                                                                                                           
127.0.0.1   mbe      # bbd func http://localhost/                                                                                             
                                                                                                                                               
title slave_backend                                                                                                                           
192.168.1.14            mediaroom_sbe #func                                                                                                   
192.168.1.15            gbr_sbe #func                                                                                                         
192.168.1.8             mbr_sbe #func             

where mbe is the actual name of your master backend, B in your example.

Author:  thekingofspain [ Thu Dec 10, 2015 12:55 am ]
Post subject:  Re: LH8.3 server name/ip touch points

mattbatt wrote:
MythTV doesn't like the hostname to change.
Does this help at all?
https://www.mythtv.org/wiki/Database_Ba ... or_backend


The restore actually gave my old name back, which was ok, since the old rig has being replace. Did not know about the change name script, but now I do. I think i would have changed the mysql tables directly is the tables where no correct.

Author:  thekingofspain [ Thu Dec 10, 2015 12:56 am ]
Post subject:  Re: LH8.3 server name/ip touch points

[quote="bgrant3406"]For xymon ip addresses, on your master backend, take a look at:
Code:
/home/xymon/etc/hosts.cfg


winner winner, chicken dinner :D

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/