Sun Management Center Change Manager 1.0 Administration Guide

How to Import Solaris Flash Archives to the Change Manager Repository (Command Line)

Import a Solaris Flash archive from another system, typically the master system on which it was created, on the network. This archive contains a software stack that can be deployed to managed hosts.

The time required to import a file to the Change Manager repository depends on the size of the file and the speed of the network.

  1. Determine where the archive exists and where to store it.

    For example, copy the archive from /net/test1/home/suzi/apache.flar to the web-server folder.

  2. Import a Solaris Flash archive to the Change Manager repository by using one of these changemgr import commands.

    • The following command line imports one file at a time. You can use the command line to rename the file.


      $ changemgr import [ -u username ] [ -p file ] filepath[.type] \
      relfilepath.type
      
    • The following command line imports several files to a folder simultaneously.


      $ changemgr import [ -u username ] [ -p file ] filepath.type ... \
      reldirpath
      
    .type

    Specifies the file name suffix that represents the file type. A shared profile uses the .flar suffix.

    For descriptions of the other options, see How to Import Solaris Boot Images to the Change Manager Repository (Command Line).

    Choose a meaningful name that indicates the type of archive. For example, create an archive named apache.flar.

Example-Importing a Solaris Flash Archive to the Change Manager Repository

Suzi copies the archive called /net/test1/home/suzi/apache.flar to the web-server folder. She renames the file to be Apache.flar.


$ changemgr import /net/test1/home/suzi/apache.flar \
/web-server/Apache.flar

Example-Importing Solaris Flash Archives to the Change Manager Repository

Suzi copies the archives called /net/test1/home/suzi/apache.flar and /net/test1/home/suzi/oracle.flar to the / folder.


$ changemgr import /net/test1/home/suzi/apache.flar \
/net/test1/home/suzi/oracle.flar /