During the HP-UX OS booting,if you want the service/daemon need to be skipped press crtl + backslash.
Most of us tried pressing ctrl + c, that wont work during the booting
Showing posts with label HP-UX. Show all posts
Showing posts with label HP-UX. Show all posts
31 July 2010
22 December 2009
27 August 2008
How to list the contents of the EFI directory on hp-ux IPF systems?
First find the default boot device using the setboot command
# setboot
Primary bootpath : 0/4/1/0.0.0.7.0
HA Alternate bootpath : 0/0/2/0
Alternate bootpath : 0/4/1/0.0.0.6.0
Autoboot is ON (enabled)#
Find the corresponding dirver for the Hardware path using ioscan
# ioscan -funC disk
disk 39 0/4/1/0.0.0.6.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c17t6d0 /dev/dsk/c17t6d0s2 /dev/rdsk/c17t6d0 /dev/rdsk/c17t6d0s2
/dev/dsk/c17t6d0s1 /dev/dsk/c17t6d0s3 /dev/rdsk/c17t6d0s1 /dev/rdsk/c17t6d0s3
disk 40 0/4/1/0.0.0.7.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c17t7d0 /dev/dsk/c17t7d0s2 /dev/rdsk/c17t7d0 /dev/rdsk/c17t7d0s2
/dev/dsk/c17t7d0s1 /dev/dsk/c17t7d0s3 /dev/rdsk/c17t7d0s1 /dev/rdsk/c17t7d0s3
#
List the contents of EFI shell.This can be useful to compare root and root mirror disks.
# lifls -l /dev/rdsk/c17t7d0s2
volume ISL10 data size 7984 directory size 8 06/10/27 14:23:07
filename type start size implement created
===============================================================
ISL -12800 584 242 0 06/10/27 14:23:07
AUTO -12289 832 1 0 06/10/27 14:23:07
HPUX -12928 840 1024 0 06/10/27 14:23:07
PAD -12290 1864 1468 0 06/10/27 14:23:07
LABEL BIN 3336 8 0 08/07/01 05:19:23#
# setboot
Primary bootpath : 0/4/1/0.0.0.7.0
HA Alternate bootpath : 0/0/2/0
Alternate bootpath : 0/4/1/0.0.0.6.0
Autoboot is ON (enabled)#
Find the corresponding dirver for the Hardware path using ioscan
# ioscan -funC disk
disk 39 0/4/1/0.0.0.6.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c17t6d0 /dev/dsk/c17t6d0s2 /dev/rdsk/c17t6d0 /dev/rdsk/c17t6d0s2
/dev/dsk/c17t6d0s1 /dev/dsk/c17t6d0s3 /dev/rdsk/c17t6d0s1 /dev/rdsk/c17t6d0s3
disk 40 0/4/1/0.0.0.7.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c17t7d0 /dev/dsk/c17t7d0s2 /dev/rdsk/c17t7d0 /dev/rdsk/c17t7d0s2
/dev/dsk/c17t7d0s1 /dev/dsk/c17t7d0s3 /dev/rdsk/c17t7d0s1 /dev/rdsk/c17t7d0s3
#
List the contents of EFI shell.This can be useful to compare root and root mirror disks.
# lifls -l /dev/rdsk/c17t7d0s2
volume ISL10 data size 7984 directory size 8 06/10/27 14:23:07
filename type start size implement created
===============================================================
ISL -12800 584 242 0 06/10/27 14:23:07
AUTO -12289 832 1 0 06/10/27 14:23:07
HPUX -12928 840 1024 0 06/10/27 14:23:07
PAD -12290 1864 1468 0 06/10/27 14:23:07
LABEL BIN 3336 8 0 08/07/01 05:19:23#
01 July 2008
Raw devices & Block devices
Most of the people will get confused when to use /dev/dsk/c0t1d0s7 and /dev/rdsk/c0t1d0s7 device files.
Generally /dev/dsk is a block disk device whereas /dev/rdsk is a character disk device
As a thumb rule raw devices are used before filesystem creation.Block devices are user after filesystem creation.
E.g., In Solaris whenever you create a new slice using format command a raw physical slice or a Raw Device will be created which is addressed as /dev/rdsk/c#t#d#s#
After formatting it with newfs command the slice will be addressed as /dev/dsk/c#t#d#s# which can now be used for mounting.
newfs /dev/rdsk/c0t1d0s4
mkdir /oracle
mount /dev/dsk/c0t1d0s4 /oracle
After mounting /dev/dsk/c#t#d#s# is called as Block Device
Generally /dev/dsk is a block disk device whereas /dev/rdsk is a character disk device
As a thumb rule raw devices are used before filesystem creation.Block devices are user after filesystem creation.
E.g., In Solaris whenever you create a new slice using format command a raw physical slice or a Raw Device will be created which is addressed as /dev/rdsk/c#t#d#s#
After formatting it with newfs command the slice will be addressed as /dev/dsk/c#t#d#s# which can now be used for mounting.
newfs /dev/rdsk/c0t1d0s4
mkdir /oracle
mount /dev/dsk/c0t1d0s4 /oracle
After mounting /dev/dsk/c#t#d#s# is called as Block Device
26 February 2008
Steps to Configure IP for MP-Port in HP Servers
Step 1: Connect a terminal to the console port of the system.
Step 2: Login tothe console using username and password. The default username for MP is typically Admin and the default
password is Admin.
Enter parameter(s) to change, A to modify All, or [Q] to Quit:
Step 5: Type the IP address of the MP port.
Web Console Port Number:
Current -> 2023 (default)
Options: 23, 2000 to 2400
->Current Web Console Port Number has been retained
Console Port Number has been retained
Link State :
Current -> A - Auto Negotiate (default)
T - 10BaseT
->Current Link State has been retained
Step 2: Login tothe console using username and password. The default username for MP is typically Admin and the default
password is Admin.
Step 3: Type “cm” on the MP prompt to go to the MP command menu
Step 4: Type “lc” on the MP CM prompt to modify the LAN configuration and press “A” when prompted for modificationCurrent LAN Configuration:
- - MAC Address : 0x001635b66433
D - DHCP Status : Disabled
I - IP Address : ---------------
M - MP Host Name: ---------------
S - Subnet Mask : ---------------
G - Gateway Address : ------------
L -Link State : Auto Negotiate
W -Web Console Port Number : 2023
- - SSH Access Port Number : - (MP Feature Not Licensed)
- - IPMI /LAN Port Number : 623A
- - MAC Address : 0x001635b66433
D - DHCP Status : Disabled
I - IP Address : ---------------
M - MP Host Name: ---------------
S - Subnet Mask : ---------------
G - Gateway Address : ------------
L -
W -
- - SSH Access Port Number : - (MP Feature Not Licensed)
- - IPMI /
Enter parameter(s) to change, A to modify All, or [Q] to Quit:
IP Address:
Current ->
127.0.0.1 (default)
Current ->
127.0.0.1 (default)
Modifying this parameter will cause all present LAN and Web connections to be dropped.
Enter new value, or Q to Quit: 172.16.1.100
Step 6: Type the hostname of the MP port.
Host Name:
Current ->
mp001635b66433 (default)
Current ->
mp001635b66433 (default)
Enter new value, or Q to Quit: m1sys100
Step 7: Type the Subnet Mask of the MP port.
Subnet Mask:
Current ->
255.255.255.0 (default)
Current ->
255.255.255.0 (default)
Modifying this parameter will cause all present LAN and Web connections to be dropped.
Enter new value, or Q to Quit: 255.255.224.0
Step 8: Type the Gateway of the MP port.
Gateway Address:
Current ->
127.0.0.1 (default)
Current ->
127.0.0.1 (default)
Enter new value, or Q to Quit: 172.16.0.1
Step 9: Press “Enter” when prompted for Web Console Port Number.
Current -> 2023 (default)
Options: 23, 2000 to 2400
Modifying Web Port number will cause all present Web connections to be dropped.
Enter new value, or Q to Quit:
->
Step 10: Press “Enter” when prompted for SSH Console Port Number.
SSH Console Port Number:
Current -> 22 (default)
Options: 22, 2000 to 2400
Current -> 22 (default)
Options: 22, 2000 to 2400
Enter new value, or Q to Quit:
-> Current SSH Step 11: Type “Disabled” or “D” when prompted for DHCP Status.
DHCP Status:
Current -> D - Disabled
E - Enabled (default)
Modifying this parameter will cause all present LAN and Web connections to be dropped.
Current -> D - Disabled
E - Enabled (default)
Modifying this parameter will cause all present LAN and Web connections to be dropped.
Enter new value, or Q to Quit: Disabled
Step 12: Press “Enter” when prompted forLink State .
Step 12: Press “Enter” when prompted for
Current -> A - Auto Negotiate (default)
T - 10BaseT
Modifying this parameter will cause all present LAN and Web connections to be dropped.
Enter new value, or Q to Quit:
->
Step 13: Type “xd” on the MP CM prompt and press “r” to reset MP.
Step 14: From any of the lab machines, ping to the newly configured IP address of the GSP and see if it is alive on the
network.
network.
17 January 2008
HP-UX: Patch naming convention
A patch name consists of the characters "PH" (Patch HP-UX), followed by a two-character type-identifier, followed by an underscore,
followed by a four or five-digit number.
The currently defined patch types are:
CO - COmmands & libraries
KL - KerneL
NE - NEtworking
SS - SubSystems
An example name of a Kernel patch name would be "PHKL_23507"
Kernel patches always require a system reboot, so that the newly updated kernel can be loaded. Many Networking patches (PHNE*) also
make modifications to the kernel, and hence require a reboot.
Note that the numerical portion of any given patch name is unique, among ALL patches.
So there would never be a patch named "PHCO_23507", in addition to a patch named "PHKL_23507." This lends itself nicely to
grepping for a particular patch (ie - to see if "PHKL_23507" is installed, one could use "swlist -l product | grep 23507"
followed by a four or five-digit number.
The currently defined patch types are:
CO - COmmands & libraries
KL - KerneL
NE - NEtworking
SS - SubSystems
An example name of a Kernel patch name would be "PHKL_23507"
Kernel patches always require a system reboot, so that the newly updated kernel can be loaded. Many Networking patches (PHNE*) also
make modifications to the kernel, and hence require a reboot.
Note that the numerical portion of any given patch name is unique, among ALL patches.
So there would never be a patch named "PHCO_23507", in addition to a patch named "PHKL_23507." This lends itself nicely to
grepping for a particular patch (ie - to see if "PHKL_23507" is installed, one could use "swlist -l product | grep 23507"
20 November 2007
HP-UX: Intro Guardian Service Processor(GSP) & Management Processor(MP)
All of HP's current PA-RISC and Integrity servers include a GSP/MP card which has a LAN console port.
This console port is usually called as GSP/MP port which depends on which card(GSP/MP) is installed in the physical machine.But mostly these days MP card is installed on HP-UX Servers by default.
Features:
* Enables remote server management over the web regardless of the system state.
* In the unlikely event that the operating system in not running,the GSP/MP port can be accessed to power cycle the server,view event logs and status logs,enable console re-direction,and more.
* Always-on capability: GSP/MP is alive if the power cord is plugged in.
* User/Password access control: Supports operator and administrator users
* Multiple access methods to GSP/MP:
Local port
Remote/modem port
LAN
*Mirrored console:System console output stream is reflected to all of the connected console users
*Display and/or logging of:
The system console,system event logs (chassis codes),Virtual Front Panel (VFP),and system power and configuration status.
*GSP/MP provides power control,system reset,and Transfer Of Control (TOC) capabilities.
Note: This GSP/MP is similar to Oracle Sun™ Advanced Lights Out Manager (ALOM)
This console port is usually called as GSP/MP port which depends on which card(GSP/MP) is installed in the physical machine.But mostly these days MP card is installed on HP-UX Servers by default.
Features:
* Enables remote server management over the web regardless of the system state.
* In the unlikely event that the operating system in not running,the GSP/MP port can be accessed to power cycle the server,view event logs and status logs,enable console re-direction,and more.
* Always-on capability: GSP/MP is alive if the power cord is plugged in.
* User/Password access control: Supports operator and administrator users
* Multiple access methods to GSP/MP:
Local port
Remote/modem port
LAN
*Mirrored console:System console output stream is reflected to all of the connected console users
*Display and/or logging of:
The system console,system event logs (chassis codes),Virtual Front Panel (VFP),and system power and configuration status.
*GSP/MP provides power control,system reset,and Transfer Of Control (TOC) capabilities.
Note: This GSP/MP is similar to Oracle Sun™ Advanced Lights Out Manager (ALOM)
Subscribe to:
Posts (Atom)