- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: where is the HPUX log file ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 03:52 AM
тАО02-13-2009 03:52 AM
I want to know which log file show me if my disk on my mirrored hpux server is down.
thank u.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 04:01 AM
тАО02-13-2009 04:01 AM
Re: where is the HPUX log file ?
have a look in /var/adm/syslog/syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 04:02 AM
тАО02-13-2009 04:02 AM
Re: where is the HPUX log file ?
Just use #vgdisplay -v
To check only the root vg(VG00)
#lvdisplay -v /dev/vg00/lvol* |grep stale
To check all the Volume groups.
#vgdisplay -v |grep -i "LV Status"
The above should show all LV status as "available/syncd" . If the status is "available/stale" then there is a disk failure
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 04:07 AM
тАО02-13-2009 04:07 AM
Re: where is the HPUX log file ?
Not only for disk, all hardware failures will be logged in /var/opt/resmon/log/event.log.
You can have a look into that if you suspect any disk failure.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 04:42 AM
тАО02-13-2009 04:42 AM
Re: where is the HPUX log file ?
But do u have an idea what would be the entry in this log file if any hard disk is down.
Actually we are looking to monitor our server via OVO and they are asking me to provide them the error logfile entry, and my server is fine so how can I predict what would be the entry in case of failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 05:06 AM
тАО02-13-2009 05:06 AM
SolutionYou can see the entry like below in event.log in case of disk failure.
>---------- End Event Monitoring Service Event Notification ----------<
>------------ Event Monitoring Service Event Notification ------------<
Event Time..........: Thu Oct 30 19:09:35 2008
Severity............: CRITICAL
Monitor.............: disk_em
Event #.............: 100270
System..............:
Summary:
Disk at hardware path 0/4/0/0.10.0 : Hardware failure
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 06:09 AM
тАО02-13-2009 06:09 AM
Re: where is the HPUX log file ?
Normally the fastest way to detect a down hard drive is there is an lbolt message in /var/syslog/syslog.log
grep -i lbolt /var/syslog/syslog.log
I put a variant on that in a script and then email Operations when lbolts are found.
Generally I check with cron nightly.
Good mailing script:
http://www.hpux.ws/?p=7
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 07:33 AM
тАО02-13-2009 07:33 AM
Re: where is the HPUX log file ?
xxx# vgdisplay -v /dev/vg00 | grep dsk
PV Name /dev/dsk/c1t2d0
echo 2400?20X | adb
xxx# echo 2400?20X | adb /dev/dsk/c1t2d0
2400: 44454645 43543031 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
this is a good disk counts,zero means good news; no any Bad Sector occurs in this disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 07:42 AM
тАО02-13-2009 07:42 AM
Re: where is the HPUX log file ?
vi /etc/syslog.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 10:25 AM
тАО02-13-2009 10:25 AM
Re: where is the HPUX log file ?
dmesg -| grep -i scsi
and look for non empty output.
Actually all this output there is in the /var/adm/syslog/syslog.log file, but dmesg - gives an output of changes, so it's a bit easier to look for HW error there.
HTH