- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: List of common mistakes
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
тАО10-25-2010 11:27 AM
тАО10-25-2010 11:27 AM
Is there a list on common mistakes to be avoided while performing system admin tasks on HP-UX ?
Thanks,
Manoj
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2010 11:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2010 06:39 PM
тАО10-25-2010 06:39 PM
Re: List of common mistakes
you may be so experienced, still you can make typo. Recheck each command before you run it.
verify thrice , before you use -R
Never do the changes in which you have doubt!!
More important: Never deviate from the process defined by your firm. They will forgive you for manual errors but not for deviating from the process..
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2010 08:00 PM
тАО10-25-2010 08:00 PM
Re: List of common mistakes
>> tar does not ask anything it just replace.
2. never use * with rm commands in any way.
3. don be too fast in doing things take your time.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2010 08:23 PM
тАО10-25-2010 08:23 PM
Re: List of common mistakes
Using SAM reduces the complexity of most administration tasks. SAM minimizes or eliminates the need for detailed knowledge of many administration commands, thus saving valuable time. Use SAM whenever possible, especially when first mastering a task. Some tasks cannot be done by SAM, in which case you will need to use the HP-UX commands. Sometimes you will need to use commands manually for troubleshooting and specialized tasks However, SAM is the tool of choice for most administration work.
Even elephants do slip...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2010 11:05 PM
тАО10-25-2010 11:05 PM
Re: List of common mistakes
1. While performing any activity, record everything using "script" command to have details of each and every step/output and/or increase the buffer size of the window depending on the situation. This will help troubleshoot the problem if anything goes wrong in the activity.
2. Sometimes, we as root will be working on a terminal and will use previous command keys (ctrl+k) to immediately execute the last command. But if someone else is also logged in as root, he may be running some other commands. So we would, by mistake run the last command (issued by another user). Bottomline, if you are using "ctrl+k" key for using previous commands, have a look on them before executing.
Regds..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2010 11:22 PM
тАО10-25-2010 11:22 PM
Re: List of common mistakes
Yes, all can avoid common mistakes while doing system admin tasks.
1) We should more attention to work while running any command.
2)While rebooting or shutdown the server check the hostname and IP address to verify ur working on correct system.
3)While flushing the mount points also we should assure that we are on correct system before u do that.
4)While taking clone also u should be careful.
5)While remove directory dont use * unless ur confident to do that.
6)While chmod/chown check ur on correct directory where u want to change otherwise u will land in trouble.
Experience is the BEST Teacher, U should learn from ur mistakes, not to repeat it.
Hope ur query resolved.
Don't forget to assign points
Regards
Vishnu Khandare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2010 12:12 AM
тАО10-26-2010 12:12 AM
Re: List of common mistakes
UX has no trash can, so what you delete is deleted.
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2010 01:36 AM
тАО10-26-2010 01:36 AM
Re: List of common mistakes
Of course I am now writing about systems that have multiple people with kernel-level access.
(even the concept of the need to login as root makes me a little sick. Other OSes have facilities to grant enhanced rights to selected individuals. THAT makes tracing much easier, and responsibilities much clearer).
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2010 01:58 AM
тАО10-26-2010 01:58 AM
Re: List of common mistakes
A few from me here..
(a) Always refer syslog for any error related to system before start looking in to the issue.
(b) Prepare an Action Plan ,Roll back Plan and Identify the Risks involved and Plan to Mitigate the risks before doing any major change.
(c) Always capture the below o/p before reboot the box.
bdf
swapinfo -tam
strings /etc/lvmtab
grep initdefault /etc/inittab
(d) Do changes one at a time during trobleshooting
(e) Update latest patches (double stared ones) ,qualerly and update HW firmwares yearly.
Thanks for initiating a this thread,this is a good experience sharing thread.
With Regards,
Aneesh