Active IQ Unified Manager Discussions

7MODE: Need workflow to un-export IP from the export list

Ananthag
1,996 Views

Hi,

 

I would need a workflow to un-export IP (Single IP) from the NFS share export list.

 

WFA => Designer => Command Tab (Unexport IP command is not available)

 

Could you please provide the PowerShell script for IP un-export. So that I can add it to the command and create the workflow.

 

Thank you,

Anantha

1 REPLY 1

geringer
1,962 Views

Anantha,

 

     I do not have a script for this,  However, I think you should look at the following commandlets to do this.

Get-NaNfsExport

Add-NaNfsExport

Set-NaNfsExport

Remove-NaNfsExport

 

I think you will ned to get the rule for that path and then parse the IP's and creatre a new set of IPs.  You can then set the rule with the new IP's.  Pay attention to the -persistant flag if you want to update the /etc/exports file/

 

Mike

Public