- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Submit Very Basic System administration comman...
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
Forums
Discussions
Discussions
Discussions
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
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
01-15-2002 08:49 PM
01-15-2002 08:49 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 08:56 PM
01-15-2002 08:56 PM
Re: Submit Very Basic System administration commands and win easily points
#init 1--4
to go into GSP
#^B
to come out of GSP
GSP>co
to reset the system in case of hang
GSP>rs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 09:22 PM
01-15-2002 09:22 PM
Re: Submit Very Basic System administration commands and win easily points
stty +resetGSP
helped me a few times.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 10:24 PM
01-15-2002 10:24 PM
Re: Submit Very Basic System administration commands and win easily points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 10:38 PM
01-15-2002 10:38 PM
Re: Submit Very Basic System administration commands and win easily points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 12:13 AM
01-16-2002 12:13 AM
Re: Submit Very Basic System administration commands and win easily points
Commands for cluster:
cmhaltpkg pkgname (shutdown the package)
cmrunpkg -v -n nodename pkgname (startup the package)
cmviewcl (Show the status for package)
cmviewcl -v (Show detailed statusby package)
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 12:23 AM
01-16-2002 12:23 AM
Re: Submit Very Basic System administration commands and win easily points
FLASHING ATTENTION LIGHT :-
From a console session, login and press CRTL.
Enter sl (Show Logs)from the command line e.g. GSP> sl
You will be prompted to select the logs you wish to view, select "e" for the error logs.
View the error logs.
Enter q from the command line to end the session.
Enter "co" to return to the console.
The attention light should now be off.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 12:23 AM
01-16-2002 12:23 AM
Re: Submit Very Basic System administration commands and win easily points
Very important and simple, to do a make recovery tape:
/opt/ignite/bin/make_recovery -ACv
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 12:36 AM
01-16-2002 12:36 AM
Re: Submit Very Basic System administration commands and win easily points
Trusting and on-trusting a system.
# /usr/lbin/tsconvert (to trust)
# /usr/lbin/tsconvert (to untrust)
When trusting a system make sure that
the users know that they will need to
change their passwords.
To administer a trusted system:
# /usr/lbin/modprpw -k
(this will unlock an account)
See the man pages in the attached
thread....
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x98153d853cd9d5118ff40090279cd0f9,00.html
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 12:36 AM
01-16-2002 12:36 AM
Re: Submit Very Basic System administration commands and win easily points
Quick and easy way to check if your server just rebooted itself or crashed due to a hardware problem;
cd /var/tombstones
grep chassis $(ls | tail -1)
If it says; No HPMC chassis codes logged
Then no hardware problem. If there are some hex numbers there then you need to pass them to HP to check what hardware caused the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 12:44 AM
01-16-2002 12:44 AM
Re: Submit Very Basic System administration commands and win easily points
Go to single user mode:
shutdown (without prameters)
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 12:45 AM
01-16-2002 12:45 AM
Re: Submit Very Basic System administration commands and win easily points
umount /dev/vg00/lvol1
lvextend -L larger_size /dev/vg00/lvol1
extendfs -F hfs /dev/vg00/rlvol1
mount /dev/vg00/lvol1 mount_directory
Hope this helps.
Kenny.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 02:29 AM
01-16-2002 02:29 AM
Re: Submit Very Basic System administration commands and win easily points
# sam -r
Allows you to easily restrict users in the execution of commands with root privileges.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 02:29 AM
01-16-2002 02:29 AM
Re: Submit Very Basic System administration commands and win easily points
To run a script in background mode:
myscript &
nohup myscript &
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 02:46 AM
01-16-2002 02:46 AM
SolutionBefore crash!:
- /opt/ignite/bin/make_recovery -AvC
(C option to create config file used to check wether new make_recovery has to be run)
-/opt/ignite/bin/check_recovery
After crash:
- replace root disk
- insert recovery tape in drive
- boot system
- Interupt boot sequence and boot from tape
- Choose "Install HP-UX" to get things back, or "Advanced options" if you want to make filsystem changes etc.
And you are fit to go.
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 04:12 AM
01-16-2002 04:12 AM
Re: Submit Very Basic System administration commands and win easily points
Basic commands to copy files and directories to a tape:
fbackup/frestore
tar
cpio
dd
Basic commands for compress/uncompress files and directories:
gzip
compress/uncompress
pack/unpack
zcat
Commands for translate from ascii dos format to Unix format and viceversa:
dos2ux
ux2dos
Commands to transfer files between boxes:
ftp
rcp
remsh hostname cat file > file
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 04:12 AM
01-16-2002 04:12 AM
Re: Submit Very Basic System administration commands and win easily points
tail -20 /etc/shutdownlog
Other things:
-------------
# ioscan -fnk
is much much faster (and more than likely what you want to do) than a full ioscan -fn
# nettladm
Nice graphical interface to nettl subsystem logging.
/usr/sbin/remove_patches
is quite useful when short on disk space.
# mstm (or xstm)
are nice ways to check hardware paths and test hardware.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 04:36 AM
01-16-2002 04:36 AM
Re: Submit Very Basic System administration commands and win easily points
A good way to find 'garbage' characters in an ascii file is to use 'ed'. When in the editor ',l' will produce the entire file with all unprintable characters, '.l' will give you a line at a time.
- Tags:
- unprintable chars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 05:23 AM
01-16-2002 05:23 AM
Re: Submit Very Basic System administration commands and win easily points
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 06:00 AM
01-16-2002 06:00 AM
Re: Submit Very Basic System administration commands and win easily points
# strings file
this will give you list off man readable strings, good for core files, lvmtab...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 06:14 AM
01-16-2002 06:14 AM
Re: Submit Very Basic System administration commands and win easily points
ps -ef
can append this with |more for single pages, and |grep "string" to search for specifics
Once the PID number is known:
kill PID
to kill process, add -9 to force it (may cause zombie processes)
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 06:19 AM
01-16-2002 06:19 AM
Re: Submit Very Basic System administration commands and win easily points
# inetd -c
2) Edit current cron file:
# crontab -e
3) Password file secure editor:
# vipw
4) Display and modify variables in the stable storage. In another words, change primary and alternate boot paths from command line:
# setboot
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 06:38 AM
01-16-2002 06:38 AM
Re: Submit Very Basic System administration commands and win easily points
You can use the following information to determine which device
generates the lbolt/timeout errors:
1f 02 6 0 00
__ __ _ _ __
| | | | |
major# | target | flags
| |
bus# lun
Per this information:
- major# (1f) is 31 in decimal, and major number 31 should be
sdisk on your system.
- bus# (02) is the card instance number to which the device is
attached.
- target (6) is the device's scsi id.
- lun (0) is the device's logical unit number.
Therefore, this device maps to /dev/dsk/c2t6d0.
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 06:43 AM
01-16-2002 06:43 AM
Re: Submit Very Basic System administration commands and win easily points
search for missing or bad hardware
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 06:46 AM
01-16-2002 06:46 AM
Re: Submit Very Basic System administration commands and win easily points
Build kernel manually.
#cd /stand
#cp /stand/vmunix /stand/vmunix.OLD
#cp /stand/system /stand/system.OLD
#cd /stand/build
#/usr/lbin/sysadm/system_prep -v -s system
#vi system ->edit file for needed parameters
or use kmtune to change kernel parameter
#kmtune -s
#mk_kernel -s /stand/build/system -v
#mv /stand/build/system /stand/system
#kmupdate
#cd
#/etc/shutdown -r -y 0
Thanks.
Prashant.