PLC Backup station

From PlcWiki

Revision as of 14:10, 10 February 2011 by Jan (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Backup station is universal station which can be used as temporary replacement of any station in line. So that this station should be hardware universal too.

To configure PLC backup station follow these steps:

1) Install station as common station

2) Modify boot menu

Modify of /boot/grub/grub.conf file is needed. Each choice must include parameter specify station, it includes last number from IP address.

Here is an example of one choice:

title SOME LABEL
       root (hd0,0)
       kernel /vmlinuz-2.6.36-5.fc15.i686 ro root=/dev/mapper/vg_plcplmbk1-lv_root panic=203
       initrd /initramfs-2.6.36-5.fc15.i686.img
       savedefault

It is possible to use script plc_backup_bootmenu_gen to generate boot menu. Before you use this script, copy original grob.conf from desired backup station to kernel directory $PLC_EtcDir/workstations/backup_pc/grub.conf.master. Generated configuration file you can find in $PLC_EtcDir/workstations/backup_pc/grub.conf. Copy generated file back to desired backup station.

3) Change starting script

Copy this Media:PlcRestore.cfg.zip script to /etc/rc.d directory. Replace init script in /etc/init/plc.conf (Fedora Core 14) by this one.

Personal tools