[Dxspider-support] New check_build.pl

Stephen Carroll aa4u.steve at gmail.com
Wed Feb 1 14:33:57 GMT 2023


Brendan,

My mistake. Yes, I meant to say "restart DXSpider" not the Ubuntu OS. I'll
look through the wiki, thanks!


On Wed, Feb 1, 2023, 8:27 AM ei6iz.Brendan Minish via Dxspider-support <
dxspider-support at tobit.co.uk> wrote:

> Hi Steve
>
> Firstly the Ubuntu server should not need to reboot after cluster
> upgrades, generally you would only need to reboot the system after a kernel
> update & even then it can wait, the system will just keep on using the old
> kernel until reboot.
>
> DXspider, if installed as a system service and enabled should just restart
> (respawn)  if shutdown from within dxspider
>
> The steps involved on a modern ubuntu system are covered at the end of the
> installation notes I put up here
>
> https://wiki.dxcluster.org/index.php/Ubuntu_22.04
>
> If this isn't working for you I'd be keen to dig a little more as it
> probably means I have left out some things from the install guide!
>
>
>
>
>
>
> On Wed, 1 Feb 2023 at 14:13, Stephen Carroll via Dxspider-support <
> dxspider-support at tobit.co.uk> wrote:
>
>> Kin,
>>
>> Your check_build.pl is working fine, using the latest version. Great job!
>>
>> As a follow-on question from a newby linux (Ubuntu) guy, is there a way
>> to force my computer to reboot after the build update and the cluster shuts
>> down? Right now, the cluster shuts down and does nothing else.
>>
>> 73, Steve - AA4U
>>
>>
>> On Tue, Jan 31, 2023, 9:50 PM Kin via Dxspider-support <
>> dxspider-support at tobit.co.uk> wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> For those of you who have asked me for information:
>>>
>>>
>>>
>>> I have released version 1.0 of check_build.pl for the Mojo 1.57 branch.
>>>
>>>
>>>
>>> Added console messages.
>>>
>>> It is now possible to launch an automatic backup.
>>>
>>>
>>>
>>> If there is a new build, it will update and immediately restart the node.
>>>
>>> If there are no changes, the sysop is informed.
>>>
>>>
>>>
>>> To install it, copy the file to */spider/local_cmd*
>>>
>>> From *console.pl <http://console.pl>* run *load/cmd* the first time.
>>>
>>> The check_build command can be used like this:
>>>
>>>
>>>
>>>       *check_build Y*           With Backup
>>>
>>>       *check_build N*           Without Backup
>>>
>>>       *check_build*             Without Backup
>>>
>>>
>>>
>>> If you want to leave it automated, add in */spider/local_cmd/crontab*
>>>
>>> something like this:
>>>
>>>
>>>
>>>       *0 4 * * 1,2,3,4,5 run_cmd("check_build N")*
>>>
>>>
>>>
>>> It can be downloaded from:
>>>
>>>
>>>
>>> https://www.dropbox.com/s/6ttq5125qrzev67/check_build.pl?dl=0
>>>
>>>
>>>
>>> This utility is not intended to replace the current update procedure,
>>>
>>> it is intended for sysops who feel insecure about upgrading their
>>> cluster.
>>>
>>>
>>>
>>> Basically it does:
>>>
>>>
>>>
>>> *            git reset --hard*
>>>
>>> *            git pull*
>>>
>>> *            reinicio*
>>>
>>>
>>>
>>> and a full backup of the */home/spysop/spider* directory in
>>> */home/sysop/backup*,
>>>
>>> which will be overwritten each time check_build is run.
>>>
>>>
>>>
>>> 73 de Kin EA3CV
>>>
>>>
>>> _______________________________________________
>>> Dxspider-support mailing list
>>> Dxspider-support at tobit.co.uk
>>> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>>>
>> _______________________________________________
>> Dxspider-support mailing list
>> Dxspider-support at tobit.co.uk
>> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>>
>
>
> --
> 73
> Brendan EI6IZ
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20230201/0fa56bb5/attachment-0001.htm>


More information about the Dxspider-support mailing list