1753532 Members
5697 Online
108795 Solutions
New Discussion юеВ

Ignite-UX FQDN

 
ajg_1
New Member

Ignite-UX FQDN

I have a small problem that I hope someone could help me with :-
I am building HP Rx6600 machines from an ignite server - all is working well and the server is built perfectly apart from the hostname. I have in /etc/bootptab a line which looks like :-
aserver.co.uk:tc=IADEF:ip=192.168.0.80:ha=001e1b992cb8
But when the machine is built the hostname is only aserver - how can I get the server built with the fully qualified domain name?
Many Thanks.
6 REPLIES 6
Scot Bean
Honored Contributor

Re: Ignite-UX FQDN

We do something like this:

ignite-defaults:\
ht=ethernet:\
hn:\
bf=/opt/ignite/boot/nbp.efi:\
bs=48

My_System:\
tc=ignite-defaults:\
sm=255.255.248.0:\
gw=17.1.12.1:\
ds=17.1.12.11:\
dn=my-domain.my-company.com

client1:tc=My_System:ip=17.1.12.233:ha=09306EF3427B:
client2: ...

Basically, specify the short hostnames, specify the other parms once.

ajg_1
New Member

Re: Ignite-UX FQDN

Hi Scot,
Thanks for your reply - I have adjusted my bootptab to the same layout as your example - unfortunatly I still get the same problem.

I have also tried using hn servername.dom.com but this did not work either.

I re-started bootpd after each change.
Scot Bean
Honored Contributor

Re: Ignite-UX FQDN

Maybe everything is working as it should?

If you use 'hostname' on the client machine after install, you get the short name.

The only place I usually see the FQDN is in /etc/hosts, does that look right?

The /etc/bootptab settings may only be used for bootup, Ignite config files also can set lan parameters towards the end of install.

(Also, no need to restart bootp after changing /etc/bootptab, new settings seems to be applied automatically, least for me)
Andrew Rutter
Honored Contributor

Re: Ignite-UX FQDN

hi,

this is normal for what i believe.

you have a hostname thats fine, but hostname only displays the first 8 characters.

to see it fully try
#hostname --fqdn

also worth checking these files

#/etc/rc.config.d/netconf
#/etc/nsswitch.conf

Andy
ajg_1
New Member

Re: Ignite-UX FQDN

Thanks for your replies.

I think I will just change the hostname after the install of HP-UX has finished by using hostname because everything else is ok.

The only other way I have found is by typing in the required hostname on the NETWORK CONFIGURATION screen when HP-UX is about to be installed.

I did also read that bootpd will only return to the client a hostname up to the first '.' if the hostname is too large.

Thanks for your help.

AJG
ajg_1
New Member

Re: Ignite-UX FQDN

I did not quite get a resolution to my problem but I do have a work-around which I will use as a last resort.