[mythtv-users] Switching from Frontend/backend to frontend only temporarily

Hika van den Hoven hikavdh at gmail.com
Sun Nov 19 13:17:20 UTC 2017


Hoi Jim,

Sunday, November 19, 2017, 12:24:04 PM, you wrote:



> On 11/19/2017 05:55 AM, Mike Bibbings wrote:
>> On 18/11/17 22:51, Jim Abernathy wrote:
>>> So if I build a small miniITX system that is a combined 
>>> Frontend/Backend/HDHR tuner to use went I’m in my RV, can I easily 
>>> switch it back to a frontend only when I’m back home and just need 
>>> the frontend functions using my main backend at home?
>>>
>>> What I think I need to do is:
>>>
>>> 1. turn off backend so it’s not automatically running at boot. Maybe 
>>> use MCC to select FE only in the roles section?
>>> 2. Change FE IP address for Home BE and password?
>>>
>>> Anything else??
>>>
>>> Jim A
>>>
>>>
>> No need to do anything with MCC and I  suggest you don't, changing 
>> roles is likely to break things!
>>
>> Assuming you are using Ubuntu based distribution with systemd e.g. 
>> mythbuntu 16.04 you can control mythbackend startup as follows:
>>
>> 1. To stop mythbackend running at boot
>>
>> sudo systemctl stop mythtv-backend
>> sudo systemctl disable mythtv-backend
>>
>> 2. To enable mythbackend at boot
>>
>> sudo systemctl enable mythtv-backend
>> sudo systemctl start mythtv-backend
>>
>> Note: systemctl automatically looks for the .service extension, so no 
>> need to type it.
>>
>> You can check if mythbackend is running using either:
>>
>> ps -A | grep mythbackend
>>
>> or systemctl status mythtv-backend
>>
>>
>> You will need to adjust the ~/.mythtv.config.xml file to suit each of 
>> your backends
>>
>> What I do is setup two config.xml files :
>> one named local-config.xml, the other named remote-config.xml (each 
>> with appropriate contents) and overwrite config.xml with whichever one 
>> I want to use in ~/.mythtv/
>>
>> e.g. change to directory cd ~/.mythtv
>> cp local-config.xml config.xml
>>
>>
>> Mike
>>

> Thanks, this is excellent info.  I do have 16.04 so your instructions 
> are exactly what I need.

> Jim A

Do not forget to start/stop mysql together with mythbackend. Stopping
when home is not absolutely needed, but it prevents you from using the
wrong one.


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list