vserver vscan scanner-pool apply-policy
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
Apply scanner-policy to a scanner pool
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The vserver vscan scanner-pool apply-policy
command applies a scanner policy to the specified scanner pool on a specified Vserver.
Parameters
-vserver <vserver name>
- Vserver-
This parameter specifies the name of the Vserver on which you want to apply the scanner policy. The Vserver administrator can apply the scanner policy to a scanner pool created within the scope of the Vserver or the cluster. The cluster administrator can apply the scanner policy to a scanner pool for any Vserver but cannot apply it within the scope of cluster. The scope is determined at a Vserver level.
-scanner-pool <Scanner pool>
- Scanner Pool-
This parameter specifies the name of the scanner pool.
-scanner-policy <Scanner policy>
- Scanner Policy-
This parameter specifies the scanner policy that you want to apply to the specified scanner pool on a Vserver. Currently only system policies are available. Available system policies are:
-
primary
- Makes it active always. -
secondary
- Makes it active only when none of the primary external virus-scanning servers are connected. -
idle
- Makes it inactive always.
-
[-cluster <Cluster name>]
- Cluster on Which Policy Is Applied-
This parameter specifies the name of the cluster on which you want to apply the scanner policy of a scanner pool. By default, it is applied on the local cluster. This parameter does not have any significance if the cluster is not in a DR relationship.
Examples
The following command applies a scanner policy to the specified scanner pool on a specified Vserver.
cluster1::> vserver vscan scanner-pool apply-policy -vserver vs1 -scanner-pool p1 -scanner-policy primary -cluster cluster2 cluster1::> vserver vscan scanner-pool show -vserver vs1 -scanner-pool p1 Vserver: vs1 Scanner Pool: p1 Applied Policy: primary Current Status: on Cluster on Which Policy Is Applied: cluster2 Scanner Pool Config Owner: vserver List of IPs of Allowed Vscan Servers: 1.1.1.1, 2.2.2.2 List of Privileged Users: cifs\u1, cifs\u2