placement reoptimize

Use placement reoptimize to apply configured process placement policies for optimizing process placement.

Syntax

placement reoptimize

Views

System view

Predefined user roles

network-admin

Usage guidelines

After you issue this command, the system bases its placement decisions on the new process placement policies, hardware resources, and locations and states of active processes. If the new location for an active process is different from its current location, the system changes its state to standby and the state of the standby process on the new location to active. This active/standby switchover does not interrupt running services because no process is restarted.

As a best practice to keep the system stable, do not perform any operation that requires process restart when you execute this command.

Examples

# Reoptimize process placement.

<Sysname> system-view
[Sysname] placement reoptimize
Predicted changes to the placement
Program                           Current location       New location
---------------------------------------------------------------------
syslog                            1/0                    1/0
l3vpn                             1/0                    1/0
aaa                               1/0                    1/0
lauth                             1/0                    1/0
lsm                               1/0                    1/0
ip6addr                           1/0                    1/0
ip6base                           1/0                    1/0
rm                                1/0                    1/0
ipcfg                             1/0                    1/0
acl                               1/0                    1/0
tunnel                            1/0                    1/0
lagg                              1/0                    1/0
qos                               1/0                    1/0
ipcim                             1/0                    1/0
ipbase                            1/0                    1/0
eth                               1/0                    1/0
ipen                              1/0                    1/0
Continue? [y/n]:y
Re-optimization of the placement start. You will be notified on completion
Re-optimization of the placement complete. Use 'display placement' to view the new placement