Wednesday, October 22, 2008
HP-UX Boot process
Ever wondered what happens when u trun on a system, be it a windows or linux or any other OS ? well, here is a chance for us to learn what happens when we trigger the power button on an HP system. This small journey of ours will drive us to the booting process, startup and shutdown process of HP-UX.
A set of code or instructions is written on how a system should act when initiated a boot called the Processor dependent code (PDC) . This code (PDC) executes and performs self-tests and some initialization tasks. The code that we are talking here is set on a piece of chip called the ROM.
What is ROM : Read-Only Memory or ROM is an integrated-circuit memory chip that contains configuration data. ROM is commonly called firmware because its programming is fully embedded into the ROM chip. As such, ROM is a hardware and software in one.
Once the self-tests and the starting initialization part is completed this code then loads the HP-UX kernel and hands control to the kernel. Now the kernel gets in action which does a number of system initializaiton tasks before we get to a login prompt on a console or terminal.
Sunday, August 10, 2008
HP-UX 11i
About HP-UX 11i
- What is HP-UX 11i?
- What does the "i" signify?
- I was expecting HP-UX 11.11. What happened to it?
- When will HP go back to the old numbering scheme?
- I heard HP-UX 11i was only for Superdome.
This is not true. HP-UX 11i is the operating system that enables the new Superdome high-end server. However, HP-UX 11i is truly an enterprise-wide release in that it supports all HP-UX workstations, technical servers, and commercial servers that are now capable of running HP-UX 11.0.
- What systems does HP-UX 11i support?
- Are there any other hardware restrictions?
My system has a 32-bit CPU. Can I use the 64-bit HP-UX 11i operating system?
Many of the systems listed above are 32-bit only. If your 32-bit system is on that list, then it certainly can run HP-UX 11i. Even though HP-UX 11i is presented as a complete 64-bit operating system, it has a 32-bit mode of operation that lets it run on legacy 32-bit systems.
- What about my applications? They are all built for my 32-bit systems. Do I have to get new, 64-bit applications?
- What are the three most significant new features delivered in HP-UX 11i?
• Bundling of HP-UX into market focused operating environments
• Consolidation of the user-based HP-UX license to use into one unlimited user LTU
• Complete binary compatibility with applications currently running on HP-UX 11.0
operating environments
- What are operating environments?
- What are the four operating environments?
2. Enterprise operating environment
3. Mission critical operating environment
4. Technical computing operating environment
The first three operating environments support only commercial servers. The technical computing operating environment is for technical workstations and technical servers.
- What distinguishes them from each other?
- What determined their contents?
- My system has a 32-bit CPU. Can I use the 64-bit HP-UX 11i operating system?
HP-UX link : http://h20338.www2.hp.com/hpux11i/cache/458092-0-0-0-121.html - > Click this link for all news about HP-UX
Thursday, March 20, 2008
HP-UX Command Help Guide
Command Guide :
Navigating options :
- Esc + k - view previously used commands, press k to view more history commands.
- press Esc twice - For auto completetion you should press Esc key two times after typed first few characters.
Note : This option will not work on csh, This is good on POSIX shell "/usr/bin/sh" or its subset ksh "/usr/bin/ksh"
- LAST LINE MODE
/PATTERN search forward
?PATTERN search backwards
/ or ? or n repeat last search
N reverse last search
:w write buffer to disk
:w NEWFILE write buffer to NEWFILE
:w >> FILE append buffer to FILE
:w! FILE force a write to FILE
:wq write then quit
:q quit
:q! quit without writing
:f show file name and line #
:cd DIRECTORY change DIRECTORY
:r read file into buffer
:r FILE read named FILE
:e edit
:e! discard buffer and edit
:e FILE edit a FILE
:e # pop between files
:s/OLD/NEW/ current line sub. 1st
:s/OLD/NEW/g current line sub. all
:1,7s/OLD/NEW lines 1-7 sub. all
:%s/OLD/NEW all lines sub. 1st
:%s/OLD/NEW/g all lines sub. all
:%s/^/PATTERN /g insert PATTERN at beginning of line all lines
:%s/$/ PATTERN/g insert PATTERN at end of all lines
:set nu show line numbers
:set nonu hide line numbers
:set sm enable matching ()s
:set nosm disable matching ()s
$ end of line
^ beginning of line
/ search
:%s/.$// remove last character on every line
INSERT MODE
a append after cursor
A append at end of line
i insert before cursor
I insert at start of line
open a line below cursor
open a line above cursor
cw change word at cursor
c#w change # of words
C change text to end of line
r replace a character
R replace text unti
#aadd # copies of text
#aadd # copies of text at line end
#iinsert # copies of text
#Iinsert # copies of text at line start
^w erase last wordgo to command mode
COMMAND MODE
h move cursor left
l move cursor right
j move cursor down one line
k move cursor up one line
G go to end of file
#G go to line #
H go to top of screen
M go to middle of screen
L go to bottom of screen
w move cursor forward one word
b move cursor back one word
#w move cursor forward # words
#b move cursor back # wordsF scroll forward one page B scroll back one page
x delete character
dd delete line
#dd delete # lines
dw delete word
#dw delete # words
d$ delete to end of line
P paste before cursor
p paste after cursor
"vp paste buffer v after cursor
xp transpose two characters
Y yank a line
#Y yank # lines
"v#Y yank # lines to buffer v
. repeat last commandG show which line on
u undo
CHANGE A VALUE THROUGHT A FILE
:g/$oldpattern/s//$newpattern/g
this was for changing DNS values in the db.* files
:g/SOA/s/$oldpattern/$newpattern/g
The 'g' at the beginning and end of the command indicate that the changes are to occur horizontally and vertically
Command to view Service Gard related process :
#cmviewcl -v
-------------------------------------------------------------------------
- location of syslog file and pk log file :
#tail -n 16 /var/adm/syslog/syslog.log
-------------------------------------------------------------------------
Normally Pkg log will be in the location :
/etc/cmcluster/pkgname/
-------------------------------------------------------------------------
Check Disk Utilization :
bdf
-------------------------------------------------------------------------
Check large file of a given directory :
find /(name of the directory, without brackets) -type f -size +30000 -exec ls -l {} \; more
-------------------------------------------------------------------------
To check if the process is running :
ps -ef grep -i (name of the process)
-------------------------------------------------------------------------
Formula to calculate the nfile parameter :
((16*(Nproc+16+MaxUsers)/10)+32+2*(Npty+Nstrpty)
-------------------------------------------------------------------------
- Restarting syslogd process :
Login as root user :
ps -ef grep syslogd
cp -p syslog.log syslog.log.xxx
cd /var/adm/syslog
ls -lrt
/sbin/init.d/syslogd start
# gzip syslog.log.xxx ( Zip the copied file to save the file )
ps -ef grep syslogd
-------------------------------------------------------------------------
Check if DSS tape is loaded or not :
mt -f
-------------------------------------------------------------------------
To enable package switching and start the package :
# cmmodpkg -e ov-server and #cmrunpkg -n nodename ov-server
-------------------------------------------------------------------------
To be continued....
Thursday, August 23, 2007
All about Lotus Notes
Lotus Notes is a client-server, collaborative application owned by IBM Software Group. IBM defines the software as an "integrated desktop client option for accessing business e-mail, calendars and applications on [an] IBM Lotus Domino server."
Features
The Notes client is mainly used as an email client, but also acts as an instant messaging client (for Lotus Sametime), browser, notebook, and calendar/resource reservation client, as well as a platform for interacting with collaborative applications. People who support the Notes client regard the easy interoperability of all of these roles as a major advantage in multiple-application business environments. In the early days of the product, the most common applications were threaded discussions and simple contact management databases. Today Notes also provides blogs, wikis, RSS aggregators, CRM and Help Desk systems, and organizations can build a variety of custom applications for Notes using Domino Designer.
IBM Lotus Notes 7 customized Welcome Page.
Lotus Notes Page in Lotus Notes 6.5
Lotus Notes Release 5 client workspace
The Notes client can be used as an IMAP and POP e-mail client with non-domino mail servers. Recipient addresses can be retrieved from any LDAP server, including Active Directory. The client also does web browsing although most people configure it to launch their default browser instead.
Features include group calendaring and scheduling, SMTP-based e-mail (HTML based e-mail is available to Java developers), NNTP-based news support, and automatic HTML conversion of all documents by the Domino HTTP task.
Notes instant messaging allows you to see your coworkers online and have chat sessions with them. A chat session can be with one person or multiple people (an instant meeting).
In its latest version (7), Notes provides a web services interface. Domino can be a web server for HTML files too; authentication of access to Domino databases or HTML files uses Domino's own user directory and external systems such as Microsoft's Active Directory.
A design client is available to allow rapid development of databases consisting of forms, which allow users to create documents; and views, which display selected document fields in columns.
In addition to being a "groupware" system (e-mail, calendaring, shared documents and discussions), Notes/Domino is also a platform for developing customized client-server and web applications. Its use of design constructs and code provide capabilities that facilitate the construction of "workflow" type applications (which may typically have complex approval processes and routing of data).