Configuration to modify host scavenging using the CLI

Modify host scavenging in the following ways:
  • Configuration to define thresholds

  • Configuration to define process lists

  • Configuration to disable host scavenging

  • Configuration to disable the grace period

  • Configuration to change process priority

Configuration to define thresholds

Command

Example

Behavior

egosh ego elimrestart SA on, uit_t,cu_t,cit_t host_name ..

egosh ego elimrestart SA on,2,0.3,1.67 host1

Changes the threshold values for host1 to

  • User idle time threshold of 2 minutes (For server scavenging, user idle time (uit_t) must be set to 0.)

  • Adjusted CPU utilization threshold of 30%

  • CPU idle time threshold of 1.67 minutes (or 100 seconds)

You can modify the default threshold values that determine when EGO opens and closes the scavenged host.

Configuration to define process lists

Command

Example

Behavior

egosh ego elimrestart SA on -p exempt_processes host_name ...

egosh ego elimrestart SA on -p cmd.exe host1

The scavenging agent monitors the processes running on the host. If a process that is defined as an exempt process is running, the scavenging agent excludes its CPU utilization from its total CPU utilization calculation.

egosh ego elimrestart SA on -c close_processes host_name ...

egosh ego elimrestart SA on -c cmd.exe host1

The scavenging agent monitors the processes running on the host. If a process that is defined as a close process is running, EGO automatically closes the hosts. The host remains closed as long as the defined process is running.

Configuration to disable host scavenging

Command

Example

Behavior

egosh ego elimrestart SA off host_name ...

egosh ego elimrestart SA off host1

The scavenging agent continues to monitor the scavenge-ready hosts but EGO no longer opens or closes them according to the thresholds set.

Until you delete the scavenge resource group, work can continue to run on these hosts.

Note:

Use the keyword all to disable scavenging on all hosts running it at once. Otherwise, the command is for the specified hosts only or if no hosts are specified, only for the local host.

Delete the scavenge resource group and the scavenge consumer.

N/A

Once you delete the scavenge resource group and the scavenge consumer, as long as the hosts do not belong to any other resource groups, work is no longer allocated to those hosts.

Configuration to disable grace period

Command

Example

Behavior

egosh ego elimrestart SA fastrelease host_name ...

egosh ego elimrestart SA fastrelease host1

When a predefined threshold is reached, EGO closes the host and terminates running workload without a grace period.