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. # Create a link from the AI webserver so that it can accessed by the client target_path=`dirname $target` mkdir -p ${DOCROOT}/$target_path ln -s $target ${DOCROOT}/$target (setup-image lives in /usr/lib/installadm) Does it even create the /var/ai/image-server/images/export/macroroot dir ? - wondering if the script silently fails somewhere. Sean. . > > 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 >>> >