United States-English |
|
|
Software Distributor Administration Guide: HP-UX 11i v1, 11i v2, and 11i v3 > Chapter 4 Managing Software DepotsCopying Software Depots |
|
The swcopy command copies software between depots. Software that is copied into a depot cannot be used directly; it is placed there only to act as a source for installation and other SD-UX operations.
OverviewThis section provides an overview of the swcopy GUI.
The copy process has six steps: Table 4-3 Copy Process Steps
Step I: Start-UpTo start the GUI or TUI for an copy session, type: The GUI is automatically invoked unless you also specify software on the command line. To invoke the GUI and specify software, include the -i option. For example, to use the GUI for a preview (analysis only) session with MyDepot, type: The Software Selection window appears with the Specify Source dialog and the Select Target Depot Path dialogs superimposed over it. Step II: Specify TargetIn this step, you specify the target to which SD-UX will copy the software. (This step is skipped if you include the -t target option when you invoke the GUI. See “Using the swcopy Command Line”.) The Select Target Depot Path dialog displays the default target depot. Since this matches the default source depot path, you must select a new target: The Select Target Depot Path dialog disappears, and the Specify Source dialog is highlighted. Step III: Specify SourceIn this step, you must specify the source depot that contains the software you want to copy. The Specify Source dialog (Figure 4-2: “Specify Source Dialog ”,) automatically lists the local host and default depot path. (This step is skipped if you include the -s source option when you invoke the GUI. See “Using the swcopy Command Line”.)
Step IV: Select SoftwareIn this step, you use the Software Selection window (Figure 4-3: “Software Selection Window ”,) to select the software you want to copy.
Step V: Analysis (Preview)In this step, SD-UX analyzes the software you have selected. The Analysis window displays status information about the analysis process. When the analysis is complete and the host status shows Ready, click OK to start the actual copy (see “Step VI: Copying”). The Analysis dialog is then replaced by the Copy dialog. If you started a preview session, the copy stops after the analysis. Clicking Cancel returns you to the Software Selection window. The following actions are available:
When Analysis completes, the status for any host displays as either Ready or Excluded from task. If any of the selected software can be copied onto the host, the status shows Ready. If none of the selected software can be copied onto the host, the status shows Excluded from task. The following list summarizes the status results. You can find details about most problems by clicking the Logfile button.
The Products Scheduled column shows the number of products ready for copying out of all products selected. These include:
Step VI: CopyingIn this step, SD-UX proceeds with the actual copy. After you click OK in the Analysis window, SD-UX starts copying and displays the Copy Window (Figure 4-6: “Copy Window”,), which shows status information. swcopy SyntaxOptions and Operands
Changing Command OptionsYou can change the behavior of this command by specifying additional command-line options when you invoke the command (using the -xoption) or by reading predefined values from a file. The following table shows the defaults and options that apply to swcopy. Table 4-4 swcopy Command Options and Default Values
For More InformationSee Appendix A for complete descriptions of each default. This section provides examples of commands for copying software products. (See also “Additional Depot Management Tasks and Examples”.) To copy all products from the DAT tape at /dev/rmt/0m to the default depot (/var/spool/sw) on the local host: To copy a list of software selections (on a local CD-ROM) named in the file mysoft to a depot at the path /depots/mydep/ on the host named hostA and preview the process before actually copying the software: The swcopy command may prompt you for codewords if you try to access codeword protected software. You can also enter new codewords from the command line or from the GUI. This process is identical to that used by swinstall. See “Using Software Codewords and Customer IDs ” for more information. Software is packaged into products. Depots can store multiple versions of a product. If a product version already exists in the depot, swcopy will not replace it unless the reinstall option is set to true. If this option is true, then the product is recopied. If other versions of the product already exist in the depot, swcopy copies in the new version and the others are not changed. swcopy does not automatically notify you when multiple versions of a product exist. swcopy only notifies you when an exact version exists and will be skipped (or recopied) |
Printable version | ||
|