1855394 Members
4639 Online
104110 Solutions
New Discussion

Re: General Guidence

 
meeraviji
New Member

General Guidence

hi gurus

im new to HP I want to know the following things

1.Installation of HP -UX step by step details

2.About UNIX95 enviranmental variables with examples of all options

3. Backup and recovery of fbackup & frecovery , tat ,etc step by step

4. Performance monitoring step by step in all level of problems and solving methods

pls answer and help me ASAP

Thankssssssssssssssssssssss in advance
6 REPLIES 6
G. Vrijhoeven
Honored Contributor

Re: General Guidence

Hi,

If you like to read up you could start using the docs.hp.com site. This site will provide all the manuals you will need.

HTH,

Gideon
Geoff Wild
Honored Contributor

Re: General Guidence

Installation and Update Guide:

http://docs.hp.com/en/5991-0792/index.html

UNIX95? Well the standard is here:

http://docsrv.sco.com/DIFFS/UNIX95_Conformance.html

Example:

#!/bin/ksh
# usermem - display memory claimed by a user
# gwild 06232003
#
if [ $# -lt 1 -o \( $# -gt 1 -a $# -lt 4 \) ]
then
echo "Usage:"
echo "usermem \"userid\""
echo "Example:"
echo "usermem gwild"
exit 1
fi
echo " "

USER=$1
t=0
for j in `UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | grep -v Kbytes | grep $USER | awk '{print $1}'`
do
t=`expr $t + $j`
done
echo "\nMemory claimed by $USER: $t Kbytes.\n"

Backups, etc:

http://docs.hp.com/en/B2355-90912/B2355-90912.pdf

Ignite:

http://docs.hp.com/en/B2355-90893/index.html

Performance:
http://docs.hp.com/en/1219/tuningwp.html

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Raj D.
Honored Contributor

Re: General Guidence

Hi Meeraviji ,

1. http://docs.hp.com/en/5971-4264/ch01.html

In short:
i] Put the CD into the CD Drive.
ii] At PDC check boot path. And set through CD.
iii] boot CD_PATH (at PDC).
iv) rest installaton process will guide you.
Check the link for details.

3. Backup and recovery can be done with fbackup and tar. Ignite is a good utility to take system backup. Check # man make_tape_recovery

4. Performance monitoring:
a] CPU :
# sar -u -M 5 5
# glance
# top

b] Memory Monitoring.
# glance
# vmstat 5 5

c] virtual memory
# vmstat 5 5 [ Check for pagein pageout values ,]

d] io Monitoring:
# iostat 5 5

e] Network:
# netstat

f] kmtune [ to set & check kernel parameters ]


Hope this will help you,
Cheers,

Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Raj D.
Honored Contributor

Re: General Guidence

Hi Meeraviji,

for Question 2. here it is :


UNIX95 Commands/Libraries
--------------------------


HP-UX commands and libraries conform to X/Open Portability Guide Issue 4, Version 2, also known as UNIX95.

See the section "Library Routines (libc)" in Chapter 6 for details on specific changes within each libc interface or command. For a complete list of UNIX95 commands and interfaces, consult the appropriate "X/Open CAE Specification, Issue 4, Version 2" publication or Going Solo published by Prentice Hall. Going Solo also includes a CD ROM that contains the above specification in addition to other UNIX95 manpages.

To enable full UNIX95 behavior, do the following:

Set the environment variable UNIX95. For example, for the POSIX ksh shell:
export UNIX95=




Pre-pend the path /usr/xpg4/bin to the $PATH. For example, for the POSIX ksh shell:


export PATH="/usr/xpg4/bin:$PATH"



To build UNIX95- conformant applications, follow the above steps, in addition to the following:

Define the compile option _XOPEN_SOURCE_EXTENDED=1. See the cc manpages for more details.

Some UNIX95 behavior is not binary-compatible with previous HP-UX behavior. Thus, it is advisable to enable full UNIX95 behavior only in applications that have been verified to work in the UNIX95 environment. If an application has not been verified to work in the UNIX95 environment or if compatibility with previous HP-UX behavior is desired, it is not recommended to enable the full UNIX95 behavior as described above.



Enjoy ,

hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Sยภเl Kย๓คг
Respected Contributor

Re: General Guidence

Hi,

As you are new to HPUX, I would recommend you to visit http://www.docs.hp.com, where you can find almost all related docs. Go through those docs and if have any doubts, u can post your queries, rather than asking for a capsule kind of answers as it will stop your growth itself.

Regards,
Sunil
Your imagination is the preview of your life's coming attractions
Raj D.
Honored Contributor

Re: General Guidence

Also Meeraviji , keep a good touch with this forum , to gain good knowledge on hp-ux. And keep on posting your queries when you tried your best and need to know from the forum.

Here is a good book, :
HP-UX 11i Systems Administration Handbook and Toolkit, Second Edition.

Link: http://www.amazon.com/gp/product/0131018833/103-8194516-7258200?v=glance&n=283155&%5Fencoding=UTF8&v=glance

Publisher : Prentice Hall PTR
Pages: 1440.


Finally keep assigning points to your responses and make your forum profile better and get quick response.

Enjoy the forum,
hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "