Using the Targets workspace
The Targets workspace is used to view target groups, run ad-hoc jobs or commands, and
create and delete target groups. You can also quickly modify and manage multiple target
groups.
Going forward,
Automation Config
is no longer included in the Aria
Automation suite of products. The new name of this product is VMware Tanzu Salt and this
product is available as part of the VMware Tanzu Platform suite of products. See Using and Managing
Tanzu Salt for more information.A target is the group of minions that a job's
Salt command applies to. A Salt master can also be managed like a minion and can be a
target if it is running the minion service. Defining a target for a job or operation
also prevents the operation from running on nodes that should not run that operation.
The
Targets
workspace
is also used to: - Edit target criteria
- 連結 Pillar
- 執行工作
- 為 Pillar 和目標指派角色
By default, when you open the workspace, you
see all of the target groups you have permission to access.

When you select a target group, you see a
list of minions that belong to that target group. Minions are nodes running the minion
service, which can listen to commands from a Salt master and perform the requested
tasks.

You can view a minion's details by selecting
the
Minion ID
. In the minion details page, you can view a list of
grains or information about the minion, such as the Salt version, operating system, or
associated target groups.如需建立和管理目標群組的相關資訊,請參閱〈如何建立目標〉。
Ad-hoc jobs or commands
Each target group page includes a
Run Command
control that allows you to run a single,
ad-hoc command on one or more minions without creating a reusable job. This feature
is useful for executing commands quickly or for running one-off jobs that are not
part of your everyday workflow.You can run an ad-hoc job or command
on:
- A single minion
- One or more minions
- A Salt master or all Salt masters (using salt-run)
部屬節點目前狀態
[目前狀態] 資料行表明
Automation Config
是否在定義的間隔 (稱為 raas_presence_expiration
) 內近期從部屬節點接收了任何工作資料。依預設,此間隔會設為 3600 秒。透過部屬節點上安裝的 [目前狀態] 指標,目前狀態可以反映機器健全狀況。如果 [目前狀態] 指標已到位,部屬節點會將定期狀態裝載傳送至其 Salt 主節點,接著
Automation Config
進行擷取,這會影響 [目前狀態] 資料行中顯示的狀態。Automation Config
提供下列目前狀態。狀態 | 說明 |
---|---|
未知 | Automation Config 從未看到來自部屬節點的回應。這是新連線之部屬節點的預設狀態。部屬節點收到命令後,狀態即會更新為 [存在]。 |
存在 | Automation Config 在上次 raas_presence_expiration 間隔 (預設設定為 3600 秒) 內看到了來自部屬節點的回應。 |
已中斷連線 | Automation Config 看到了來自部屬節點的回應,但不在上次 raas_presence_expiration 間隔內。 |