Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 Distribution Function Administration Guide


7.6.14 Distributing a file larger than 2 gigabytes

If you distribute a file larger than 2 gigabytes to managed computers, split the file on the administrator's computer to create a package. The following procedure shows how to do it in a Windows agent.

  1. Create a cabinet for package registration.

    On the administrator's computer, use Remote Install Manager or the dcmpack command to create a new cabinet for package registration of the file to be split. For details about how to run Remote Install Manager, see 7.4 Managing cabinets and packages.

  2. Split the file and package files.

    Use the dcmpack command to split the file to be distributed.

    When the command ends normally, the file is split into the package based on the information in the specified parameter file and registered in the managing server.

    For details about the dcmpack command, see 14.9 dcmpack.exe (executing packaging). In the parameter file specified as a command argument, use the catAndValidatePackagingFile command as an external program that runs after installation.

    Note that when the command ends normally, the folder for the temporary file area is deleted automatically.

  3. Execute a remote installation job.

    Use Remote Install Manager or the dcminst command to distribute the file packaged in step 1 to distribution-destination computers. For details about how to run Remote Install Manager, see 7.3 Performing remote installation.

After a file packaged according to the above procedure is distributed to the distribution-destination computers, the split files are combined by the catAndValidatePackagingFile command. For details about the command, see 14.18 catAndValidatePackagingFile.exe (combining split files).

Organization of this subsection

(1) When JP1/IT Desktop Management 2 - Agent on distribution-destination computers is version 11-50 or earlier versions

When JP1/IT Desktop Management 2 - Agent on the distribution-destination computer is version 11-50 or earlier versions, distribute the combine-file command to the distribution-destination computer in advance. The following procedure shows how to distribute the command.

  1. Package the combine-file command.

    Using the agent of JP1/IT Desktop Management 2 version 11-51, package the combine-file command and register it.

    The combine-file command to be packaged is in:

    JP1/IT-Desktop-Management-2-Agent-installation-folder\tools\distribute\catAndValidatePackagingFile

    Specify the following attributes for the package:

    Package attribute

    Value

    Packaging information

    Any

    System conditions

    For the installation destination, specify a folder other than the folder where the agent is installed.

    Software conditions

    The version of the software name JP1/IT Desktop Management 2 - Agent is smaller than 11.5.1.0000.

    Package conditions

    This package is not installed.

    File properties

    Any

    Schedule

    Any

    Installation method

    Any

    Options

    Any

    External program

    Any

  2. Execute a remote installation job.

    Using Remote Install Manager or the dcminst command, distribute the packaged combine-file command to distribution-destination computers.

(2) Example of distributing a large Windows 10 update

As an example, the procedure of distributing a large Windows 10 update is described below.

  1. Get the Windows 10 update.

    For details about how to get the update, see the OS manual.

  2. Extract computers to which the update is applied.

    Extract and group computers to which the update is applied (PCs that the Windows 10 update has not been applied to).

  3. Deploy the update.

    On the administrator's computer, mount the Windows 10 update file (ISO image) as a drive. For details about how to mount an ISO image file as a drive, see the OS manual.

  4. Create a cabinet for package registration.

    Create a new cabinet for package registration of the file to be split.

  5. Split the file and package files.

    Execute the dcmpack command to split the file to be distributed. The following shows an example in which the ISO file for the update is mounted to E:\ and the parameter file is C:\para.txt.

    dcmpack /k password /i C:\para.txt /split /tempdir C:\temp

    What is contained in the parameter file (C:\para.txt)

    PACKAGING_SOURCE{
    base_fullpath= E:
    }
    PACKAGING_INFORMATION
    {
    package_name=Windows10FCU
    package_id=FD200304
    version_revision=000001
    generation=0000
    cabinet_name=FCAB01
    cabinet_id=F1
    package_code=P
    }
    SYSTEM_CONDITIONS{
    condition=H:c>=3072
    directory=C:\Temp\windows
    }

    Note: Specify a value larger than the file size of the distributed file for condition.

    When you execute the dcmpack command, the split files are registered as a package in the managing server.

  6. Create a setup script and package it.

    After distributing the update to the distribution-destination computers, create a script for executing the Windows 10 setup program and package the script.

    The following shows an example of the setup script:

    @echo off
    "C:\Program Files\HITACHI\jp1itdma\bin\catAndValidatePackagingFile" /d "C:\Temp\Windows"
    if not exist C:\Temp\Windows\setup.exe (
      echo setup.exe not found.
      exit /b 10
    )
    C:\Temp\Windows\setup.exe /auto upgrade /quiet /showoobe none

    If you create the C:\temp\setupfcu.bat setup script, register it as a package in the managing server, with the settings shown in the following table:

    Package attribute

    Item

    Value

    Packaging information

    Package name

    Any

    Package ID

    FD200304_255#

    Version/Revision

    000001

    Generation number

    0000

    Package type

    User program, data

    Cabinet name

    FCAB01

    Cabinet ID

    F1

    System conditions

    Installation folder

    C:\temp

    External program

    External program to be started after installation

    C:\temp\setupfcu.bat

    #: Check the package ID registered in step 5 and specify a value larger than the ID.

  7. Perform remote installation.

    Using Remote Install Manager or the dcminst command, distribute both packages created in steps 5 and 6 to the distribution-destination computers.

When the files packaged in steps 5 and 6 are distributed to the distribution-destination computers, the catAndValidatePackagingFile command is executed according to the setup script created in step 6. The Windows 10 update is then executed.