[Voyage-linux] Using a 'standard' voyage image on many remote boxes
Kim-man "Punky" TSE
(spam-protected)
Wed Mar 22 15:41:45 HKT 2006
Hi Beat, Rasjid and all,
I would love to hear the idea and possibile enhancement for voyage linux
in managing upgrade. Multiple partition sounds one possibility. I have
no problem to incorporate any good idea in voyage. Please discuss here,
if you have any good insight.
Rasjid, feel free to update the wiki.
- Punky
Beat Meier wrote:
> Rasjid Wilcox wrote:
>
>
>> Hi.
>>
>> I have been testing Voyage Linux on a WRAP box, and am very pleased
>> with the results.
>>
>> In the medium term there will be around 40 boxes in the field, and in
>> general they will only be accessible remotely. The number could grow
>> to 80 or more over time.
>>
>> I am trying to think of ways that one could have a 'standard' image
>> that can be easily applied to all boxes, and updated remotely.
>>
>> My thoughts so far are as follow:
>> a) partition the CF into 3 partitions. Voyage is in the first
>> partition, the second partition is a config partition (2MB size say),
>> and the third is a small (32MB or less) 'upgrade' partition that
>> contains a smaller version of Linux (possibly a cut down version of
>> Voyage, or perhaps LEAF Bering uClibc).
>> b) to perform a remote 'reflash' of voyage, tell lilo to boot to the
>> 3rd partition, reboot, log in again remotely and upload and rewrite
>> the first (voyage) partition, rerun lilo and reboot to voyage
>>
>> I have not tested any of this yet.
>>
>>
> That's almost the way I do ...
> I have 3 partitions too but 1. ist production system
> 2. is log partition
> 3. is backup partition which I do an upgrade from the first partition
>
> Then I reboot to this partition with lilo
> lilo -R <ImageName>
> reboot
> (of course this image but be a valid entry on the first partition in
> lilo.conf)
>
> I everything works you can activate the second one as default or upgrade
> first partition.
> If something goes wrong power on/off and you have your good old system
> back...
>
> Greetings
>
> Beat
>
>
>> Is there another way of achieving my goal? Is the approach above
>> doomed to failure?
>>
>> If anyone has any thoughts I'd love to hear about them. Otherwise,
>> I'll report my success or failure.
>>
>> Cheers,
>>
>> Rasjid.
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>>
>
>
--
Regards,
Punky
P U N K N ! X . c o m
Technology + Lifestyle
(http://www.punknix.com)
Voyage Linux
(http://www.voyage.hk/software/voyage.html)
More information about the Voyage-linux
mailing list