- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What should the CLI syntax be for future HPUX SW d...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 05:04 AM
05-17-2005 05:04 AM
Please note this will not affect the support of the current command line syntax.
Here are the alternatives we are considering:
1. A family of similar "sw" commands. There is one command for every type of task.
a. The command set using one prefix “sw”
For example, swinstall [options]
swremove [options]
swverify [options]
swupdate [options]
swdrdcreate [options]
swdrdmodify [options]
swdrdmount [options]
swiux [options]
swiuxrecovery [options]
swiuxsource [options]
b. The command for each area will have its own prefix.
For example, swinstall [options]
swremove [options]
swverify [options]
swminstall [options]
swmupdate [options]
drdcreate [options]
drdmodify [options]
drdmount [options]
igniteclient [options]
igniterecovery [options]
ignitesource [options]
2. Single command with mode keyword as first argument to indicate task to perform.
a. One command for each area
For example, swm (install | remove | verify | update) [options]
drd (create | modify | mount) [options]
ignite (add_client | make_recovery | add_source) [options]
b. One command to do everything.
For example, swm install [options]
swm update [options]
swm drdcreate [options]
swm igniteclient [options]
Question:
Which alternatives (1a, 1b, 2a or 2b) do you prefer? And why?
DRD stands for Dynamic Root Disk. A copy of the root disk(s) can be modified without
impacting running system. It is similar to IBM Alternate Root Disk and Sun Live Upgrade.
Please take a brief moment and provide comments. Your input is very much appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 05:10 AM
05-17-2005 05:10 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 05:28 AM
05-17-2005 05:28 AM
SolutionWhy not the others:
1b - too much prefixes to remember, makes a bit mess, my opinion.
2a - same as 1b, plus long man pages for each command.
2b - I'll always have to look in huuge man page. It's like the man pages of "omnidb" and "omnirpt", too many arguments and long man pages.
Hope it helps ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 05:28 AM
05-17-2005 05:28 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
Choice 2b is actually the most dissimilar from the sw*, update-ux, and ignite commands today. With 2b, we would only have one command to do everything the current set of commands now do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 05:34 AM
05-17-2005 05:34 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 05:44 AM
05-17-2005 05:44 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 05:47 AM
05-17-2005 05:47 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
I could honestly live with any of the scenarios you present, but, unless there's some need being addressed by a change, I don't see any need to change. Any time I don't need to re-learn how to do something, I'm all for it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 05:47 AM
05-17-2005 05:47 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
1a seems most compatible with what we use today, swinstall -x autoreboot = true -s full path \*
Though cryptic to learn, many of us have taken the time to learn the existing syntax and that skill set should not be thrown out the window.
1b meets the familiarity test, yet seems to have some enhanced features that will assist in system or root disk cloning. I don't do this a lot, but there seems plenty of demand for it based on the volume of questions posted to itrc.
In summary, I'd like a system that preserves current command line syntax, yet allows for enhanced functionality.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 05:54 AM
05-17-2005 05:54 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
Ia or 2b suits me.....
What I like in 2b is that I have a (very) poor memory so swm would be THE word to never forget (I hope) so I can type man or a shortcut to all the other commands related would be nice...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 06:04 AM
05-17-2005 06:04 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
Issuing a command such as "swm -?" would give you the list of major modes that can be used.
The swm(1M) man page would have a general description of the capabilities of each mode, and then references to specific man pages for each mode (swm-install(1M) for example). Similar to the sh(1) man page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 06:19 AM
05-17-2005 06:19 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 07:17 AM
05-17-2005 07:17 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
I find it hard to believe that it would be all the difficult to add options to the sw* commands that would leave the traditional behavior unchanged but permit special modes for GUI/TUI interfaces. If that there's a real problem for you boys then somebody needs to learn you command line parsing and environment variables and such.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 07:24 AM
05-17-2005 07:24 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
Why 2a? Because
1. It most reflects intuitivity
2. It most resembles other software packagers like rpm
In 2a I would go even further and not allow the full commands, but
swm -i
to equal
swm --install
-v => --verify
-e => --erase or --remove
Please LOOK at what the rest of the world already uses, and make it easy to move to HP-UX
swverify cound now just either be a wrapper that calls 'swm --verify' or be (how user-friendly do you want to be) a supported recognition in main (argc, argv) to see under what name the program was called in argv[0]
PS: And if you are going to have a look at ignite, PLEASE, give us an option to create CD/DVD iso images instead of make_tape_recovery! (Yes, we also need a backport of this for HP-UX 11.00)
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 09:07 AM
05-17-2005 09:07 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
Also as individual commands, things like security and accounting can be done by each command type.
2a and 2b would have huge man pages...
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 04:10 PM
05-17-2005 04:10 PM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
I would go with 2a because of the same reason Merijn has pointed out. The command format is similar to Linux command format.
2b would make the command very big (or atleast it looks big) Same is the case with 1a and 1b.
We can't easily forget the command format used in 2a.
Best wishes,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 06:24 PM
05-17-2005 06:24 PM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
it keeps everything simple, which is the spirit of unix :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 08:13 PM
05-17-2005 08:13 PM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
I would go with 1a. You have same prefix sw for the commands and one command per utility.
Regards,
Borislav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 01:04 AM
05-18-2005 01:04 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
2b is too far - as drdcrfeate and ignite are different products - too unique to be included in a single command.
1a isn't too bad - having a similar prefix would be benificial to new comers.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 01:53 AM
05-18-2005 01:53 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
Apart from 1a, which is very similar to the current sw commands, i would prefer 2b.
Reason:
1. As other have pointed out, it is very similar to linux's rpm command. Single command to install, verify, remove packages.
2. A single man page to refer to, to perform any task. I am sure the man page would be bulky, but it would be logically divided, and we would know exactly where to look for what we are actually looking.
Regards,
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 03:57 AM
05-18-2005 03:57 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
- similar to what we have today and I'm an old dog.
- searching history would be simple (/sw)
- clean, precise man pages
my 2 cents ;-}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 04:41 AM
05-18-2005 04:41 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
Alongwith currently running 1a I would recommend 2b.
1a beacuse we are using it for quite long now and 2b because it will make it more simple and will still keep them divided by class. So in my opinion let the currently running commands be there and provide something like 2b.
Also chnage it for TUI/GUI so that after running it prompts us which way to go.
Regards,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 05:08 AM
05-18-2005 05:08 AM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
It would split on separate domains and offer all functions for a domain in one command. Seems very good to me.
There are still two bad points wbout this, I must admit :
. Existing scripts will have to be rewriten with new commands. Even if commands change, you should look for "compatible" output for easier parse of existing sripts.
. Unix philosophy is to have commands that do few things, but well (for example : wc, du...). "|" is here to combine and do complex things. Now, you can consider that sw commands are rather utilities and not simple programs...
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 01:15 PM
05-19-2005 01:15 PM
Re: What should the CLI syntax be for future HPUX SW deployment tools?
I hate omnirpt -report. I want to do a report. Why do I have to do extra typing and add -report.
Just keep the "See Also" at the end of the man page updated with the related commands.
Marlou