This concept is identical to what Veritas did (at least 8 years ago) for its vxfs and vxvm products. Whatever you selected in the gui above created an exact cli reference below, and as you changed gui selections the cli reference would change real time so you didn’t even have to commit the changes to see what the command(s) would be.
I half suspect it’s unnecessary for Ontap 7G since most work can be done with 6 commands but, as someone was commenting elsewhere, GX is a whole ‘nother animal. The Veritas-like gui is one option, a true quick-reference guide is another (netapp’s quick reference guides are not noted for their brevity).
Jeff Kennedy
QCT Engineering Compute
858-651-6592
From:
owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Langdon, Laughlin T. (Lock)
Sent: Friday, April 25, 2008 2:20
PM
To: Klinkner, Steve; toasters@mathworks.com
Subject: RE: Submitting
Suggestions to Netapp/CLI command builder
Agreed, but it would be nice to have it all formatted pretty like, and right in front of my face J
*presses the easy button*
From: Klinkner, Steve
[mailto:Steve.Klinkner@netapp.com]
Sent: Friday, April 25, 2008 2:18
PM
To: Langdon, Laughlin T. (Lock);
toasters@mathworks.com
Subject: RE: Submitting
Suggestions to Netapp/CLI command builder
I realize this doesn't exactly match your request, but it turns out that virtually everything that FilerView does will end up in the auditlog (found in /etc/log/auditlog on the root volume).
The entries will be a mix of API calls and command invocations (although the APIs have close CLI equivalents, many FilerView actions happen via ManageONTAP APIs rather than commands these days).
So while this won't come out quite in the nice form you've illustrated, you might learn quite a bit by examining the auditlog to see what FilerView did to accomplish the tasks you've requested.
Steve
From: Langdon, Laughlin T. (Lock) [mailto:Langdon.Lock@Mayo.EDU]
Sent: Friday, April 25, 2008 1:42 PM
To: toasters@mathworks.com
Subject: Submitting Suggestions to Netapp/CLI command builderHow would one go about submitting a suggestion to NetApp?
I was thinking it would be nice, if while working in the Filer View GUI, your operations selected would build a command line “example”
Say for instance you wanted to make a new volume from the GUI.
You go to the volume section and you click Add.
The wizard pops up.
click next
Select your volume type (flexible)
click next
Name the volume (vol1)
Select language (en_US)
Decide if you want to use UTF-8 or not (no)
click next
select the aggregate (aggr0)
set your space guarantee (volume)
click next
choose volume size type (useable)
choose volume size (100GB)
set snapshot reserve (10%)
click next
now it shows all the options you picked in the text box.
Create New Volume
Volume Name: vol1
Aggregate Container: aggr0 (14TB, raid_dp,mirrored)
Volume Size: 100 GB
Snapshot Reserve: 10%
Language: English (US) (en_US)
Space Guarantee: volume
I want it to add the command line example of all the choices you picked. So it would look something like this
Create New Volume
Volume Name: vol1
Aggregate Container: aggr0 (14TB, raid_dp,mirrored)
Volume Size: 100 GB
Snapshot Reserve: 10%
Language: English (US) (en_US)
Space Guarantee: volume
CLI Commands used : vol create vol1 -l en_US aggr0 -s volume 100g
snap reserve vol1 10
I couldn’t find a CLI command to specify if that 100GIG was useable or total space, but I hope you get what I’m going for.
This might help people become more proficient in the CLI interface, and also help build commands for scripting.
Thoughts, Ideas, comments?