Skip to main content
A newer release of this product is available.

vserver fpolicy engine-connect

Contributors
Suggest changes

Establish a connection to FPolicy server

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver fpolicy engine-connect command connects an FPolicy server to a specified node. Connecting the FPolicy server to a node enables FPolicy processing, providing the FPolicy configuration is complete. Before connecting an FPolicy server to a node, you must configure FPolicy by completing the following tasks:

  • Create an FPolicy event

  • Create an FPolicy external engine

  • Create an FPolicy policy

  • Create a scope for the FPolicy policy

Note The FPolicy event and external engine must be attached to the FPolicy policy.
Note The FPolicy policy should be enabled.

Parameters

-node {<nodename>|local} - Node

This parameter specifies the node that you want to connect to the FPolicy server. The value local specifies the current node.

-vserver <Vserver Name> - Vserver

This parameter specifies the Vserver that you want to connect to the specified FPolicy server using the specified FPolicy policy.

-policy-name <Policy name> - Policy

This parameter specifies the name of the FPolicy policy that is attached to an external engine.

-server <IP Address> - Server

This parameter specifies the FPolicy server to which you want to connect the node. The specified server must be present in the external engine configuration of the above specified policy.

Examples

The following example connects an FPolicy server.

cluster1::> vserver fpolicy engine-connect -node FPolicy-01 -vserver vs1.example.com -policy-name p -server 1.1.1.1
cluster1::> vserver fpolicy show
  FPolicy                                                       Server-       Server-
  Vserver         Policy        Node          Server            status        type
  --------------- ------------- ------------ ----------------- -------------- -----------
  vs1.example.com p             FPolicy-01   1.1.1.1           connected      primary