Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With work flow automation, how to create a work flow to enable and disable vscan as there are no built in commands to create a work flow
commands i manually use(by logging in to CDOT) to enable/disable
vserver vscan enable <vservername>
vserver vscan disable <vservername>
If i have to create separate command, what parameters/objects should be taken in to consideration to create it.
should it be in perl or powershell
Solved! See The Solution
1 ACCEPTED SOLUTION
Nishith has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In terms of actually enabling and disabling Vscan for a particular SVM, that's pretty much all the code you need (aside from connecting to the controller with the Connect-NcController cmdlet, that is). As to how you create a workflow within WFA, this link that describes the process is worth a read:
5 REPLIES 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Very simple with PowerShell after connecting to your cluster with Connect-NcController:
Enable-NcVscan -VserverContext <SVM name>
Disable-NcVscan -VserverContext <SVM name>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much for the information!!
i am new to power shell, if you have some code related to this can you please send it to me
Nishith has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In terms of actually enabling and disabling Vscan for a particular SVM, that's pretty much all the code you need (aside from connecting to the controller with the Connect-NcController cmdlet, that is). As to how you create a workflow within WFA, this link that describes the process is worth a read:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much for the information.
it helped me a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In perl after connecting to the cluster ,vserver using wfautil, To enable shall i use like below mentioned one
my ( $wfa_util, $server);
$wfa_util = WFAUtil->new();
$server = $wfa_util->connect($Cluster,$VserverName);
my $status_enable =$server->vscan_enable($VserverName);(can you please suggest whether this is right or wrong in perl)
