Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

opclaygrp - maintain layout groups and node hierarchies

News HP Operations Manager Usage Operations Attributes Examples
Policies Default Policy Groups node groups Layout groups Humor Etc

Use the command opclaygrp to maintain layout groups and node hierarchies.  This command can only be issued by the root user.

This tool enables users to add, delete, change or list layout groups or node hierarchies. It also enables moving layout groups between existing layout groups.

Operations

-add_lay_group | -add_node_hier |
-del_lay_group | -del_node_hier |
-chg_lay_group | -chg_node_hier |
-move_lay_groups | -list_node_hier |
-list_lay_group |
-list_lay_group_rec

Attributes

lay_group=<lay_group_name>// Layout Group Name
lay_group_name=<lay_group_name>// Layout Group Name
lay_group_label=<lay_group_label>// Layout Group Label
lay_group_desc=<lay_group_desc>// Layout Group Description
to_lay_group=<lay_group_name>// Layout Group Name
lay_group_list='<list>'// List of Layout Groups
node_hier=<hierarchy_name>// Node Hierarchy Name
node_hier_name=<hierarchy_name>// Node Hierarchy Name
node_hier_label=<hierarchy_label>// Node Hierarchy Label
node_hier_desc=<hierarchy_desc>// Node Hierarchy Description

Options:

[ -verbose | -v ]
[ -force| -f ]

  opclaygrp uses three types of parameter: operations, attributes and options. The operations are indicated by a '-' like -<operation>. Attributes are always specified through an assignment like <attrib>=<value>. Options are indicated same as operations.

Please note: Only one operation is allowed per call, opclaygrp cannot perform more than one operation per call. Options are optional.

Operations

-add_lay_group
Adds a new layout group to the node hierarchy. Mandatory attribute is: lay_group. Optional attributes are: node_hier (default is NodeBank), lay_group_desc and lay_group_label.
-del_lay_group
Deletes the specified lay_group. Mandatory attribute is: lay_group. Optional attribute is: node_hier (default is NodeBank).
-move_lay_groups
Moves the specified layout groups into another layout group. Mandatory attributes are: lay_group_list and to_lay_group. Optional attribute is: node_hier (default is NodeBank).
-list_lay_group
List all layout groups in specified layout group. No Mandatory attribute is required. Optional attributes are: lay_group and node_hier (default is NodeBank).
Please note:If lay_group is not used, the top level layout groups will be displayed.
-list_lay_group_rec
Recursively list all layout groups of specified layout group. Child layout groups are shift to left. No Mandatory attribute is required. Optional attributes are: lay_group and node_hier (default is NodeBank).
Please note:If lay_group is not used, all layout groups of node hierarchy will be displayed.
-chg_lay_group
Changes the name, label or description of specified layout group. Mandatory attribute is: lay_group. Optional attributes are: lay_group_name, lay_group_label, lay_group_desc and node_hier (default is NodeBank).
-add_node_hier
Adds a new node hierarchy. Mandatory attribute is: node_hier. Optional attributes are: node_hier_desc and node_hier_label.
-del_node_hier
Deletes a node hierarchy. Mandatory attribute is: node_hier. No Optional attributes are required.
-list_node_hier
List all node hierarchies. No attributes are required.
-chg_node_hier
Changes the name, label or description of specified node hierarchy. Mandatory attribute is : node_hier. Optional attributes are: node_hier_name, node_hier_label and node_hier_desc.

Attributes

lay_group
Specifies the name of layout group. This is mandatory in all operations that handle layout group, except list_lay_group and list_lay_group.
lay_group_name
Specifies the new name of a layout group. This attribute is used only with chg_lay_group operation.
lay_group_desc
Specifies the description of a layout group. If description includes more than one word, double quotes should be used. This attribute is used only with add_lay_group or chg_lay_group operation.
lay_group_label
The label is the 'name' that appears in the layout groups's icon in the HPOM GUI. When no label is specified, the layout group name is shown applies. This attribute is used only with add_lay_group or chg_lay_group operation.
to_lay_group
Specifies the name of a layout group to which layout_group will be moved. This attribute is used only with move_lay_groups operation.
lay_group_list
Specifies the names of the layout groups which will be moved to to_lay_group. The layout group names must be separated by blanks and enclosed in ' ' or " ". This attribute is used only with move_lay_groups operation.
node_hier
Specifies the name of node hierarchy. This is mandatory in all operations that handle node hierarchies.
node_hier_name
Specifies the new name of node hierarchy. This attribute is used only with chg_node_hier operation.
node_hier_label
The label is the 'name' that appears in the node hierarchie's icon in the HPOM GUI. When no label is specified, the node hierarchy name is shown applies. This attribute is used only with add_node_hier or chg_node_hier operation.
node_hier_desc
Specifies the description of a node hierarchy. If description includes more than one word, double quotes should be used. This attribute is used only with add_node_hier or chg_node_hier operation.

Options

-verbose | -v
Display more verbose output. This applies to list_lay_group and list_lay_group_rec. If used name, label and description of layout group will be displayed.
-force | -f
Delete layout group or node hierarchy without any warning. This applies to del_lay_group and del_node_hier.
This command exits with value 0 after successful operation. In case of errors, other value is returned and descriptive text sent to standard error.

To enable other users to execute this command, the system administrator must change the file's attributes and copy it to a location which is included in the $PATH variable.

Examples

Add layout group Data_center (label=Center, description="Layout group for data center") to top level within node hierarchy Other.

	opclaygrp -add_lay_group lay_group=Data_center\ 
	lay_group_label=Center \
	lay_group_desc="Layout group for data center" \ 
	node_hier=Other

Delete layout group Data_center, which is located in layout group Operations, within default node hierarchy.

	opclaygrp -del_lay_group \ 
	lay_group=Operations/Data_center
	

Change name of layout group Data_center to Data. Layout group Data_center is located on top level, within node hierarchy Other.

opclaygrp -chg_lay_group lay_group=Data_center \ 
	lay_group_name=Data \ 
	node_hier=Other	

Recursively list all layout groups in layout group Data_center, which is located in layout group Operations, within node hierarchy Other.

opclaygrp -list_lay_group_rec \ 
	lay_group=Operations/Data_center \
	node_hier=Other
	

Move layout groups "test_grp1" and "test_grp2" (bouth are located on top level), into layout group Data_center, which is located in layout group Operations, within node hierarchy Other.

opclaygrp -move_lay_groups \ 
lay_group_list='test_grp1 test_grp2' \ to_lay_group=Operations/Data_center \
node_hier=Other



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019