Community maintenance is complete. Thank you for your patience!

Software Development Kit (SDK) and API Discussions

Fpolicy sample don't work properly

eric_zoglman

I use an fpolicy sample from Manage ONTAP SDK 1.6. Registration ( FP_Registration ) and binding pass without errors. On a simulator I create fpolicy. But filer calls not FP_ScreenRequest. Calls only FP_ServerStatus and FP_ShutdownCP. In what there can be a problem and how to receive calls FP_ScreenRequest?

The equipment:

NetApp Release 7.2

Red Hat Linux WS 4

VMWare Workstation

Manage ONTAP SDK 1.6

 

NetAppSim> fpolicy show default

File policy default (file screening) is enabled.

File screen servers P/S Connect time (dd:hh:mm) Reqs Fails
----------------------------------------------------------------------------
10.30.36.89 \\SPB9508 Pri 00:00:01 0 0

Operations monitored:
File open,File create,File rename,File close,File delete,File read,File write
Directory rename,Directory delete,Directory create
Above operations are monitored for CIFS only

List of extensions to screen:
???

List of extensions not to screen:
Extensions-not-to-screen list is empty.

Number of files screened: 0
Number of screen failures: 0

NetAppSim> cifs shares
Name Mount Point Description
---- ----------- -----------
ETC$ /etc Remote Administration
** priv access only **
HOME /vol/vol0/home Default Share
everyone / Full Control
C$ / Remote Administration
** priv access only **

 

For those volumes with which I work fpolicy are enabled:

 

fpolicy volume include show default
List of volume specifications to screen:
vol0

3 REPLIES 3

akiendl

In your exapmle the fpolicy server is connected since 1 second. Have you created, edited, closed a file before capturing the fpolicy output?

Fpolicy requests are only created when you do something on the files. For example open or rename a file over cifs.

Are you using plain ONTAP 7.2? Maybe you want to go to a later release like 7.2.5.1.

Regards,

ak.

eric_zoglman

It's illustration only. Really I keep connection by hours. Create, open, modify, close files.

In addition to ONTAP 7.2 I try ONTAP 7.2.4, 7.3.

But result don't change 😕

RAJNEESHFOX

HI Can you explain in detail how to check the fpolicy per share.

thanks

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public