IBM® Carrier Grade Server X3650 T
Revision 3.0
45
12. SysCon Services
12.1 SysCon Service for Linux Features
12.1.1
SysCon Install tool
A Linux
syscon_format
utility is provided to partition and format a USB storage device and to install the
SysCon runtime environment either as a SysCon Device or SysCon Key. The SysCon runtime
environment includes the configuration, policy, and vendor data. The resulting SysCon device can be
accessed from EFI and Windows as well as Linux. A device with at least 64 MB is recommended.
12.1.2
Auto-mounting and Monitoring of the SysCon Device
When the SysCon service is installed and enabled, the SysCon Device is automatically mounted during
system startup. The SysCon daemon checks the status of the SysCon device every 10 seconds. If the
device is not detected, or if the device is not mounted and a remount fails, the default SysCon policy is for
a major error to be reported to all logging and notification services, and the system to be shut down. Note
that logging, notification, and default actions can be modified through SysCon policies.
12.1.3
Auto-mounting and Monitoring of SysCon Keys
A SysCon Key is a removable USB storage device that is formatted just like the SysCon Device. The
main purpose of the Key is to copy a SysCon configuration from the SysCon Device of one system and
use this to replicate the configuration on other systems. The USB hot plug feature in Linux is configured
so that a SysCon Key is automatically mounted (if the SysCon Key feature is enabled) after the device is
inserted. Like the SysCon device, after a Key is mounted, the SysCon daemon service checks the status
of the SysCon Key every 10 seconds. Unlike the SysCon Device, if a Key is present but becomes
unmounted, a umount message is reported to the SysCon log and the device is removed from the
daemon’s checklist (see 12.1.2 for details on the default actions associated with the SysCon Device).
Note that logging, notification, and default actions can be modified through SysCon policies.
12.1.4
Linux Hot-plug USB Support and SysCon Hot-plug Plugin
Before the Linux init scripts are executed, the kernel detects all connected USB devices and performs the
same actions as those executed when a USB device is hot-plugged. If the USB device is a storage
device (disk-on-key, floppy, or hard disk), the device is temporarily mounted to determine if it is a SysCon
formatted device, and if so whether it is a SysCon Device or a SysCon Key based on the physical
address of the USB device or the device’s product ID. The SysCon device addresses and/or product
Device ID are defined in the vendor XML file for the system.
The SysCon Device will always be mounted at /etc/sysconfig/syscon and all removable key devices will
be mounted at /etc/sysconfig/syscon2 to /etc/sysconfig/sysconN where N is a number from two to 99.
Devices that appear at addresses not defined in the vendor XML file for a particular system will then be
mounted at locations /etc/sysconfig/syscon100 to /etc/sysconfig/sysconN where N is greater than 100. A
SysCon script (through the use of
syscon_log_write –a
and
–m
) locks and updates the
syscontab
file with all device mounts and their unique serial number and vendor ID.
12.1.5
SysCon Daemon (syscond)
The syscond daemon is started at system startup. All syscon log events are created by the daemon or
passed to the daemon with the syscon_log_write utility. At startup, the XML policies are parsed to create
the /etc/syscon.conf file, which in turn is read by the daemon to determine all configuration parameters
Содержание Carrier Grade X3650 T
Страница 1: ...IBM Carrier Grade Server X3650 T SysCon User s Guide Order Number D23731 003 Revision 3 0 March 2006...
Страница 8: ...IBM Carrier Grade Server X3650 T Revision 3 0 viii This page intentionally left blank...
Страница 12: ...IBM Carrier Grade Server X3650 T Revision 3 0 4...
Страница 15: ...IBM Carrier Grade Server X3650 T Revision 3 0 7...
Страница 17: ...IBM Carrier Grade Server X3650 T Revision 3 0 9...
Страница 25: ...IBM Carrier Grade Server X3650 T Revision 3 0 17...
Страница 43: ...IBM Carrier Grade Server X3650 T Revision 3 0 35...