Skip to main content

7.6 Configuring Memory Mirroring


7.6 Configuring Memory Mirroring
This section describes how to configure memory mirroring.
Note - Configuring memory mirroring is optional.
Note - To configure memory mirroring, you need the building block (BB) of the target SPARC M12-2S not to be incorporated into a physical partition, or you need to power off the incorporated physical partition.
The SPARC M12-2S supports memory mirroring configuration to protect data through memory duplication. Data reliability increases, but the amount of available memory is halved.

The memory access controller controls writing of data to memory and reading of data from memory. The SPARC M12-2S configures the mirroring by grouping the memory controlled by two memory access controllers into a set.
Note - The memory grouped together in a mirroring group must all have the same capacity and be the same rank.
  1. Execute the showfru command to check memory mirror mode.
    Memory mirror mode is not set in the factory default settings.
XSCF> showfru -a
Device  Location  Memory Mirror Mode
sb      00-0
  cpu   00-0-0    no
  cpu   00-0-2    no
  1. Execute the setupfru command, and set memory mirror mode to configure mirroring.
XSCF> setupfru [[-q] -{y|n}] -c function=mode device location
  1. To configure memory mirroring, specify -c mirror=yes.
    For device, specify the devices making up the mirroring configuration. To configure memory mirroring for all the CPUs mounted in the specified BB, specify sb. To configure it only for the specified CPU, specify cpu.
  1. For location, specify the location of the target device.
    To specify sb, use the PSB number format (xx-0). For xx, specify the BB-ID.
    To specify cpu, use the xx-0-z format. For xx, specify the BB-ID. For z, specify 0 or 2 as the CPU chip number.
  1. The following example sets all the CPUs mounted on PSB 00-0 to memory mirror mode.
XSCF> setupfru -c mirror=yes sb 00-0

Notice:
- Logical domain config_name will be set to "factory-default".


Memory mirror mode setting will be changed, Continue? [y|n] :y
 
  1. Execute the showfru command to check the set memory mirror mode.
XSCF> showfru -a
Device  Location  Memory Mirror Mode
sb      00-0
  cpu   00-0-0    yes
  cpu   00-0-2    yes