On 09/23/11 07:20, Jesse Butler wrote:
Yes, hostname is used in wanboot.conf always, I believe.

Actually, the installadm code puts in the the server's hostname for the 'root_server' option only when the AI server is multi-homed.

From setup-sparc.sh:

    # see if we are multi-homed
    if (( $(valid_networks | $WC -l) != "1" )); then
            # for multi-homed AI servers use the host's nodename
            srv_ip=$(uname -n)
    else # we are single-homed
            # get server ip address
            srv_ip=$(get_ip_for_net $(valid_networks))
            if [[ -z $srv_ip ]]; then
                    print "Failed to get server's IP address."
                    exit 1
            fi
    fi

    [ .... ]

        create_wanbootconf "$img_path" $srv_ip "$img_path"


What sort of warnings were issued? I believe even if name services are not 
enabled that we have a snippet of an /etc/hosts file available for hostname 
lookup between the AI client and server.

It's possible that the warnings mentioned are happening before net-assembly augments the local /etc/hosts file with the hosts snippet provided by wanboot.


-ethan


On Sep 23, 2011, at 4:38 AM, Darren Kenny wrote:

Hi Ethan,

In a recent bugfix (7045369) Mary noticed that the reason for the warning from
wget was that the hostname, not the IP address was included in the URLs for
downloading, e.g:

    http://labtech-mpk-ai1:5555/export/aiserver/164-sparc//solaris.zlib

This occurred only where the AI server was multi-homed.

It is possible that this could also occur in this case? I'm not sure what the
contents of the wanboot.conf file was in this case, but I'd like to 
double-check.

Thanks,

Darren.

On 22/09/2011 23:53, Ethan Quach wrote:
Team,

Can I get a couple of reviewers for the following bugfix:


Webrev:
----------
https://cr.opensolaris.org/action/browse/caiman/equach/7093471/webrev/

BugID:
--------
7093471<http://monaco.us.oracle.com/detail.jsf?cr=7093471>  wanboot without DHCP
not working


Cases tested:
-----------------
1.  Sparc, wanboot with DHCP, wanboot.conf has IP address in 'root_server'
2.  Sparc, wanboot with DHCP, wanboot.conf has hostname in 'root_server'
3.  Sparc, wanboot without DHCP, wanboot.conf has IP address in 'root_server'
4.  Sparc, wanboot without DHCP, wanboot.conf has hostname in 'root_server'


thanks,
-ethan



_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to