As a continuation of the HPUX for Linux Admins series. This article explains how to display the HPUX system settings then explain how to edit them. for example, the display HBA configurations like WWN or change server Date, time, and timezone.
You should be able to use the keyboard to navigate the terminal and know the basic commands and their syntax from previous articles.
- Gather System Information.
- Change System settings.
- Check Fiber Card WWN.
- Change Date, Time, and Timezone.
We will go through UNIX CLI and show common HPUX commands for monitoring and network control commands
System related Commands
|To view OS Version of your HPUX|
|To find the server’s memory size and other details: (external tool) In the output you will find physical memory size in the output.|
|To list the processor information:|
|To display the system architecture:|
|To display machine model:|
|To display Operating Environment and OS Version. In addition to the latest OS update.|
|To show Hardware(CPU) bit:|
|To show Kernel bit:|
To get the Server serial number: (Use any of the below):
echo "sc product system;info;wait;il" | cstm | grep -i "system serial" echo "sel path system\ninfolog\nexit"|cstm|grep "System Serial" getconf MACHINE_SERIAL machinfo | grep "machine serial"
Display HPUX HBA information
Assuming that you have an HBA (Fiber Channel) Card installed on your server. and you need the WWNof this card.
First, Issue the command to show HBA settings.
ioscan -nfC FC
It will show you the device path for the desired FC. for example, /dev/fcd0
Nex, Issue the following command to display the device full configurations including the WWN
Look for a line with the words
N_Port Port WWN which will contain your fiber card identifier.
To set the hostname, IP address, date/time, DNS/NIS server details, default gateway after the OS installation:
This command will run automatically after the OS installation.
Change HPUX Date, time, Timezone
It is essential to make sure that the server has the correct time, as it could cause many issues. for example, SSL related issues, Server out of sync is it was working in a cluster, or at least
specially if the sever com To change the date and time:
To change the timezone:
Yet, few commands allow Linux Admins to dive deeper into HPUX settings. Thus, they can complete their tasks. In this article, we were able to Display HBA details (WWN) and change Operating system Date, time, and timezone