Operating System - HP-UX
1834431 Members
2095 Online
110067 Solutions
New Discussion

Preparing System Document

 
SOLVED
Go to solution
Vijaya Kumar_3
Respected Contributor

Preparing System Document

Hi all,

I am in a new assignment to document around 10 hp-ux servers here along with some linux and solaris servers.

I am running the following Softwares on my hp boxes:
1. MCSG
2. HPOV Omniback II 3.5
3. OnlineJFS
4. MirrorDX-UX
5. VxVM
6. Oracle 8.1.7 and 9.2.0


If anyone have some blank system documentation, kindly send it to me. I will prepare a consolidated final document with all the input given by you along with my docuements and post it here for you all..

Looking for your help.

My email ID: cvijay at hexaware dot com

Thanks
Vijay

Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Preparing System Document

Vijay,

What is it you want to document? Hardware? Software?

You could start with the Ignite print_manifest command.

Software you can get from swlist.

Ioscan can be useful, along with diskinfo, lanscan, lanadmin.

I also use some small scripts for cpu info, RAM, etc:

echo `hostname` "is a " `model |sed 's/9000\/800\///' |sed 's/9000\/899\///'` "with" `ioscan -k |grep -n p
rocessor |wc -l` `cpuspeed` "Mhz processors and" `memory` "KB of memory"



the cpuspeed script looks like this:

HPUX=/stand/vmunix

MHZ=$(echo itick_per_tick/D \
| adb -k $HPUX /dev/kmem \
| tail -1 \
| awk '{print $2/10000}')
echo $MHZ



the memory script looks like this:

HPUX=/stand/vmunix
MAJORREV=$(uname -r | cut -f2 -d .)
if [ $MAJORREV -ge "11.0" ]
then
MYSYMBOL="phys_mem_pages"
else
MYSYMBOL="physmem"
fi

MYMEM=$(echo "${MYSYMBOL}/D" \
| adb $HPUX /dev/kmem \
| grep "${MYSYMBOL}: *." \
| awk '{printf "%.0f MB\n",$2/256}')
echo $MYMEM




Pete



Pete
Vijaya Kumar_3
Respected Contributor

Re: Preparing System Document


Thats a great help Pete.
I appreciate it.

I am planning to do both hardware and software documentation. I attached a sample hardware documentation I prepared from docs.hp.com site. I need similar document something more easy to understand ...

if u have any such sample document for software and hardware document, kindly send me

thanks
Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Steven E. Protter
Exalted Contributor
Solution

Re: Preparing System Document

See attached script:

We run it weekly in cron.


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
John Payne_2
Honored Contributor

Re: Preparing System Document

I use a script called 'cfg2html', which gets a large amount of what you may be looking for. (It also creates output in both text and html format.) I do more for docuemntation than this, but it is a good start. Look at http://come.to/cfg2html

What else do I do, do you ask? I run system fragmentation checks once a month, I keep a spreadsheet of all changes I make to systems, and I have HW documentation for the different types of servers on our floor stored away.

Hope it helps

John

Spoon!!!!
Hemanth Gurunath Basrur
Honored Contributor

Re: Preparing System Document

Hi Vijay,

These will also be helpful.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/32070-90030/32070-90030_top.html&con=/hpux/onlinedocs/32070-90030/00/00/37-con.html&toc=/hpux/onlinedocs/32070-90030/00/00/37-toc.html&searchterms=worksheet&queryid=20030929-104210

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/32070-90030/32070-90030_top.html&con=/hpux/onlinedocs/32070-90030/00/00/39-con.html&toc=/hpux/onlinedocs/32070-90030/00/00/39-toc.html&searchterms=worksheet&queryid=20030929-104210

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B5158-90019/B5158-90019_top.html&con=/hpux/onlinedocs/B5158-90019/00/00/90-con.html&toc=/hpux/onlinedocs/B5158-90019/00/00/90-toc.html&searchterms=worksheet&queryid=20030929-104210

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/mpeix/onlinedocs/36922-90043/36922-90043_top.html&con=/mpeix/onlinedocs/36922-90043/00/00/23-con.html&toc=/mpeix/onlinedocs/36922-90043/00/00/23-toc.html&searchterms=worksheet&queryid=20030929-104210

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/J4269-90016/J4269-90016_top.html&con=/hpux/onlinedocs/J4269-90016/00/00/43-con.html&toc=/hpux/onlinedocs/J4269-90016/00/00/43-toc.html&searchterms=worksheet&queryid=20030929-104210

And there are lots more in http://docs.hp.com. Just give "worksheet" in the search criteria and bingo, there are lot of worksheets for you to use.

Hope this helps.

All the very best for creating an excellent system document.

Regards,
Hemanth

Hari Kumar
Trusted Contributor

Re: Preparing System Document

Hi,
The attached script i got from HP personal, thanks to him it is a very nice and famous one.
Find the attachment, which gives you the exact documentation in HTML format and stores in /tmp.
Copy the script in /tmp, run it, it will create /opt/contrib directory and go to
/opt/contrib/bin and run it from there.

Thanks,
Information is Wealth ; Knowledge is Power