4.3.3 Creating an Installation Manifest

You need to create a custom XML AI manifest file to install an configure the Oracle VM Agent automatically. For more information about custom XML AI manifest file, see Customizing an XML AI Manifest File at:

http://docs.oracle.com/cd/E26502_01/html/E28980/changeai.html

Create an Installation Manifest

  1. Start by copying the default manifest of your install service:

    # installadm list -n solaris11_1_13_1_0-sparc -m
    Service/Manifest Name            Status       Criteria
    ---------------------            ------       --------
    solaris11_1_13_1_0-sparc 
        orig_default                 Default      None
     
    # installadm export -n solaris11_1_13_1_0-sparc -m orig_default -o manifest_ai_ovm.xml
  2. Open the exported manifest_ai_ovm.xml in a text editor and customize it in the following way:

    • In the <source> section, make sure that a Solaris publisher is defined and that it points to a Solaris IPS repository for the Solaris 11.1 version that also contains the Oracle VM Server for SPARC 3.1.1 packages. For example:

      <publisher name="solaris">
         <origin name="http://solaris-11-repository"/>
      </publisher>
    • In the <source> section, add the Oracle VM (ovm) publisher with a reference to the IPS repository that you have set up with Oracle VM Agent for SPARC software. For example:

      <publisher name="ovm">
         <origin name="http://my-repo-server:8888"/>
      </publisher>
    • In the <software_data> install section, add the following lines to have the Oracle VM Agent for SPARC software and the DLM software installed:

      <name>pkg:/ovm/ovs-agent</name>
      <name>pkg:/ovm/dlm</name>
  3. Add the manifest to the installation service. In addition, you can specify criteria associated with this manifest. This manifest is only applicable to SPARC sun4v system, so you should at least use the sun4v criteria:

    # installadm create-manifest -n solaris11_1_13_1_0-sparc -f manifest_ai_ovm.xml -m ovm -c \
      arch="sun4v"
     
    # installadm list -m -n solaris11_1_13_1_0-sparc
    Service/Manifest Name            Status         Criteria
    ---------------------            ------         --------
    solaris11_1_13_1_0-sparc
       ovm                                          arch = sun4v
       orig_default                  Default        None