Replace a file server:
Suppose one of the disc arrays on group 0
fails. One quick fix is to replace it with the corresponding
fileserver from group 1 (actually you could use any of the file
servers in group1). The sequence and things to worry about are:
- You probably won't be able to use group 1 so
commensal observing with the mocks is not allowed.
- login as root to pdevs1
- cd /usr/local/pdev/etc
- edit boxes.conf.templ.
- suppose we are to replace fileserver pdevs6
with pdevs13 of group 1
- before:
- b5s0g0 pdev-112
5
0 0
gxa pdevs6.pdev.naic.edu
- b5s1g0 pdev-112
5
1 1
gxa pdevs6.pdev.naic.edu
- b5s0g1 pdev-117
5
0 0
gxa pdevs13.pdev.naic.edu
- b5s1g1 pdev-117
5
1 1
gxa pdevs13.pdev.naic.edu
- after:
- b5s0g0 pdev-112
5
0 0
gxa pdevs13.pdev.naic.edu
- b5s1g0 pdev-112
5
1 1
gxa pdevs13.pdev.naic.edu
- b5s0g1 pdev-117
5
0 0
gxa pdevs6.pdev.naic.edu
- b5s1g1 pdev-117
5
1 1
gxa pdevs6.pdev.naic.edu
- switch the Ethernet cables between the two spectrometer
boxes.
- Normally group 0 spectrometer boxes go to 1 switch and
group 1 spectrometer boxes go to another switch
- Each of these switches then have the corresponding
fileservers plugged into them
- There is also a crossover cable that connects the 2
switches, so switching the Ethernet cables between the
two spectrometer boxes is not required. But it is always
better for high data rate to have the spectrometer box
and file server plugged into the same switch,.
- before unplugging the Ethernet cables at the
spectrometer boxes, label them so you will remember that
when the "temporary" fix is no longer required (say you
fixed the disc array), then you'll remember to put the
cable back in the correct order.