PLC Backup station

From PlcWiki

(Difference between revisions)
Jump to: navigation, search
m
Line 20: Line 20:
3) Change a starting script
3) Change a starting script
-
Copy this [[Media:PlcRestore.cfg.zip]] script to /etc/rc.d directory. Replace an init script in /etc/init/plc.conf (Fedora Core 14) by this one.
+
Copy [[media:PlcRestore.cfg.zip|this]] script to /etc/rc.d directory. Replace an init script in /etc/init/plc.conf (Fedora Core 14) by this one.

Revision as of 08:30, 18 February 2011

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

To configure PLC backup station follow these steps:

1) Install the station PC as a common station

2) Modify a boot menu

Modify of /boot/grub/grub.conf file is needed. Each choice (workstation) must include a parameter specific for the 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 a script plc_backup_bootmenu_gen to generate the boot menu. Before you use this script, copy the original grub.conf from a desired backup station to a kernel directory $PLC_EtcDir/workstations/backup_pc/grub.conf.master. You can find the generated configuration file in $PLC_EtcDir/workstations/backup_pc/grub.conf. Copy the generated file back to the desired backup station.

3) Change a starting script

Copy this script to /etc/rc.d directory. Replace an init script in /etc/init/plc.conf (Fedora Core 14) by this one.

Personal tools