Operating System - HP-UX
1834584 Members
3597 Online
110069 Solutions
New Discussion

Re: HP-UX 11i on itanium v2

 
Alvin Wong_4
Occasional Contributor

HP-UX 11i on itanium v2

Hi all,

I have a problem with my this new hp-ux machine. I'm quite new to hp-ux with previous experience in linux and solaris.

I have 3 existing hard disks 100+GB each and i noticed that the default install that was passed to me was only utilising 1 physical hard disk.

Therefore i decided to format and mount on of the other physical disks. Having done some research, it seemed using sam was the easiest way to do it and i run it successfully, happily processing in the background.

Question 1: How long does it take to create a logical volume based on a 100+GB hard disk?

As it was taking some time, i decided to change the network settings, started a new terminal and started sam with it.

It warned of giving problems as another sam was already open but i ignored it as i was changing network settings.

I configured the ip address but i could not find the gateway configuration and decided to amend it via hand , editing /etc/rc.config.d/netconf, setting the gateway and the route count to 1.

When i completed it, i tried killing sam and running sam again. This time sam could not be started up and i did ps -ef, kill -9 process id of sam.

However, the creation of logical volume was taking far too long, more than 2 hours for a 100+GB process, typing top, i can see the process vsfxd was running for about 2 and half hours already and in the disks and drives options for sam, i could see that it's still processing.

Therefore, i suspect that there could be an error and closed sam, issued a shutdown command.

Upon reboot, the startup went fine until it came to starting up the service mail server daemon, i had not changed the configuration for mail server and it's odd to me why it is stopping there while initialising, could it be problems with the domain name? After a period of 10 mins, it managed to proceed on to the next step.

I finally managed to boot into a terminal, however it mentioned that the term was a IT_0*** with funny words, it did not boot directly to CDE.

It also prompts me for a term and recommends hp, which is also in console mode.

How do i boot back into CDE through the terminal and also where is the best bet to check for error.

Thanks for hearing my problem, i hope to receive your kind advice.

Regards,
Alvin
4 REPLIES 4
Harald Doevenspeck
Occasional Contributor

Re: HP-UX 11i on itanium v2

Hi Alvin,


You can't change network settings without changing other things too (like /etc/hosts).

If you only change IP and do not change host file you will run into trouble because the hostname is not matched to the correct IP address anymore.

One of the symptoms is several startup scripts hanging, as you have noticed. So change IP back to original value and boot again.

Furthermore is seems not very wise to interrupt SAM while it is still processing (unless it hangs with 100 % CPU).
Ranjith_5
Honored Contributor

Re: HP-UX 11i on itanium v2

Hi Alwin,

Make sure that your /etc/hosts have the similar entries as follows.

127.0.0.1 localhost loopback
servername.mydomain.com server_alias

make sure that /etc/nsswitch.conf and /etc/resolv.conf is properly configured.

if /etc/nsswitch.conf exists and you are not using DNS at present, backup the file and do #cp -p /etc/nsswitch.files /etc/nsswitch.conf

============================================================

use lvcreate to create a logical volume.

#lvcreate -L /dev/

for creating a 1000MB volume in the volume group vg00 I would use

#lvcreate -L1000 /dev/vg00

HTH

regards,
Syam

wayne_104
Regular Advisor

Re: HP-UX 11i on itanium v2

Hi Alvin

I have attched a doc for lvol creation from start to finish. This should not take to long.

The network settings set all the settings in /etc/rc.config.d/netconf as below
INTERFACE_NAME[0]=
IP_ADDRESS[0]=
SUBNET_MASK[0]=
BROADCAST_ADDRESS[0]=
INTERFACE_STATE[0]=
DHCP_ENABLE[0]=

Then use set_parms initial to reset the network setting or use sam to set them up.

if your network setting are not correct then mail server takes ages to start up.

hope this helps
Wayne
Alvin Wong_4
Occasional Contributor

Re: HP-UX 11i on itanium v2

Hi,

Thanks for your replies, i did change /etc/hosts previously, i put another ip and the hostname above 127.0.0.1 localhost.

I also amended /etc/nsswitch.conf, appended dns to files previously.

I will try to change back the settings and reboot. The terminal that i get is wierd though, it has in highlighted yellow boxes, the options REMOTE MODE, DISPLAY FUNCTIONS and AUTO LF. What do these options provide? Is there anyway i can disable them?

Can anyone provide the keyboard command for me to navigate to these options? The only thing i did was Ctrl, Shift, Break which is supposed to exit X, however as it's in console mode, the term which is called ITE_x80y24

How do i change my term to a proper term? set term = ?

Also, can anyone point me to online documentation for hpux itanium v2 relating to startup problems and booting into cde?

ctrl c at the terminal doesn't seem to backout of a current running process at the terminal, i need to type ctrl z to stop it, what is the hpux equivalent of interrupting a starting process?

Probably a silly question, when i do df -k, i can see the volumes being mounted. How do i know what to name the volumes of the other 2 disks that i want to create a logical volume on. existing there are /dev/vg00/lvol1 - 8, doesn't have lvol2

I was under the impression that itanium v2 was very fast, however it does seem to chug along in terminal mode...is this normal or i've done something to screw up?

Thanks again in advance,

Regards,
Alvin