Andre Molyneux wrote:
> At the AI meeting this week I asked if the 'installadm create-service'
> command provides any way to learn the name of the service that was
> created.  The answer was "no, but you can predict which name will be
> chosen once you understand how the command goes about building the
> name."  So, where do I find this information?  If it's in the current
> version of the design doc I missed it.
>
> Regards,
>
> Andre
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
Andre,

This information is not in the design docs. Probably should be added. I 
will do that in the next version.

Looking at the source code, if the service name is not given, the 
install service name is derived using the port number of the service. 
For example if the port number of the new service is 46501, then the 
install service is '_install_service_46501'. So the general format is 
'_install_service_<port>'

In the case of X86, if the boot file is supplied as an argument, then it 
will be used.Otherwise the installadm will derive a default name for the 
boot file. The default name for boot file is the same as that of the 
service name. If the service name is 'sparc_service' then the boot file 
will be 'sparc_service'. The name of the menu.lst will be 
'menu.lst.<boot file>

The name for dhcp macro is derived from the boot_file. The name of the 
dhcp_macro will be 'dhcp_macro_<boot file>'.

In the case of create-client, the Ethernet address will be used to 
create bootfile, DHCP macro and menu.lst file. For  example if 
0a:0b:0c:0d:0e:0f is the ethernet address, then boot file will be 
010A0B0C0D0E0F

Thanks,
Sundar

Reply via email to