Difference between revisions of "hidden:Reverse engineering of hpssadm and other gems from the HPSS toolset"

From Lsdf
m
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
===hpssadm===
 
===hpssadm===
  +
  +
====top level commands====
  +
  +
Commands keywords are case sensitive. Commands can be abbreviated to the shortest indiscriminate form. eg.
  +
  +
hpssadm> l -type Servers
  +
  +
or instead of typing ''health_status info'' one can use
  +
  +
hpssadm> hea i
  +
  +
  +
====configuration info subcommands====
   
 
hpssadm> configuration info -type xxxx -name xxxx
 
hpssadm> configuration info -type xxxx -name xxxx
Line 9: Line 22:
 
<list of types>
 
<list of types>
   
Each type needs a name or id (option -name or -id). But the -id and or -name option must follow the -type option (not the other way around). The stupid thing is that names nor ids are listed. Using the gui I was able to find out the following type and name pairs:
+
Each type needs a name or id (option -name or -id). But the -id and or -name option must follow the -type option (not the other way around). The stupid thing is that names nor ids are listed. Using the ''ínfo'' commanda that is available for most of the top level commands I could find the following type and name pairs:
   
 
{| class="wikitable"
 
{| class="wikitable"
Line 17: Line 30:
 
|-
 
|-
 
| Core Server Configuration
 
| Core Server Configuration
  +
| Core Server
  +
|-
 
| Location Server Configuration
 
| Location Server Configuration
  +
| Location Server
  +
|-
 
| PVL Configuration
 
| PVL Configuration
  +
| PVL
  +
|}
  +
  +
{| class="wikitable"
  +
|-
  +
! -type
  +
! -name
  +
|-
  +
| Core Server Configuration
  +
| Location Server Configuration
 
|-
 
|-
 
| Core Server
 
| Core Server
 
| Location Server
 
| Location Server
| PVL
 
 
|}
 
|}
  +
   
 
example (using on of the valid pairs from the table above)
 
example (using on of the valid pairs from the table above)
   
 
hpssadm> configuration info -type "Core Server Configuration" -name "Core Server"
 
hpssadm> configuration info -type "Core Server Configuration" -name "Core Server"
  +
  +
  +
----[[ hidden:HPSS|<small>back to HPPS main page</small>]]

Latest revision as of 10:05, 11 April 2017

hpssadm

top level commands

Commands keywords are case sensitive. Commands can be abbreviated to the shortest indiscriminate form. eg.

 hpssadm> l -type Servers

or instead of typing health_status info one can use

 hpssadm> hea i


configuration info subcommands

hpssadm> configuration info -type xxxx -name xxxx

To see the list of possible types run

 hpssadm> configuration -type
 ...
 <list of types>

Each type needs a name or id (option -name or -id). But the -id and or -name option must follow the -type option (not the other way around). The stupid thing is that names nor ids are listed. Using the ínfo commanda that is available for most of the top level commands I could find the following type and name pairs:

-type -name
Core Server Configuration Core Server
Location Server Configuration Location Server
PVL Configuration PVL
-type -name
Core Server Configuration Location Server Configuration
Core Server Location Server


example (using on of the valid pairs from the table above)

 hpssadm>  configuration info -type "Core Server Configuration" -name "Core Server"



back to HPPS main page