Hi Paul
Hi All
Three questions:
1. Can anyone point me to an explanation of how the read only software is implemented for an OGN-R station? Specifically, I have a remote login approach which I use for OGN stations (reverse SSH tunneling) which I want to implement on OGN-R stations that I will be managing. How might I go about this?
There is a short document describing the procedure - its pretty simple, basically you need to toggle the disk between RO / RW
There is a script which I think (off the top of my head) is
$ sudo /root/mount_rw.bash
# you are now in RW mode
$ sudo /root/mount_ro.bash
# you are now back in RO mode
Additionally you should be aware, if you plan on installing packages etc, that the /etc and /var are RAM disks - so do not persist
The persistant data is held under
/etc_org
/var_org
The copy on write data is held under
/etc_rw
/var_rw
and of course the merged data is in the RAM disk under
/etc
/var
So if you make changes to either /etc /var, remember to save the changes into /etc_org /var_org
a simple double ended tar through a pipe is a good idea, eg (as root)
$ (cd /etc_rw; tar cvf - *) | (cd /etc_org; tar xvf -)
The neat thing about this disk, its very resiliant to powerouts because it is in a flushed RO state for nearly all the time.
2. When a new version of the OGN-R software is released, does the upgrade happen automatically, or is it manual?
Its _almost_ there, you will notice a script to automate the loading of the new data (which also toggles RW described above)
what is not yet setup is a cronjob to do this automatically
3. In the event of an upgrade, will the additions in (1) survive?
yes, if the procedure above has been followed - I use this all the time.
thx
Lee