Hi Adam,

On 2 July 2015 at 14:02, Adam Faris via smartos-discuss
<[email protected]> wrote:
> How does one automate the interactive install process for the global zone?  
> Maybe some undocumented ‘-B’ parameters for specifying pool profiles with 
> specific disks, or uploading a key/value file because bootparams.c reads in 
> /tmp/bootparams?  Of course I could be thinking of this wrong and should 
> instead look at the SDC code for provisioning a host? Thanks for providing 
> feedback on how this is done.

I would recommend that if you are at the level of provisioning
multiple machines in a relatively hands-off way, you probably want to
look at deploying SDC rather than bare SmartOS.

From a technical perspective: when a fresh, blank, SDC compute node
boots it doesn't automatically do anything.  Instead, we pass in (via
DHCP) some bootparams that enable the "ur" agent, which is shipped in
the platform.  This agent connects to a nominated AMQP broker and
waits for instructions.  The management software in SDC is able to
trigger the hands-off setup process remotely via this agent.

As far as automated setup, you could build your own platform image
that (using overlays, or local modifications) replaces the SmartOS
setup program (it's just a shell script) with anything you like.

-- 
Joshua M. Clulow
UNIX Admin/Developer
http://blog.sysmgr.org


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to