R0106-HP MSR Router Series High Availability Configuration Guide(V7)

97
The main and auxiliary CPUs on an MPU, if any, are equal for process placement. You can place
an active process either on a main CPU or an auxiliary CPU. You can view the final result by using
the placement reoptimize command.
Process placement configuration task list
Tasks at a
g
lance
Configuring process placement policy:
(Optional.) Configuring a location affinity
(Optional.) Configuring a location type affinity
(Optional.) Configuring a process affinity
(Optional.) Configuring a self affinity
(Required.) Optimizing process placement
Configuring process placement policy
Configuring a location affinity
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter placement process view.
Enter default placement process view:
placement program default
Enter placement process view:
placement program { program-name
[ instance instance-name ]
Settings in default
placement process view
take effect for all
processes. Settings in
placement process view
take effect for the specified
process only.
3. Set the location affinity.
affinity location-set { slot slot-number [ cpu
cpu-number ] }&<1-5> { attract strength |
default | none | repulse strength }
By default, no location
affinity is set.
Configuring a location type affinity
The following location types are available:
current—Current location of the active process, which can be displayed with the display placement
program command.
paired—Locations of standby processes.
primary—Active MPU.
To configure a location type affinity:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A