PLC Backup station

From PlcWiki

(Difference between revisions)
Jump to: navigation, search
 
(4 intermediate revisions not shown)
Line 5: Line 5:
1) Install the station PC as a common station
1) Install the station PC as a common station
-
2) Modify a boot menu
+
2) Install package plc_backup_station
-
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.
+
yum install plc_backup_station
-
Here is an example of one choice:
+
Optional steps:
-
title <b>SOME LABEL</b>
+
-
        root (hd0,0)
+
-
        kernel /vmlinuz-2.6.36-5.fc15.i686 ro root=/dev/mapper/vg_plcplmbk1-lv_root <b>panic=203</b>
+
-
        initrd /initramfs-2.6.36-5.fc15.i686.img
+
-
        savedefault
+
-
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 the generated file back to the desired backup station.
+
-
3) Change a starting script
+
3) Update configuration file /etc/rc.d/plc.cfg.
-
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 [[media:Plc.conf.zip|this]] one.
+
NoSort - Don't sort the workplace IDs, leave them in the plan order instead
 +
 
 +
TimeOut - Workplace selection timeout in seconds, waits one year by default
 +
 
 +
RememberLastRole - Pre-select the last role in the workplace selection menu
 +
 
 +
4) Increase screen resolution. If you have some station on line with increased resolution, increase resolution of backup station too. To be able run this workplace on backup. To do it edit file /boot/grub/grub.conf. Find line starting by "kernel" and add parameter to end of this line " vga=<mode_number>". List of possible <mode_number> follows. Mode 771 seems to be a reasonable first-choice setting.
 +
 
 +
{| class="wikitable"
 +
|-
 +
!Color depth
 +
!640x480
 +
!800x600
 +
!1024x768
 +
!1280x1024
 +
|-
 +
| 256 (8bit)
 +
| 769
 +
| 771
 +
| 773
 +
| 775
 +
|-
 +
| 32000 (15bit)
 +
| 784
 +
| 787
 +
| 790
 +
| 793
 +
|-
 +
| 65000 (16bit)
 +
| 785
 +
| 788
 +
| 791
 +
| 794
 +
|-
 +
| 16.7 Mill.(24bit)
 +
| 786
 +
| 789
 +
| 792
 +
| 795
 +
|}

Current revision as of 09:36, 15 December 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) Install package plc_backup_station

yum install plc_backup_station

Optional steps:

3) Update configuration file /etc/rc.d/plc.cfg.

NoSort - Don't sort the workplace IDs, leave them in the plan order instead
TimeOut - Workplace selection timeout in seconds, waits one year by default
RememberLastRole - Pre-select the last role in the workplace selection menu

4) Increase screen resolution. If you have some station on line with increased resolution, increase resolution of backup station too. To be able run this workplace on backup. To do it edit file /boot/grub/grub.conf. Find line starting by "kernel" and add parameter to end of this line " vga=<mode_number>". List of possible <mode_number> follows. Mode 771 seems to be a reasonable first-choice setting.

Color depth 640x480 800x600 1024x768 1280x1024
256 (8bit) 769 771 773 775
32000 (15bit) 784 787 790 793
65000 (16bit) 785 788 791 794
16.7 Mill.(24bit) 786 789 792 795
Personal tools