Hey Dave,
Thank you for clarifying. My comments in-line below.
Joe
On 09/30/10 06:11 PM, Dave Miner wrote:
On 09/30/10 02:32 PM, [email protected] wrote:
Hey Dave,
I need a little help understanding how P IP Address records be set up.
In looking at the Automated Installation Service and Image Management
Design:
http://hub.opensolaris.org/bin/view/Project+caiman/AI+Image+Management
It is not clear to me how DHCP IP Address records should be structured
when -i and -c flags are specified to create-service sub command.
The first time the user issues:
installadm create-service -n service_A -i 192.168.168.151 -c 5
The default service is aliased to service_A.
How should the DHCP IP Address records be set up in this case?
What happens to the IP Address records when the default service is
aliased to a different service?
Should the IP Address records be associated with the named service or
the default service?
The latter half of the Provisioning section plus the Examples were meant
to answer these questions, but it's probably a little oblique.
Quoting:
The DHCP configuration will be modified to remove the current
implementation's manipulation of the per-network DHCP address assignment
tables to assign clients to services.
The intention is that the address records we generate in create-service
should not reference a specific AI service. The principle here is to
rely on DHCP as little as possible for delivering AI information,
because of the administrative boundaries that often exist at customer
sites. We rely on two things to get the client to the right AI service:
1. The DHCP server's ability to provide configuration automatically to
all clients of a particular class (PXE, or the various SPARC classes)
via a client class macro. We configure the client class macros to
include the macro for the default service, as shown in Examples 1 & 2 in
the spec.
My understanding from what Clay has described to me is this may not work
with Solaris DHCP server in a multi-homed environment.
I'll let Clay elaborate.
2. The ability of the boot loader (for x86) or wanboot-cgi (for SPARC)
to automatically find client-specific configuration within the
/etc/netboot hierarchy. This allows per-client override of the default
service to use a different service by merely manipulating the
/etc/netboot contents on the AI server.
This allows the administrator of the AI server to point clients at the
right service without the need to modify the DHCP configuration in any
way. Also, aliasing the default service to a different service is
entirely a file system operation on the AI server (your second question
above).
This does leave the question of what value to set in the macro field of
the generated network table entries (your last question), which I guess
I didn't specify. The longstanding convention in the DHCP server is to
have a "server" macro that is used in that field; the server macro is
automatically generated by dhcpconfig or DHCP Manager at initial
configuration of the service and typically has the DNS configuration,
among other things. The current installadm implementation includes that
macro within the generated service macro, which has essentially the same
effect.
Ultimately, this is what all of the generated records should look like
(assuming 172.0.0.0 network, clients starting at 172.0.0.10 and AI
server named "ai-server" is 172.0.0.1):
Cl ID Flags Client IP Server IP Expires Macro
00 00 172.0.0.10 172.0.0.1 0 ai-server
Having the "server" set as the macro field in the generated network
table entries would result in each specified range being available host
"server" wide, even though the user specified specific ranges when
creating specific AI "services"
e.g.: If the user issues:
installadm create-service -n svc1 -i 172.0.0.10 -c 10 ...
installadm create-service -n svc2 -i 172.0.0.20 -c 10 ...
installadm create-service -n svc3 -i 172.0.0.30 -c 10 ...
This would result in IP Address macros:
172.0.0.10 -> 172.0.0.29 all available accross the "host server".
Which, unless I am missing something, would not provide for
distinguishing which range would be associated with which AI "service".
Perhaps this is OK.
Do I have that correct?
Thank you again for the help.
Joe
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss