On Mon, Aug 17, 2009 at 8:14 PM, Sundar
Yamunachari<sundar.yamunachari at sun.com> wrote:
> Hi,
>
> ? I have updated the proposal to simplify AI manifests with the following
> changes:
>
> ? - The installadm interfaces for new subcommands and changes to the
> existing subcommands are finalized (Thanks to Frank and Ethan)
> ? - Changes based on the feedback to the previous proposal
> ? ? The document is at
> http://www.opensolaris.org/os/project/caiman/auto_install/manifest_simplification_proposal_v3.
> Your feedback is requested.

I like the syntax

# installadm add-manifest -n <my_service> -f <manifest_input_file>

In fact, that's about the only way I can see myself managing
an AI server.

Two things would make this even easier:

# installadm export -n <my_service>

which would simply spit out the manifest_input_file corresponding
to the current configuration, and

# installadm import -n <my_service> -f <manifest_input_file>

which would simply replace the entire configuration with the
new one. So basically, to update I would export, modify, and
stick it back. To replicate, just export on one server and import
somewhere else.

To my mind, the manifest_input_file is the primary object; all the
other (add-manifest, remove-manifest, update-criteria) subcommands
are just ways to manipulate subsections of that object.

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/

Reply via email to