PLC Backup station

From PlcWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with '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 ba…')
m
Line 1: Line 1:
-
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.
+
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:
To configure PLC backup station follow these steps:
-
1) Install station as common station
+
1) Install the station PC as a common station
-
2) Modify boot menu
+
2) Modify a 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.
+
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:
Here is an example of one choice:
Line 15: Line 15:
         initrd /initramfs-2.6.36-5.fc15.i686.img
         initrd /initramfs-2.6.36-5.fc15.i686.img
         savedefault
         savedefault
-
It is possible to use script <i>plc_backup_bootmenu_gen</i> to generate boot menu. Before you use this script, copy original <i>grob.conf</i> from desired backup station to kernel directory <i>$PLC_EtcDir/workstations/backup_pc/grub.conf.master</i>. Generated configuration file you can find in <i>$PLC_EtcDir/workstations/backup_pc/grub.conf</i>.
+
It is possible to use a script <i>plc_backup_bootmenu_gen</i> to generate the boot menu. Before you use this script, copy the original <i>grub.conf</i> from a desired backup station to a kernel directory <i>$PLC_EtcDir/workstations/backup_pc/grub.conf.master</i>. You can find the generated configuration file in <i>$PLC_EtcDir/workstations/backup_pc/grub.conf</i>.
-
Copy generated file back to desired backup station.
+
Copy the generated file back to the desired backup station.
-
3) Change starting script
+
3) Change a 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.
+
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.

Revision as of 22:06, 15 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 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.

Personal tools