Cisco ASR 14000 Series Management Command Reference page 500

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

affinity self
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
affinity self
To set the affinity of a placeable program (process) to or from one of its own instances, use the affinity
self command in placement program configuration mode. To remove the affinity self setting, use the no
form of this command.
Syntax Description
attract
repulse
strength
default
none
Defaults
The affinity self default is initially set in system placement files.
Command Modes
Placement program configuration
Command History
Release
Release 3.7.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
The affinity self command is used to adjust placement decisions when multiple instances of a process
are started. An attract (positive) affinity indicates a preference to have all instances of a process run on
the same node, while a repulse (negative) affinity indicates a preference to have each instance of a
process run on different nodes.
Typically, you would want to monitor how a process on your system best performs, and whether
instances of the same class should be collocated or not.
Task ID
Task ID
sysmgr
Examples
The following example shows how to configure BGP speakers to run on different nodes:
RP/0/RP0/CPU0:router(config)# placement program bgp
RP/0/RP0/CPU0:router(config-place)# affinity self repulse 200
Cisco ASR 14000 Series Router System Management Command Reference
SMR-498
affinity self {attract strength | repulse strength | default | none}
no affinity self {attract strength | repulse strength | default | none}
Modification
This command was introduced on the Cisco ASR 14000 Series Router.
Operations
read, write
Process and Memory Management Commands on Cisco IOS XR Software
Specifies a positive affinity.
Specifies a negative affinity.
A positive or negative strength. The range is from 1 to 100000
points.
Sets the affinity value to the default.
Sets the affinity value to zero points.
OL-17231-01

Advertisement

Table of Contents
loading

Table of Contents