Number of Processors:
#top
#ioscan -Cprocessor
To find out the core:
#echo "selclass qualifier cpu;info;wait;il" | cstm
Thursday, June 3, 2010
Wednesday, May 26, 2010
HP-UX: Booting from an alternate kernel
HP-UX: Booting from an alternate kernel
Press a key, while PDC is waiting for the 10 seconds manual overide.
Autosearch for boot path enabled
To override, press any key with 10 seconds.
Boot from primary boot path (Y or N)?> N
Boot from alternate boot path (Y or N)?> N
Enter boot path, comman, or ?>
console>boot
Interact with IPL (Y or N)?>Y
Booting...
Boot IO Dependent Code (IODC) revision 4
Hard Booted
ISL Revision A.00.38 Oct 26, 1994
ISL>hpux boot disk()/stand/vmunix.prev
Press a key, while PDC is waiting for the 10 seconds manual overide.
Autosearch for boot path enabled
To override, press any key with 10 seconds.
Boot from primary boot path (Y or N)?> N
Boot from alternate boot path (Y or N)?> N
Enter boot path, comman, or ?>
console>boot
Interact with IPL (Y or N)?>Y
Booting...
Boot IO Dependent Code (IODC) revision 4
Hard Booted
ISL Revision A.00.38 Oct 26, 1994
ISL>hpux boot disk()/stand/vmunix.prev
Thursday, May 6, 2010
ISSUE: Veritas file system mount issue
ISSUE: file system mount issue
STATUS:
- found disks failed in "vxdisk list"
- - rootdg03 rootdg failed was:c4t0d3s2
- - oracled09 oracledg failed was:c3t1d0s2
- - oracled10 oracledg failed was:c4t0d1s2
- - oracled11 oracledg failed was:c4t0d2s2
- - oracled12 oracledg failed was:c4t0d4s2
- found disks not available in "format" too
12. c4t0d0
/pci@6,4000/fibre-channel@4/sd@0,0
13. c4t0d1
/pci@6,4000/fibre-channel@4/sd@0,1
/pci@6,4000/fibre-channel@3/sd@0,1
18. c5t1d0
/pci@6,4000/fibre-channel@3/sd@1,0
19. c5t1d1
/pci@6,4000/fibre-channel@3/sd@1,1
- found volumes in recover states, recovered the volumes using below commands.
vxmend -g dg -o force off plex
vxmend -g dg on plex
vxmend -g dg fix clean plex
vxvol -g dg start vol
- fsck and mounted the volumes, its working fine
- to fix issue with stale entries for dmp and disks, went for device tree cleanup with reconfiguration reboot
STATUS:
- found disks failed in "vxdisk list"
- - rootdg03 rootdg failed was:c4t0d3s2
- - oracled09 oracledg failed was:c3t1d0s2
- - oracled10 oracledg failed was:c4t0d1s2
- - oracled11 oracledg failed was:c4t0d2s2
- - oracled12 oracledg failed was:c4t0d4s2
- found disks not available in "format" too
12. c4t0d0
/pci@6,4000/fibre-channel@4/sd@0,0
13. c4t0d1
/pci@6,4000/fibre-channel@4/sd@0,1
/pci@6,4000/fibre-channel@3/sd@0,1
18. c5t1d0
/pci@6,4000/fibre-channel@3/sd@1,0
19. c5t1d1
/pci@6,4000/fibre-channel@3/sd@1,1
- found volumes in recover states, recovered the volumes using below commands.
vxmend -g dg -o force off plex
vxmend -g dg on plex
vxmend -g dg fix clean plex
vxvol -g dg start vol
- fsck and mounted the volumes, its working fine
- to fix issue with stale entries for dmp and disks, went for device tree cleanup with reconfiguration reboot
Wednesday, April 28, 2010
Account is disabled – see Account Administrator
This time is a tip to enable a user account if your system uses password aging or the user was locked out due to the unsuccessful login attempts.
login: user
Password:
Account is disabled – see Account Administrator
To enable a locked or disabled HP-UX account, run the command:
/usr/lbin/modprpw -l -k
login: user
Password:
Account is disabled – see Account Administrator
To enable a locked or disabled HP-UX account, run the command:
/usr/lbin/modprpw -l -k
Monday, April 19, 2010
20 Linux System Monitoring Tools Every SysAdmin Should Know
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Tuesday, March 23, 2010
Wednesday, January 27, 2010
Redhat Linux : Forgot Root Password and How to Reset?
You can log in using single-user mode and create a new root password.
To enter single-user mode, reboot your computer. If you use the default boot loader, GRUB, you can enter single user mode by performing the following:
At the boot loader menu, use the arrow keys to highlight the installation you want to edit and type [A] to enter into append mode.
You are presented with a prompt that looks similar to the following:
grub append> ro root=LABEL=/
Press the Spacebar once to add a blank space, then add the word single to tell GRUB to boot into single-user Linux mode. The result should look like the following:
ro root=LABEL=/ single
Press [Enter] and GRUB will boot single-user Linux mode. After it finishes loading, you will be presented with a shell prompt similar to the following:
sh-2.05b#
You can now change the root password by typing
passwd root
You will be asked to re-type the password for verification. Once you are finished, the password will be changed. You can then reboot by typing reboot at the prompt; then you can log in to root as you normally would.
Reference: http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/step-guide/s1-q-and-a-root-passwd.html
To enter single-user mode, reboot your computer. If you use the default boot loader, GRUB, you can enter single user mode by performing the following:
At the boot loader menu, use the arrow keys to highlight the installation you want to edit and type [A] to enter into append mode.
You are presented with a prompt that looks similar to the following:
grub append> ro root=LABEL=/
Press the Spacebar once to add a blank space, then add the word single to tell GRUB to boot into single-user Linux mode. The result should look like the following:
ro root=LABEL=/ single
Press [Enter] and GRUB will boot single-user Linux mode. After it finishes loading, you will be presented with a shell prompt similar to the following:
sh-2.05b#
You can now change the root password by typing
passwd root
You will be asked to re-type the password for verification. Once you are finished, the password will be changed. You can then reboot by typing reboot at the prompt; then you can log in to root as you normally would.
Reference: http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/step-guide/s1-q-and-a-root-passwd.html
Subscribe to:
Posts (Atom)