Operating System - HP-UX
1834055 Members
2611 Online
110063 Solutions
New Discussion

Re: igniting from make_tape_recovery not restoring host file

 
Norman Dignard
Regular Advisor

igniting from make_tape_recovery not restoring host file

We're come across a an oddity and am questioning whether this is a know issue. We created a ignite tape from a fully configured C360 running 11.00. Hardware wise it has 2 9gb hard drives and an additional NIC in slot 1.

We ignite (non-interactive) another host of the same config except with the NIC in slot 3 from the tape. The ignite install log shows a warning that it can't find the NIC in slot 1 but proceeds to completion. On inspection of the host we find that the host file is a default host file with only local host spec'd. The netconf file is configured correctly however.

Is this expected behavior? Are there any other files which don't installed properly?

Regards
NormD
3 REPLIES 3
harry d brown jr
Honored Contributor

Re: igniting from make_tape_recovery not restoring host file


It should be expected behavior in my opinion because the target and the source didn't match thus possibly indicating that this is a different server. Had it just plowed ahead you would have two servers on your network with the same IP and hostname - which is something you don't want.

Everything else should be fine.

live free or die
harry d brown jr
Live Free or Die
Bernhard Mueller
Honored Contributor

Re: igniting from make_tape_recovery not restoring host file

Norman,

actually a couple of files are "merged" upon recovery.
look at /opt/ignite/data/scripts/os_arch*


if [[ "$RECOVERY_MODE" = "TRUE" ]]; then
echo " * Running in recovery mode (os_arch_post_l)."
merge_file /etc/hosts
merge_file /etc/resolv.conf
merge_file /etc/rc.config.d/namesvrs
merge_file /etc/rc.config.d/netconf
merge_file /etc/rc.config.d/netdaemons
merge_file /etc/ntp.conf
merge_file /etc/fstab



that your netconf is correct is due to the fact that you have only one NIC which is lan0 then regardless at which HW path it is detected.

Regards,
Bernhard
Norman Dignard
Regular Advisor

Re: igniting from make_tape_recovery not restoring host file

To clarify a bit - we create a fully configured host for the target site that we send the tape too. Each site is a standalone network so having 2 identical hosts on the same network is not an issue.

As for the NIC card we configure both the onboard (Lan1) and the additional NIC (Lan0) cards.