Sun Update Connection - Enterprise 1.0 User's Guide

ProcedureTo Clone Multiple Servers

This procedure uses the CLI feature to create a profile from a complete host inventory. After you have the profile, you can delete requirements from it to lock legacy software and files from being overwritten during the clone job. Then the profile is sent to as many servers as you choose.

  1. In a terminal window, type the CLI command to convert an inventory to a profile.


    # uce_cli -cip -P new_profileName -h source_host -u user -p password
    

    See Convert Inventory to Profile (-cip) Command.

  2. View the attributes of the profile (what is required and what is not allowed).


    # uce_cli -lpa -P profileName -u user -p password
    

    See List Profile Attributes (-lpa) Command.

  3. To protect legacy components on the target servers, delete the profile attributes that you do not want to clone over.

    1. Export the profile to an XML file name.


      # uce_cli -exp -ent "Profile" -f path-and-filename.xml -T "profile" -u user -p password
      
    2. Edit the XML file. Delete the lines that mention components you want to protect on targets.

    3. Import the edited XML file as the profile.


      # uce_cli -imp -f path-and-filename.xml -u user -p password
      

    See Export (-exp) Command.

  4. In the console, create a job that deploys the profile on selected hosts.

    See Creating Complex Jobs.