A colleague of mine got a customer request to find a way to alert when luns had initiators that were not logged-in.
I wrote him this little piece of code that will dump this information.
It could be easily embedded in WFA and ran on all clusters.
You can then report on it as you please.
Monday, May 6, 2019
Tuesday, April 9, 2019
Find first available object with number suffix
Sometimes you need to find a first available "something" with number. For example you have a naming conventions for volumes like "prefix" + number ("myvolume002" for example).
So you probably want to find the next available. Usually you probably use the incremental naming procedure (http://www.wfaguy.com/2016/12/incremental-naming.html)
That works great. But sometimes objects (like volumes) get removed and then you get gaps. Some customers don't like that and want to refill those gaps.
So you probably want to find the next available. Usually you probably use the incremental naming procedure (http://www.wfaguy.com/2016/12/incremental-naming.html)
That works great. But sometimes objects (like volumes) get removed and then you get gaps. Some customers don't like that and want to refill those gaps.
Tuesday, March 5, 2019
Setting ontap volume options such as atime-update
Sometimes you need to set a simple volume option such as :
Chances are that you want to set these options the moment you create the volume. Because there so many, wfa took a shortcut and bundled them all together in 1 variable called "options".
- maxdirsize
- nosnap
- nvfail
- no_atime_update
- fs_size_fixed
- ...
Chances are that you want to set these options the moment you create the volume. Because there so many, wfa took a shortcut and bundled them all together in 1 variable called "options".
Friday, February 22, 2019
Wfa Aggregate Filter on capacity and performance
Filter not only on capacity but also on performance
By default you probably only filter on capacity when searching for an aggregate. With this filter you can also filter on performance.
To use this filter you need to implement an included datasource that collects the performance data.
Labels:
capacity
,
filter
,
performance
,
wfa
Thursday, January 31, 2019
Runas in WFA command
One of my colleagues asked me this week how he could run a PowerShell action as another user.
He wanted to move files between CIFS shares but this specific action required specific windows credentials and they didn't want to give the WFA service those rights.
Here is what is possible and what not...
He wanted to move files between CIFS shares but this specific action required specific windows credentials and they didn't want to give the WFA service those rights.
Here is what is possible and what not...
Labels:
command
,
impersonation
,
powershell
,
runas
Monday, January 7, 2019
WFA maintenance workflow (powershell only)
If you are working with WFA quite a lot, there are some maintenance tasks that might be handy. And they are either not possible in the GUI, or they take a lot of manual work.
This is an updated version from v1.0.1 tot v1.0.2 (added more options)
This is an updated version from v1.0.1 tot v1.0.2 (added more options)
- Clean ALL or some execution logs
- Clean ALL or some reservations
- Enable Full RBAC
here is a workflow to do this...
Labels:
cleanup
,
maintenance
,
rbac
,
wfa
,
workflow
Subscribe to:
Posts
(
Atom
)