How to Remove the DataInsightFpolicy and DataInsightFpolicyCMod Services

book

Article ID: 100038762

calendar_today

Updated On:

Description

Description

This article discusses how to manually un-configure the DataInsightFpolicy and DataInsightFpolicyCMod services from a Data Insight worker node.

In some cases, the following warnings may be presented in the Data Insight console while viewing the health of a Data Insight server:

DataInsightFpolicy appears to be down
DataInsightFpolicyCMOD appears to be down


This error can occur if these services are partially configured/installed on a server.

If the problem server is no longer a collector for NetApp filers (7-Mode or CMOD), then the steps below can be used to remove these services.

Steps:

1. From the Data Insight node where the service are to be removed (e.g. Collector node) open a command prompt with elevated permissions (Run as administrator).

2. Stop the service (DataInsightFpolicy or DataInsightFpolicyCMod).

net stop

Example:

net stop DataInsightFpolicy

net stop DataInsightFpolicyCMod


3. Delete the service:

sc delete
 
Example:

sc delete DataInsightFpolicy

sc delete DataInsightFpolicyCMod


4. From the Management Server, open a command prompt with elevated permissions (Run as administrator) and navigate to \Program Files\DataInsight\bin.
 

5. Run the following command to remove the service from monitoring by Data Insight

Syntax:
> sqlite3.exe \console\stat\node_health.3.1.db "delete from signals where node_id = and object = ''";

Example:

cd C:\Program Files\DataInsight\bin

> sqlite3.exe E:\DataInsight\data\console\stat\node_health.3.1.db "delete from signals where node_id = 3 and object = 'DataInsightFpolicy'";

> sqlite3.exe E:\DataInsight\data\console\stat\node_health.3.1.db "delete from signals where node_id = 3 and object = 'DataInsightFpolicyCMod'";

Note: Run the following command in the elevated command prompt to retrieve the Node_ID for the worker node.

> configdb.exe -p -T node

6. In the Data Insight console, navigate to Settings - Inventory - Data Insight Servers.

7. Select the Worker Node where the service was deleted and then navigate to the Advanced Settings tab.

8. Select the Set custom properties setting.

9. Add a new Custom Property as follows and Save.

Property Name: fpolicyd.enabled

Property Value: false

 

Property Name: fpolicycmod.enabled

Property Value: false

10. Allow a couple of minutes for the Custom Property to propagate to the Worker Node, then reboot the node

Issue/Introduction

How to Remove the DataInsightFpolicy and DataInsightFpolicyCMod Services