User guide

Configuration Management System Management
1-11
iMG/RG Software Reference Manual (System Configuration)
Figure 1-3 details the backup process executed when a configuration file is created and set as bootstrap config-
uration.
FIGURE 1-3 Configuration files backup process - example
At the bootstrap phase the gateway activates the configuration stored in the active configuration partition,
based on the higher value stored in the “version” file available on both the two configuration partitions.
In Figure 1-3, when the configuration file “boot2” is generated via the system config create command
(phase A), the backup process first copies the content of the active configuration partition to the current
backup configuration partition. It then updates the backup configuration partition with the new configuration file
“boot2” and increments the content of file version in the backup configuration partition to be one value higher
than the active configuration partition.
At this point, if the gateway restarts the role of the two partitions is swapped. The second partition will be the
active configuration partition while the other will be the backup.
Note also that if during the system config create command the gateway restarts or power-cycles, only
the backup configuration partition (the second in the example) will be corrupted, leaving the first configuration
partition responsible for configuring the gateway.
im.conf, cm.boot,
version (10)
im.conf, cm.boot,
version (9)
1st Configuration Partition
(256 KByte)
(active)
2nd Configuration Partition
(256 KByte)
(back-up)
> system config create boot2
Phase A
Phase A
im.conf, cm.boot,
version (10)
im.conf, cm.boot,
cm.boot2 version (11)
1st Configuration Partition
(256 KByte)
(back-up)
2nd Configuration Partition
(256 KByte)
(active)
> system config create boot2
Phase B
Phase B
im.conf, cm.boot,
cm.boot2 version (12)
im.conf, cm.boot,
cm.boot2 version (11)
1st Configuration Partition
(256 KByte)
(active)
2nd Configuration Partition
(256 KByte)
(back-up)