README_hpux.txt (cfg2html-6.34.0) | : | README_hpux.txt (cfg2html-6.34.8) | ||
---|---|---|---|---|
skipping to change at line 14 | skipping to change at line 14 | |||
__ ____ _ _ _ | __ ____ _ _ _ | |||
___ / _| __ _|___ \| |__ | |_ _ __ ___ | | | ___ / _| __ _|___ \| |__ | |_ _ __ ___ | | | |||
/ __| |_ / _` | __) | '_ \| __| '_ ` _ \| | | / __| |_ / _` | __) | '_ \| __| '_ ` _ \| | | |||
| (__| _| (_| |/ __/| | | | |_| | | | | | | | | (__| _| (_| |/ __/| | | | |_| | | | | | | | |||
\___|_| \__, |_____|_| |_|\__|_| |_| |_|_| | \___|_| \__, |_____|_| |_|\__|_| |_| |_|_| | |||
|___/ | |___/ | |||
READ ME for Cfg2Html (c) by ROSE SWE, Dipl.-Ing. Ralph Roth | READ ME for Cfg2Html (c) by ROSE SWE, Dipl.-Ing. Ralph Roth | |||
------------------------------------------------------------------------- | ------------------------------------------------------------------------- | |||
Last updated: @(#) $Id: README_hpux.txt,v 6.10.1.1 2013-09-12 16:13:19 ralph Exp $ | Last updated: @(#) $Id: README_hpux.txt,v 1.5 2018/03/16 16:04:22 ralph Exp $ | |||
cfg2html is the short for "Config to HTML". | cfg2html is the short for "Config to HTML". | |||
Cfg2html is a UNIX shell script similar to check_config or get_config, except | Cfg2html is a UNIX shell script similar to check_config or get_config, except | |||
that it creates a HTML (and plain ASCII) system documentation for HP- UX | that it creates a HTML (and plain ASCII) system documentation for HP- UX | |||
10.xx/11.xx, SCO-UNIX, AIX, Sun OS and Linux systems. Plug-ins for SAP, Oracle, | 10.xx/11.xx, SCO-UNIX, AIX, Sun OS and Linux systems. Plug-ins for SAP, | |||
Informix, MC/SG, Fibre Channel/SAN, TIP/ix, Mass Storage like EVA3000/EVA5000, | Oracle, Informix, MC/SG, Fibre Channel/SAN, TIP/ix, Mass Storage like | |||
XP48/256/512/1024, Network Node Manager and OmniBack/DataProtector etc. are | EVA3000/EVA5000, XP48/256/512/1024, Network Node Manager and | |||
included. The first versions of cfg2html were written for HP-UX. Meanwhile the | OmniBack/DataProtector etc. are included. The first versions of cfg2html were | |||
cfg2html 1.xx HP-UX stream was ported to major *NIX platforms. See below | written for HP-UX. Meanwhile the cfg2html 1.xx HP-UX stream was ported to | |||
"ported versions"! | major *NIX platforms. See below "ported versions"! | |||
This is the "Swiss army knife" for the Account Support Engineer, Customer | This is the "Swiss army knife" for the Account Support Engineer, Customer | |||
Engineer, sysadmin etc. I wrote it to get the necessary information to plan an | Engineer, sysadmin etc. I wrote it to get the necessary information to plan an | |||
update, to perform basic troubleshooting or performance analysis. As a bonus | update, to perform basic troubleshooting or performance analysis. As a bonus | |||
cfg2html creates a nice HTML and plain ASCII documentation. If you are missing | cfg2html creates a nice HTML and plain ASCII documentation. If you are missing | |||
something, let us know it! | something, let us know it! | |||
The newest versions are downloadable at: | The newest versions are downloadable at: | |||
- http://www.cfg2html.com (all stuff) | - http://www.cfg2html.com (all stuff) | |||
- www.cfg2html.com (only new betas) | - www.cfg2html.com (only new betas) | |||
To get a new version visit: http://www.cfg2html.com | To get a new version visit: http://www.cfg2html.com | |||
And subscribe to the cfg2html mailing list | And subscribe to the cfg2html mailing list | |||
Original HP-UX Version: Ralph Roth, ROSE SWE, http://rose.rult.at | Original HP-UX Version: Ralph Roth, ROSE SWE, http://rose.rult.at | |||
For HP-UX 11.31 and better you need at last cfg2html-hpux version 3.74/4.29 | For HP-UX 11.31 and better you need at last cfg2html-hpux version 3.74/4.29 | |||
All 11.31 (v3) issues should be fixed with version 4.41 or higher - any feedback | All 11.31 (v3) issues should be fixed with version 4.41 or higher - any | |||
is welcome. | feedback is welcome. | |||
___ _ _ _ _ _ | ___ _ _ _ _ _ | |||
|_ _|_ __ ___| |_ __ _| | | __ _| |_(_) ___ _ __ | |_ _|_ __ ___| |_ __ _| | | __ _| |_(_) ___ _ __ | |||
| || '_ \/ __| __/ _` | | |/ _` | __| |/ _ \| '_ \ | | || '_ \/ __| __/ _` | | |/ _` | __| |/ _ \| '_ \ | |||
| || | | \__ \ || (_| | | | (_| | |_| | (_) | | | | | | || | | \__ \ || (_| | | | (_| | |_| | (_) | | | | | |||
|___|_| |_|___/\__\__,_|_|_|\__,_|\__|_|\___/|_| |_| | |___|_| |_|___/\__\__,_|_|_|\__,_|\__|_|\___/|_| |_| | |||
--------------------------------------------------------------------------- | --------------------------------------------------------------------------- | |||
To install and to execute cfg2html you must be root! A normal user account | To install and to execute cfg2html you must be root! A normal user account | |||
will not work! | will not work! | |||
skipping to change at line 66 | skipping to change at line 66 | |||
The HP-UX version is in two distributions available: | The HP-UX version is in two distributions available: | |||
- GNU Zipped tar archive | - GNU Zipped tar archive | |||
(gunzip cfg2html*.gz; tar xvf cfg2html*.tar) | (gunzip cfg2html*.gz; tar xvf cfg2html*.tar) | |||
- Software Distributor format | - Software Distributor format | |||
(gunzip cfg2html*.gz; swinstall -s $PWD/cfg2html*.depot) | (gunzip cfg2html*.gz; swinstall -s $PWD/cfg2html*.depot) | |||
Gurus: swinstall -s /tmp/cfg2html_hpux_3.27-20060515.depot cfg2html | Gurus: swinstall -s /tmp/cfg2html_hpux_3.27-20060515.depot cfg2html | |||
The collector can then be found under /opt/cfg2html/cfg2html_hpux.sh | The collector can then be found under /opt/cfg2html/cfg2html_hpux.sh | |||
A wrapper script "/opt/cfg2html/cfg2html" is also provided that calls | A wrapper script "/opt/cfg2html/cfg2html" is also provided that calls | |||
cfg2html_hpux.sh with some common command line options. We suggest that you use | cfg2html_hpux.sh with some common command line options. We suggest that you | |||
cfg2html instead of cfg2html_hpux.sh (the cfg2html wrapper is also available | use cfg2html instead of cfg2html_hpux.sh (the cfg2html wrapper is also | |||
under Linux). | available under Linux). | |||
Please log off after installation with swinstall to make the PATH adjustments | Please log off after installation with swinstall to make the PATH adjustments | |||
active. Please REMOVE older versions before installing a new version (e.g. | active. Please REMOVE older versions before installing a new version (e.g. | |||
swremove cfg2hmtl). To install from a software depot you can use: | swremove cfg2hmtl). To install from a software depot you can use: | |||
swinstall -s sdserver:/depot/software CFG2HTML | swinstall -s sdserver:/depot/software CFG2HTML | |||
To install from a NFS share/local filesystem, you can use: | To install from a NFS share/local filesystem, you can use: | |||
swinstall -s /share/software/cfg2html_hpux_3.61-20080624.depot CFG2HTML | swinstall -s /share/software/cfg2html_hpux_3.61-20080624.depot CFG2HTML | |||
This software DOES NOT require a reboot! :-)) | This software DOES NOT require a reboot! :-)) | |||
cfg2html assumes that you have installed your HPUX system in a standard way, | cfg2html assumes that you have installed your HPUX system in a standard way, | |||
e.g. vg00 for the root volume group and vg* for the other volume groups and lv* | e.g. vg00 for the root volume group and vg* for the other volume groups and | |||
for logical volumes. | lv* for logical volumes. | |||
Requirements: | Requirements: | |||
Version 3.xx - HP-UX 10.20 or higher, PA-RISC CPU PA 1.1 or higher or IA64. | Version 3.xx - HP-UX 10.20 or higher, PA-RISC CPU PA 1.1 or higher or IA64. | |||
Version 4.xx - HP-UX 11.11 or higher, PA-RISC CPU PA 2.0 or IA64 | Version 4.xx - HP-UX 11.11 or higher, PA-RISC CPU PA 2.0 or IA64 | |||
Version 5.xx - HP-UX 11.11 or higher, PA-RISC CPU PA 2.0 or IA64 -- optimized fo r HP-UX 11.31/Itanium! | Version 5.xx - HP-UX 11.11 or higher, PA-RISC CPU PA 2.0 or IA64 -- optimized fo r HP-UX 11.31/Itanium! | |||
cfg2html is not fully functional under HP-UX 10.xx (please consider to upgrade | cfg2html is not fully functional under HP-UX 10.xx (please consider to upgrade | |||
such systems, because HP-UX 10.xx is at its end of support live!) but works fine | such systems, because HP-UX 10.xx is at its end of support live!) but works | |||
. | fine. | |||
Under HP-UX 10.20 you get the following errors that you can ignore: | Under HP-UX 10.20 you get the following errors that you can ignore: | |||
getconf MACHINE_MODEL: Invalid argument | getconf MACHINE_MODEL: Invalid argument | |||
getconf MACHINE_SERIAL: Invalid argument | getconf MACHINE_SERIAL: Invalid argument | |||
Patches: You should install recent Patches/Bundles e.g. the current Gold Bundle | Patches: You should install recent Patches/Bundles e.g. the current Gold | |||
or Quality Pack Bundle and the latest Hardware Enablement Bundles (HWE). | Bundle or Quality Pack Bundle and the latest Hardware Enablement Bundles | |||
Diagnostics should be A.42.00 or higher. Please also check if you have | (HWE). Diagnostics should be A.42.00 or higher. Please also check if you have | |||
installed Diagnostics related patches, ESP.: PHKL_29798 (and it dependencies)! | installed Diagnostics related patches, ESP.: PHKL_29798 (and it dependencies)! | |||
Notes from Bill on SW Depots: | Notes from Bill on SW Depots: | |||
Having the code in depot format solves a lot of issues: | Having the code in depot format solves a lot of issues: | |||
Easier to install (swinstall does everything, tar requires creating /opt/ | - Easier to install (swinstall does everything, tar requires creating | |||
cfg2html and manual fixup of /etc/PATH) | /opt/cfg2html and manual fixup of /etc/PATH) | |||
swlist shows cfg2html as a product | - swlist shows cfg2html as a product | |||
swlist -l product also shows the version directly | - swlist -l product also shows the version directly | |||
Standard way to remove (swremove) | - Standard way to remove (swremove) | |||
Matches previous releases | - Matches previous releases | |||
___ _ _ | ___ _ _ | |||
/ _ \ _ __ | |_(_) ___ _ __ ___ | / _ \ _ __ | |_(_) ___ _ __ ___ | |||
| | | | '_ \| __| |/ _ \| '_ \/ __| | | | | | '_ \| __| |/ _ \| '_ \/ __| | |||
| |_| | |_) | |_| | (_) | | | \__ \ | | |_| | |_) | |_| | (_) | | | \__ \ | |||
\___/| .__/ \__|_|\___/|_| |_|___/ | \___/| .__/ \__|_|\___/|_| |_|___/ | |||
|_| | |_| | |||
------------------------------------------------------------------ | ------------------------------------------------------------------ | |||
Usage | Usage | |||
skipping to change at line 187 | skipping to change at line 189 | |||
simply try: cfg2html (calls cfg2html_hpux.sh -0 -o/tmp) | simply try: cfg2html (calls cfg2html_hpux.sh -0 -o/tmp) | |||
____ _ _ | ____ _ _ | |||
/ ___| ___ ___ _ _ _ __(_) |_ _ _ | / ___| ___ ___ _ _ _ __(_) |_ _ _ | |||
\___ \ / _ \/ __| | | | '__| | __| | | | | \___ \ / _ \/ __| | | | '__| | __| | | | | |||
___) | __/ (__| |_| | | | | |_| |_| | | ___) | __/ (__| |_| | | | | |_| |_| | | |||
|____/ \___|\___|\__,_|_| |_|\__|\__, | | |____/ \___|\___|\__,_|_| |_|\__|\__, | | |||
|___/ | |___/ | |||
------------------------------------------------------------------ | ------------------------------------------------------------------ | |||
For security reasons it is better to store the HTML and ASCII files in a | For security reasons it is better to store the HTML and ASCII files in a safe | |||
safe place where only root user have access. Then remove the files from | place where only root user have access. Then remove the files from your file | |||
your file system. | system. | |||
____ _ _ _ | ____ _ _ _ | |||
| _ \ __ _| |_ ___| |__ (_)_ __ __ _ | | _ \ __ _| |_ ___| |__ (_)_ __ __ _ | |||
| |_) / _` | __/ __| '_ \| | '_ \ / _` | | | |_) / _` | __/ __| '_ \| | '_ \ / _` | | |||
| __/ (_| | || (__| | | | | | | | (_| | | | __/ (_| | || (__| | | | | | | | (_| | | |||
|_| \__,_|\__\___|_| |_|_|_| |_|\__, | | |_| \__,_|\__\___|_| |_|_|_| |_|\__, | | |||
|___/ | |___/ | |||
------------------------------------------------------------------ | ------------------------------------------------------------------ | |||
Read this if you are a developer and interested in enhancing cfg2html! Please | Read this if you are a developer and interested in enhancing cfg2html! Please | |||
note that all contribution to cfg2html must be copyright free, because in the | note that all contribution to cfg2html must be copyright free, because in the | |||
future cfg2html will be put under a Open Source License (e.g. GPL v2/v3)! | future cfg2html will be put under a Open Source License (e.g. GPL v2/v3)! | |||
OK, I fixed a bug and enhanced cfg2html, how do I make a diff for upstream | OK, I fixed a bug and enhanced cfg2html, how do I make a diff for upstream | |||
enhancement? | enhancement? | |||
That is quite easy. First, get yourself GNU diff. The other diffs will work, | That is quite easy. First, get yourself GNU diff. The other diffs will work, | |||
too, but this tutorial only applies to GNU diff. We want unified diffs! | too, but this tutorial only applies to GNU diff. We want unified diffs! | |||
1. If you change cfg2html, please mark your changes with for example | 1. If you change cfg2html, please mark your changes with for example | |||
# <name>,<date>. Do not forget to remove all backup files from your editor | # <name>,<date>. Do not forget to remove all backup files from your editor. | |||
. | 2. Rename the directory with your new, patched cfg2html-x.xx to, say, | |||
2. Rename the directory with your new, patched cfg2html-x.xx to, say, | cfg2html-x.xx.patched | |||
cfg2html-x.xx.patched | 3. Unpack the original distribution tar ball. DO NOT LEAVE in this directory | |||
3. Unpack the original distribution tar ball. DO NOT LEAVE in this directory | files e.g. from a cfg2html run. Only the original distribution! | |||
files e.g. from a cfg2html run. Only the original distribution! | 4. Now type: | |||
4. Now type: | ||||
diff -uNr cfg2html-x.xx cfg2html-x.xx.patched | gzip -c \ | ||||
diff -uNr cfg2html-x.xx cfg2html-x.xx.patched | gzip -c \ | > cfg2html-x.xx.diff.gz | |||
> cfg2html-x.xx.diff.gz | ||||
This is for GNU diff. You vendor's diff may not know the -u option, in | ||||
This is for GNU diff. You vendor's diff may not know the -u option, in | which case you should try -c instead. | |||
which case you should try -c instead. | 5. Now send the compressed diff to my email address: | |||
5. Now send the compressed diff to my email address: | cfg2hthml@hotmail.com (subject [cfg2html] + your text) | |||
cfg2hthml@hotmail.com (subject [cfg2html] + your text) | ||||
The "-u" creates a unified diff, which has 3 lines of context per default. | ||||
The "-u" creates a unified diff, which has 3 lines of context per default. This | This has the advantage that patches can be applied to other versions of | |||
has the advantage that patches can be applied to other versions of cfg2html, | cfg2html, too. | |||
too. | ||||
The "-N" treats new files as empty. That means if you add a file, diff will | ||||
The "-N" treats new files as empty. That means if you add a file, diff will put | put it in the diff, too. This has the advantage that your file is not lost. It | |||
it in the diff, too. This has the advantage that your file is not lost. It has | has the disadvantage that "Makefile" and so on are put into the diff, too. So | |||
the disadvantage that "Makefile" and so on are put into the diff, too. So for | for patches where you do not add new files, you can omit the "-N". | |||
patches where you do not add new files, you can omit the "-N". | ||||
The "-r" means recursive. For cfg2html this is only important if you change | The "-r" means recursive. For cfg2html this is only important if you change | |||
stuff in subdirectories. But it is good habit to use it. | stuff in sub directories. But it is good habit to use it. | |||
------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | |||
How to apply the Patches/Diffs? | How to apply the Patches/Diffs? | |||
$ gunzip delta-1-14-3rar.gz | $ gunzip delta-1-14-3rar.gz | |||
$ patch -p0 < delta-1-14-3rar | $ patch -p0 < delta-1-14-3rar | |||
patching file cfg2html-linux-1.14/cfg2html-linux | patching file cfg2html-linux-1.14/cfg2html-linux | |||
patching file cfg2html-linux-1.14/cfg2html_urls.html | patching file cfg2html-linux-1.14/cfg2html_urls.html | |||
bash-3.2$ patch -p0 < cfg2html_4.73.diff | bash-3.2$ patch -p0 < cfg2html_4.73.diff | |||
patching file cfg2html_473/cfg2html_hpux.sh | patching file cfg2html_473/cfg2html_hpux.sh | |||
Hunk #1 succeeded at 1204 (offset 3 lines). | Hunk #1 succeeded at 1204 (offset 3 lines). | |||
Hunk #2 succeeded at 1571 (offset 3 lines). | Hunk #2 succeeded at 1571 (offset 3 lines). | |||
patching file cfg2html_473/plugins/get_lvm_info.sh | patching file cfg2html_473/plugins/get_lvm_info.sh | |||
--------------------------------------------------------------------------- | --------------------------------------------------------------------------- | |||
Building a depot from the tar archive? | Building a depot from the tar archive? If you can show me the packaging steps, | |||
If you can show me the packaging steps, I can package it and send it back for yo | I can package it and send it back for you. | |||
u. | ||||
That's easy, if you got the swpackage.sh SHAR archive from me. | That's easy, if you got the swpackage.sh SHAR archive from me. | |||
You need for example: | You need for example: | |||
swpackage.sh | swpackage.sh | |||
cfg2html_hpux_5.13-20110621-33156.tar | cfg2html_hpux_5.13-20110621-33156.tar | |||
Steps: | Steps: | |||
1.) unpack the SHAR archive: sh swpackage.sh | 1.) unpack the SHAR archive: sh swpackage.sh | |||
x - extracting prodspec.dat (text) | x - extracting prodspec.dat (text) | |||
x - extracting tar2depot.sh (text) | x - extracting tar2depot.sh (text) | |||
2.) build the .depot file as root under HP-UX: sh tar2depot.sh | 2.) build the .depot file as root under HP-UX: sh tar2depot.sh | |||
3.) Depot is build using swpackage | 3.) Depot is build using swpackage | |||
___ _ _ __ __ _ | ___ _ _ __ __ _ | |||
| _ \___ _ _| |_ ___ __| | \ \ / /__ _ _ __(_)___ _ _ ___ | | _ \___ _ _| |_ ___ __| | \ \ / /__ _ _ __(_)___ _ _ ___ | |||
| _/ _ \ '_| _/ -_) _` | \ V / -_) '_(_-< / _ \ ' \(_-< | | _/ _ \ '_| _/ -_) _` | \ V / -_) '_(_-< / _ \ ' \(_-< | |||
|_| \___/_| \__\___\__,_| \_/\___|_| /__/_\___/_||_/__/ | |_| \___/_| \__\___\__,_| \_/\___|_| /__/_\___/_||_/__/ | |||
------------------------------------------------------------------ | ------------------------------------------------------------------ | |||
For your information, there are also ported *NIX versions available | For your information, there are also ported *NIX versions available on the web | |||
on the web page for free downloading! | page for free downloading! | |||
Maintainer of the different versions | Maintainer of the different versions | |||
HP-UX : Ralph Roth | HP-UX : Ralph Roth | |||
Contributors: Thomas Brix, Martin Kalmbach | Contributors: Thomas Brix, Martin Kalmbach | |||
Linux port : Michael Meifert dk3hg | Linux port : Michael Meifert dk3hg | |||
Contributors: Michael Meier, | Contributors: Michael Meier, | |||
Linux (debian/hppa): Ralph Roth | Linux (debian/hppa): Ralph Roth | |||
skipping to change at line 314 | skipping to change at line 316 | |||
|_| |_|\___/ \_/\_/ |_____|\____\___/|_| |_|\__\__,_|\___|\__| | |_| |_|\___/ \_/\_/ |_____|\____\___/|_| |_|\__\__,_|\___|\__| | |||
------------------------------------------------------------------ | ------------------------------------------------------------------ | |||
You can contact me (Ralph Roth) the following ways | You can contact me (Ralph Roth) the following ways | |||
1.) Instant Messenger (preferred) | 1.) Instant Messenger (preferred) | |||
2.) Email | 2.) Email | |||
1.) I have the following accounts: | 1.) I have the following accounts: | |||
ICQ: 22 11 20 58 (rose_swe) | ICQ: 22 11 20 58 (rose_swe) | |||
AIM: rose69swe (69 is the year of my birth :) | Yahoo: rose_swe | |||
MSN: cfg2html//rose_swe | IRC: rose_swe, r0se_swe on #virus | |||
Yahoo: rose_swe | Jabber/Org: cfg2html@jabber.org | |||
IRC: rose_swe, r0se_swe on #virus | SkyPe Ralph.Roth | |||
Jabber/Org: cfg2html@jabber.org | ||||
SkyPe Ralph.Roth | Twitter rose_swe | |||
XING https://www.xing.com/profile/Ralph_Roth | ||||
Twitter rose_swe | ||||
XING https://www.xing.com/profile/Ralph_Roth | 2.) Email: I do spam filtering with various tools, so put only me in the "To:" | |||
field, not in the "CC:" or "BCC:" field! No Subjects and text that could be | ||||
2.) Email: I do spam filtering with various tools, so put only me in the | flag by a rule based or fuzzy logic spam filter! | |||
"To:" field, not in the "CC:" or "BCC:" field! No Subjects and text that | ||||
could be flag by a rule based or fuzzy logic spam filter! | ||||
The email address is cfg2html@hotmail.com | The email address is cfg2html@hotmail.com | |||
Subject must begin with [cfg2html] | Subject must begin with [cfg2html] | |||
__ __ _ | __ __ _ | |||
\ \ / /__ _ __ ___(_) ___ _ __ ___ | \ \ / /__ _ __ ___(_) ___ _ __ ___ | |||
\ \ / / _ \ '__/ __| |/ _ \| '_ \/ __| | \ \ / / _ \ '__/ __| |/ _ \| '_ \/ __| | |||
\ V / __/ | \__ \ | (_) | | | \__ \ | \ V / __/ | \__ \ | (_) | | | \__ \ | |||
\_/ \___|_| |___/_|\___/|_| |_|___/ | \_/ \___|_| |___/_|\___/|_| |_|___/ | |||
------------------------------------------------------------------ | ------------------------------------------------------------------ | |||
A note on the version numbering... there is none of that odd/even numbering | A note on the version numbering... there is none of that odd/even numbering | |||
nonsense you find in Lin*xland. The numbers are based on | nonsense you find in Lin*xland. The numbers are based on | |||
skipping to change at line 367 | skipping to change at line 367 | |||
development. This usually means some core functionality was changed. | development. This usually means some core functionality was changed. | |||
To keep thing easier, the HP-UX releases have now the date (YYYYMMDD) in the | To keep thing easier, the HP-UX releases have now the date (YYYYMMDD) in the | |||
archives names. I also renamed the .sd to .depot The "B." is now omitted | archives names. I also renamed the .sd to .depot The "B." is now omitted | |||
e.g.: | e.g.: | |||
12.05.2004 138.290 cfg2html_hpux_2.66-20040512.depot.gz | 12.05.2004 138.290 cfg2html_hpux_2.66-20040512.depot.gz | |||
12.05.2004 135.246 cfg2html_hpux_2.66-20040512.tar.gz | 12.05.2004 135.246 cfg2html_hpux_2.66-20040512.tar.gz | |||
The Software Distributor format also changed from release "B.0" to "C.0" to fix | The Software Distributor format also changed from release "B.0" to "C.0" to | |||
updating problems plus I put now the also the date to the version number. | fix updating problems plus I put now the also the date to the version number. | |||
CFG2HTML B.02.65 Config To HTML System Documentation Tool by ROSE SWE | CFG2HTML B.02.65 Config To HTML System Documentation Tool by ROSE SWE | |||
to | to | |||
CFG2HTML C.02.66.20040512 Config To HTML System Documentation Tool (cfg2html) | CFG2HTML C.02.66.20040512 Config To HTML System Documentation Tool (cfg2html) | |||
for HP-UX by ROSE SWE | for HP-UX by ROSE SWE | |||
Starting with the HP-UX release 4.xx I also have added a build number to the | Starting with the HP-UX release 4.xx I also have added a build number to the | |||
tar/depot archive. The higher the build number the better :-) | tar/depot archive. The higher the build number the better :-) | |||
The build number is calculated from the CVS/RCS id keywords. | The build number is calculated from the CVS/RCS id keywords. | |||
skipping to change at line 451 | skipping to change at line 451 | |||
Tape devices do sequential I/O and may experience problems when commands like | Tape devices do sequential I/O and may experience problems when commands like | |||
ioscan are executed, direct access devices (DAS) like disk drives are not | ioscan are executed, direct access devices (DAS) like disk drives are not | |||
sensitive to this. For that reason we advise never to run this script when a | sensitive to this. For that reason we advise never to run this script when a | |||
backup is running on any of the tape drives that are connected to the system | backup is running on any of the tape drives that are connected to the system | |||
directly or in a zone in the Storage Area Network (SAN). | directly or in a zone in the Storage Area Network (SAN). | |||
cfg2html_hpux seems to hang sometimes, especially at "Hardware" and "MC/SG". | cfg2html_hpux seems to hang sometimes, especially at "Hardware" and "MC/SG". | |||
On a KeyStone, cfg2html needs for example more than 36 minutes to complete! | On a KeyStone, cfg2html needs for example more than 36 minutes to complete! | |||
To get the first impression where cfg2html hangs, change to the /tmp directory | To get the first impression where cfg2html hangs, change to the /tmp directory | |||
and issue an "ls -ltr". Depending on your hostname(1) you should see some files | and issue an "ls -ltr". Depending on your hostname(1) you should see some | |||
beginning with your hostname, e.g.: | files beginning with your hostname, e.g.: | |||
-rw-r--r-- 1 root sys 6713 Apr 28 10:37 test_neu.html | -rw-r--r-- 1 root sys 6713 Apr 28 10:37 test_neu.html | |||
-rw-r--r-- 1 root sys 1343 Apr 28 10:37 test_neu.txt | -rw-r--r-- 1 root sys 1343 Apr 28 10:37 test_neu.txt | |||
-rw-r--r-- 1 root sys 761532 Apr 28 10:37 test_neu.txt.13320 | -rw-r--r-- 1 root sys 761532 Apr 28 10:37 test_neu.txt.13320 | |||
-rw-r--r-- 1 root sys 763810 Apr 28 10:37 test_neu.html.13320 | -rw-r--r-- 1 root sys 763810 Apr 28 10:37 test_neu.html.13320 | |||
Do a "tail test_neu.txt" to see the last successful run command (headlines). | Do a "tail test_neu.txt" to see the last successful run command (headlines). | |||
Do a "test_neu.txt.13320" to see the output of last command, this gives you | Do a "test_neu.txt.13320" to see the output of last command, this gives you | |||
often a hint where cfg2html hangs, for example waits for a keystroke etc. | often a hint where cfg2html hangs, for example waits for a keystroke etc. | |||
If Diagnostics (cstm) hangs try the following and fix the errors cstm reports: | If Diagnostics (cstm) hangs try the following and fix the errors cstm reports: | |||
# cstm | # cstm | |||
Diag | Diag | |||
Map | Map | |||
SelAll | SelAll | |||
Information | Information | |||
wait | wait | |||
InfoLog | InfoLog | |||
Done | Done | |||
Exit | Exit | |||
OK | OK | |||
# | # | |||
cfg2html changes by Bill Hassell | cfg2html changes by Bill Hassell | |||
-------------------------------- | -------------------------------- | |||
cfg source = 5.25 - 20111229 | cfg source = 5.25 - 20111229 | |||
Change list: | Change list: | |||
1. Added: -s to print_manifest (hardware and software info is redundant here) | 1. Added: -s to print_manifest (hardware and software info is redundant here) | |||
This can remove 10 to 50 seconds off the total run time | This can remove 10 to 50 seconds off the total run time | |||
2. Added: bdfmegs.sh to the plugins directory | 2. Added: bdfmegs.sh to the plugins directory | |||
Replaced bdf -i with bdfmegs.sh -c 1 -vls: | Replaced bdf -i with bdfmegs.sh -c 1 -vls: | |||
File-System Mbytes Used Avail %Used Type Vr Lrg VGv Mounted | File-System Mbytes Used Avail %Used Type Vr Lrg VGv Mounted on | |||
on | /dev/vg00/lvol3 1048 449 599 43% vxfs 6 yes 1.0 / | |||
/dev/vg00/lvol3 1048 449 599 43% vxfs 6 yes 1.0 / | /dev/vg00/lvol1 1835 519 1305 28% vxfs 5 no 1.0 /stand | |||
/dev/vg00/lvol1 1835 519 1305 28% vxfs 5 no 1.0 /stand | /dev/vg00/lvol8 8912 5615 3297 63% vxfs 6 yes 1.0 /var | |||
/dev/vg00/lvol8 8912 5615 3297 63% vxfs 6 yes 1.0 /var | /dev/vg00/lvol7 4554 3322 1222 73% vxfs 6 yes 1.0 /usr | |||
/dev/vg00/lvol7 4554 3322 1222 73% vxfs 6 yes 1.0 /usr | /dev/vg00/lvol4 524 286 236 55% vxfs 6 yes 1.0 /tmp | |||
/dev/vg00/lvol4 524 286 236 55% vxfs 6 yes 1.0 /tmp | /dev/vg00/lvol6 10.8g 9283 1485 86% vxfs 6 yes 1.0 /opt | |||
/dev/vg00/lvol6 10.8g 9283 1485 86% vxfs 6 yes 1.0 /opt | memfs 262 0 262 0% memfs na -- n/a /memfs | |||
memfs 262 0 262 0% memfs na -- n/a /memfs | /dev/vg00/lvol5 131 8 122 6% vxfs 6 yes 1.0 /home | |||
/dev/vg00/lvol5 131 8 122 6% vxfs 6 yes 1.0 /home | /dev/vgbig/lvol1 655.4g 490.2g 154.9g 76% vxfs 7 yes 1.0 /atl1bk | |||
/dev/vgbig/lvol1 655.4g 490.2g 154.9g 76% vxfs 7 yes 1.0 /atl1bk | /dev/vg2.1/lvol2.1 102.4g 22.5g 74.9g 23% vxfs 6 yes 2.1 /mnt2 | |||
/dev/vg2.1/lvol2.1 102.4g 22.5g 74.9g 23% vxfs 6 yes 2.1 /mnt2 | -- sum totals ---- 785.8g 532.1g 238.3g --- sum totals --- | |||
-- sum totals ---- 785.8g 532.1g 238.3g --- sum totals --- | ||||
This list is sorted by VGname, handles all types of filesystems and for 11.31 | This list is sorted by VGname, handles all types of file systems and for | |||
+ | 11.31+ will show version 2.xx VGs. | |||
will show version 2.xx VGs. | ||||
3. RECHNER=$(hostame) | 3. RECHNER=$(hostame) | |||
Rather than `uname -n` to handle long hostnames properly | Rather than `uname -n` to handle long hostnames properly | |||
4. Add separation headers for 2 ioscans and add ioscan -kF | 4. Add separation headers for 2 ioscans and add ioscan -kF | |||
5. Fix get_mirror_missmatch.sh plugin to handle any names for VGs | 5. Fix get_mirror_missmatch.sh plugin to handle any names for VGs | |||
In the plugin, the code was: | In the plugin, the code was: | |||
for i in /dev/vg*/lv* | for i in /dev/vg*/lv* | |||
which will not handle non-standard naming conventions | which will not handle non-standard naming conventions The replacement line (to | |||
The replacement line (to handle any naming convention) is: | handle any naming convention) is: | |||
for i in $(/usr/sbin/vgdisplay -v |grep "LV Name" |awk '{print $3}') | for i in $(/usr/sbin/vgdisplay -v |grep "LV Name" |awk '{print $3}') | |||
6. Modified plug_ins/check_space.sh by reducing redundant LVM and bdf calls, tim | 6. Modified plug_ins/check_space.sh by reducing redundant LVM and bdf calls, | |||
e reduced by 1/2 | time reduced by 1/2 | |||
7. Changed ps|grep to UNIX95 ps -C exact_match | 7. Changed ps|grep to UNIX95 ps -C exact_match | |||
exec_command "UNIX95= ps -f -C biod,nfsd" "NFSD and BIOD utilization" | exec_command "UNIX95= ps -f -C biod,nfsd" "NFSD and BIOD utilization" | |||
Removed export UNIX95=yes to prevent global side effects | Removed export UNIX95=yes to prevent global side effects | |||
Added UNIX95= to the -Hef (hierarchical) listing | Added UNIX95= to the -Hef (hierarchical) listing | |||
8. Replaced cat_and_grep with awk one-liner | 8. Replaced cat_and_grep with awk one-liner | |||
Replaced various grep -v ^#...etc with cat_and_grep | Replaced various grep -v ^#...etc with cat_and_grep | |||
9. Changed osrev code, added osrevdot | 9. Changed osrev code, added osrevdot | |||
osrevdot=$(uname -r | cut -d. -f 2,3) # 11.31 | osrevdot=$(uname -r | cut -d. -f 2,3) # 11.31 | |||
osrev=$(echo $osrevdot | cut -d . -f1) # 11 | osrev=$(echo $osrevdot | cut -d . -f1) # 11 | |||
osrev100=$(echo $osrevdot | tr -d ".") # 1131 | osrev100=$(echo $osrevdot | tr -d ".") # 1131 | |||
10. Added -T option to trace each command (exec_command) and show elapsed time. | 10. Added -T option to trace each command (exec_command) and show elapsed time. | |||
Modified paragraph() and exec_command() with CFG_TRACETINE | Modified paragraph() and exec_command() with CFG_TRACETINE | |||
11. Removed the ISEE section and warning. It is not clear how to remove the serv | 11. Removed the ISEE section and warning. It is not clear how to remove the | |||
ices (swlist name?) | services (swlist name?) | |||
/* end */ | /* end */ | |||
End of changes. 28 change blocks. | ||||
131 lines changed or deleted | 125 lines changed or added |