Logical Domains 1.3 Release Notes

ProcedureUpgrade From LDoms 1.0 Software Only

Existing Logical Domains 1.0 configurations do not work with LDoms 1.3 software, so you need to save your Logical Domains 1.0 configurations before the upgrade to use them in LDoms 1.3 software. The following procedure describes a method for saving and rebuilding a configuration using XML constraints files and the -i option to the ldm add-domain command.

The basic process is to save the constraints information for each domain into an XML file, which can then be re-issued to the Logical Domains Manager after the upgrade to rebuild a desired configuration.

The procedure in this section works for guest domains, not the control domain. Although you can save the control (primary) domain's constraints to an XML file, you cannot feed it back into the ldm add-domain -i command. However, you can use the resource constraints from the XML file to create the CLI commands to reconfigure your primary domain. See Rebuilding the Control Domain in Logical Domains 1.3 Administration Guide for instructions on how to translate typical XML output from an ldm list-constraints -x primary command into the CLI commands needed to reconfigure a primary domain.

The method that follows does not preserve actual bindings, only the constraints used to create those bindings. This means that, after this procedure, the domains will have the same virtual resources, but will not necessarily be bound to the same physical resources.

  1. For each domain, create an XML file containing the domain's constraints.

    # ldm list-constraints -x ldom > ldom.xml
  2. List all the logical domain configurations stored on the service processor.

    # ldm list-config
  3. Remove each logical domain configuration stored on the service processor.

    # ldm rm-config config-name
  4. Disable the Logical Domains Manager daemon (ldmd).

    # svcadm disable ldmd
  5. Remove the Logical Domains Manager package (SUNWldm).

    # pkgrm SUNWldm
  6. (Optional) Remove the Solaris Security Toolkit package (SUNWjass).

    # pkgrm SUNWjass
  7. Flash update the system firmware.

    For the entire procedure, see Upgrade System Firmware in Logical Domains 1.3 Administration Guide or Upgrade System Firmware Without an FTP Server in Logical Domains 1.3 Administration Guide.

  8. Reinstall the Logical Domains Manager.

    See Installing the Logical Domains Manager in Logical Domains 1.3 Administration Guide.

  9. Reconfigure the primary domain manually.

    For instructions, see Set Up the Control Domain in Logical Domains 1.3 Administration Guide.

  10. Run the following commands for each guest domain's XML file that you created in Step 1.

    # ldm add-domain -i ldom.xml
    # ldm bind-domain ldom
    # ldm start-domain ldom