Job Management Partner 1/Software Distribution Client Description and User's Guide

[Contents][Glossary][Index][Back][Next]


11.3.1 Packaging a program product

The following shows the Packaging window when you select Program product as the package type. Note that packaging a program product requires superuser permission.

[Figure]

Organization of this subsection
(1) Basic operation for packaging a program product
(2) Setting detailed information for packaging a program product

(1) Basic operation for packaging a program product

The following lists and describes the options you can specify in the Packaging window. The Cabinet ID, Device, and PP ID options cannot be omitted.

Managing server
Specify the managing server where you want to package the resource. The default is the managing server set in the ManagingHost parameter in the settings file for client services. To specify a managing server other than the default, check the check box of Enter and enter the host file name in the entry box.

Password ~ <alphanumerics> ((1 to 8 characters))
Specify a password for registering the resource with the managing server. Specify a password that has been set to identify a packager on the managing server. No password is necessary when the resource is to be registered with the Windows version of JP1/Software Distribution Client Version 8 or later and the Windows version of JP1/Software Distribution SubManager Version 7i or earlier.
  • When packaging the resource in UNIX JP1/Software Distribution Manager or UNIX JP1/Software Distribution Client (relay system)
    Specify the password set in the PasswordForUpload parameter in the settings file.
  • When packaging the resource in Windows JP1/Software Distribution Manager
    Specify the password specified when you created a relational database. When not using a relational database, omit this option.

Cabinet ID ~ <alphanumerics> ((2 characters))
Specify the cabinet ID of the destination. You can package up to 256 resources in one cabinet. To create a new cabinet and package resources in the newly created cabinet, specify a name you want to assign to the cabinet in this option. The cabinet with the specified name will be automatically created and resources can be packaged in the cabinet.
Register different cabinet IDs with different managing servers. If you register different packages with the same cabinet ID in different managing servers, you may not be able to distribute the packages.

Device ~ <alphanumerics> ((up to 128 characters))
Specify the device name of the program product to be registered, or specify the absolute path to the Hitachi program product storage directory.

PP ID ~ <alphanumerics> ((up to 128 characters))
Specify the PP ID (program product ID) for the program product you want to package. There are the following two methods of specifying the PP ID:
  • Entering directly
    Enter the PP ID directly. You can specify multiple IDs by delimiting them by spaces.
  • Selecting from a list
    Entering a device name in Device or specifying the absolute path to the Hitachi program product storage directory and then clicking the Find button lists the program product model names stored in the device. The screen shot below shows the state of the Packaging window when program product model names are searched.

    [Figure]

    To search another device, click the Re-enter button to return to the previous status and then retry. To change the storing device and search the same device, click the Find button newly displayed next to the PP ID list.

(2) Setting detailed information for packaging a program product

When you select Program product in the Package type option and then click the Details button in the Packaging window, the Packaging Details (PP) dialog box appears.

[Figure]

The following lists and describes the options you can specify in this dialog box.

Compress
Specify whether or not to compress the resource. If you specify it to be compressed, select the compression method. The default is Settings file.

Settings file
Follows the value set in the settings file for client services.

COMPRESS
Compresses the resource using the compress command.

PACK
Compresses the resource using the pack command.
It is not effective to use the PACK command for a resource that is 3 blocks or less in size. If an error occurs during the compression, the resource is packaged without being compressed.

Installation timing
Select the timing of installing the resource. The default is At system stop.

At system start
Installs the resource when the system starts up.

While running
Installs the resource according to a distribution job from the managing server.

At system stop
Installs the resource when the system stops.
If the resource has a daemon process, install it when the system starts up or stops. A resource cannot be installed when the system starts up if:
  • it is activated earlier than the user_daemon step in the /etc/rc script.
  • it has a shared library, or
  • it includes a program registered in /etc/inittab with respawn specified.
Even if you select At system start or While running, the program product may not be installed at the specified time due to its attributes. In this case, the JP1/Software Distribution Client installs the program product when the system stops.

External program after installation ~ <alphanumerics> ((up to 64 characters))
Specify the absolute path to the external program processing after market software installation (UAP to be activated after installing the distributed program product).

Time-out ~ <unsigned integer> ((1 to 32767)) (seconds)
Specify the period of time of monitoring the external program post-installation processing. When the processing is not completed within the specified time-out period, JP1/Software Distribution Client does not wait for the processing to be completed and executes the next processing. In this case, JP1/Software Distribution Client reports an installation error to the managing server.

Package storage period ~ <unsigned integer> ((current date to 2089/12/31))
Specify the expiration date for keeping the package in the storehouse of the relay system after it is distributed. The default is the number of days specified in the settings file for keeping a package. If a year before the packaging date is specified, it results in an error.

Recovery option
Specify whether or not to use the recovery option. The default is Do not recover. Some program product may not enable the recovery option depending on the attributes. If you select Recover for such a program product, the recovery option is not performed. If no backup directory is created in the destination system, the recovery option is not performed even if you select Recover.

Backup storage period ~ <unsigned integer> ((0 to 999)) <<0>> (days)
With the recovery option is enabled, specify the period of time for keeping a backup after the recovery option failed or when the recovery option can not be executed. A backup will be deleted when the number of days specified in this option is elapsed after the distribution date. While a backup is being stored, you can retry the recovery option. Specifying 0 in this option does not keep a backup. Specify 0 for a package for which the recovery option should not be retried. The default is 0.

Package owner
Specify the name of the owner of the resource you want to package. If you omit this option, a blank character is assumed.

[Contents][Back][Next]


[Trademarks]

All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.