Ever needed to add a repeat row and calculate a sum on the fly ?
This is built into wfa already.
For example, you want a user input table, where you add qtrees and their sizes, but you would need a sum at some point so create the volume (where the size is the sum of the qtrees).
Wednesday, June 20, 2018
Monday, June 18, 2018
Wfa Invoke-NcSsh broken
In WFA4.2 you might have noticed Invoke-NcSsh doesn't work as it used to. You need putty, and even then there seems to be a memory leak.
WFA has a custom cmdlet called "Invoke-WfaClusterCli", which is
doing the same thing, assuming you wanted to SSH to a Netapp Cluster ofcourse :)
I posted the code below, just for reference. Obviously in WFA you can just call it, as it's embedded in the WFAWrapper module.
WFA has a custom cmdlet called "Invoke-WfaClusterCli", which is
doing the same thing, assuming you wanted to SSH to a Netapp Cluster ofcourse :)
I posted the code below, just for reference. Obviously in WFA you can just call it, as it's embedded in the WFAWrapper module.
Tuesday, June 5, 2018
Powershell - move ontap cluster lifs between interfacegroups
For a headswap procedure, I had to move lifs from 3 interface groups to 2 interface groups.
So before we had :
a0a, a0b & a0c
After we have :
a0a, a0b
This means all lifs on a0c need to move to a similar vlan port on another interface group. here is a powershell script to do it automatically
So before we had :
a0a, a0b & a0c
After we have :
a0a, a0b
This means all lifs on a0c need to move to a similar vlan port on another interface group. here is a powershell script to do it automatically
Labels:
ifgrp
,
lif
,
move
,
powershell
,
vlan
Monday, June 4, 2018
WFA advanced incremental naming
In a previous post, I already explained how incremental naming works. (http://www.wfaguy.com/2016/12/incremental-naming.html#more)
However, sometimes you need something a bit more advanced.
For example you need this incremental functionality
- myvol50xx
- myvol51yy
- myvol52zz
However, sometimes you need something a bit more advanced.
For example you need this incremental functionality
- myvol50xx
- myvol51yy
- myvol52zz
Labels:
advanced
,
functions
,
incremental naming
,
mvel
,
wfa
Subscribe to:
Posts
(
Atom
)