David Garcia - ONPIT stated: > On 27/02/09 17:33, Sean McGrath wrote: >> David Garcia - ONPIT stated: >> >>> Sean McGrath wrote: >>> >>>> David Garcia - ONPIT stated: >>>> >>>> >>>>> Hi, >>>>> >>>>> I'm not sure whether this is a bug or an enhancement request.. >>>>> >>>>> For x86 machines, whenever we add a new client it'll create specific >>>>> entries on /tftpboot for that client based in its mac address. We use >>>>> this in our environment to have fixed DHCP entries. >>>>> >>>>> However, we can't do that for sparc machines at the moment since no >>>>> specific entries are created in >>>>> http://$SERVER_IP:555/var/ai/image-server/images/$IMAGE-CONTAINER >>>>> >>>>> >>>>> We workarounded this by adding a link to the AI folder with the mac >>>>> address of our client so we can have this feature on sparc machines. >>>>> I'll explain it better with an example: >>>>> >>>>> - installadm create-service -n snv_106_sparc -s $ISO >>>>> /export/macroroot/snv_106_sparc/ >>>>> - installadm create-client -n snv_106_sparc -e $MAC -t >>>>> /export/macroroot/snv_106_sparc/ >>>>> - ln -s /export/macroroot/snv_106_sparc/ >>>>> /var/ai/image-server/images/export/macroroot/$MAC >>>>> >>>>> >>>> installadm should create that symlink for you. >>>> >>>> My installadm version is: >>>> VERSION: 11.11,REV=2009.02.16.04.00 >>>> (and will be updated again real soon). >>>> installadm gets a good deal of fixes all the time, updating it every >>>> two weeks at least can be a good idea. >>>> >>>> It creates the symlinks fine here on my server. >>>> >>>> Sean. >>>> . >>>> >>>> >>> I indeed updated it, actually 2 hours before I sent the email. >>> >> >> Possible bug then. installadm create-service calls the setup-image script >> which has this code. >> > > I'm afraid you misread my email. If you read it again you'll notice I > was referring on adding a *new client*, not a new service (which works > perfectly in my system)
so the installadm create-service creates the symlinks ok then ? But you need to create the symlink after installadm add/create-client ? Seems then this symlink is getting deleted somewhere. Sean. . > > David > >> . >> >>> David >>> >>> >>>> >>>> >>>>> Now we can set our DHCP server with the following entries: >>>>> >>>>> -> BootSrvA: $SERVER_IP >>>>> -> BootFile: http://$SERVER_IP:5555/cgi-bin/wanboot-cgi >>>>> -> Rootpath: http://$SERVER_IP:5555/export/microroot/$MAC >>>>> >>>>> >>>>> Which will be a fixed entry given that the link above would be >>>>> maintained by create-client and delete-client. >>>>> >>>>> >>>>> Is this issue already known or discussed? >>>>> David >>>>> >>>>> >>>>> _______________________________________________ >>>>> caiman-discuss mailing list >>>>> caiman-discuss at opensolaris.org >>>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss >>>>> >>>>> > -- Sean. .