NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Active IQ Unified Manager Discussions

WFA- Volume efficiency query

CAPATEL_NET1984
3,737 Views

I am able to find a command to apply volume efficiecy policy to a particular volume in C mode. is there a query someone have so I can list all efficiecy policy for a cluster?

 

1 ACCEPTED SOLUTION

MattInCO
3,644 Views

Would something like this do what you want?

 

SELECT
efficiency_policy.name as name,
vserver.name as "vserver.name",
cluster.primary_address AS 'vserver.cluster.primary_address'
FROM
cm_storage.cluster,
cm_storage.vserver,
cm_storage.efficiency_policy
WHERE
efficiency_policy.vserver_id = vserver.id
AND vserver.cluster_id = cluster.id
AND cluster.name = '${cluster}'
ORDER BY
efficiency_policy.name,
vserver.name,
cluster.primary_address

 

View solution in original post

2 REPLIES 2

geringer
3,712 Views

The Efficiency policies are in the WFA cach db.  Look at cm_storage.Efficiency_Policy

MattInCO
3,645 Views

Would something like this do what you want?

 

SELECT
efficiency_policy.name as name,
vserver.name as "vserver.name",
cluster.primary_address AS 'vserver.cluster.primary_address'
FROM
cm_storage.cluster,
cm_storage.vserver,
cm_storage.efficiency_policy
WHERE
efficiency_policy.vserver_id = vserver.id
AND vserver.cluster_id = cluster.id
AND cluster.name = '${cluster}'
ORDER BY
efficiency_policy.name,
vserver.name,
cluster.primary_address

 

Public