This section includes the following topic:

Applying updates using the Precise CLI utility

To apply an update, you need to load the update related zip file to the Main Precise FocalPoint. This step is performed only once for the updates.zip, and there is no need to load the updates.zip again as part of applying it to servers. Once the update is loaded, you can apply the update to one or more servers. Applying an update consists of 2 stages, which must be run one after the other for the same group of servers:

  1. Prepare. Check the related servers’ disk space and produce pre-update action items that must be completed before you continue to stage #2.
  2. Install. Apply the updates to the servers.

Loading the updates.zip file

To load the updates.zip file, perform the following steps.

  1. Copy the updates.zip file to the Main Precise FocalPoint.
  2. Run the following command from the <precise_root> folder on the Main Precise FocalPoint:
    Windows    infra\bin\psin_cli.bat
                        -i3-user <user_name>
                        {-i3-encrypted-password <encrypted_password> | -i3-clear-password <clear_password>}
                        -action i3-update-load
                        -zip-file <update zip file path>
    UNIX            ./infra/bin/psin_cli.sh
                        -i3-user <user_name>
                        {-i3-encrypted-password <encrypted_password> | -i3-clear-password <clear_password>}
                        -action i3-update-load
                        -zip-file <update zip file path>
    Table 1
    Elements of the Update.zip file

    ElementDescription
    i3-userSee Authenticate to CLI Utility.
    i3-encrypted-passwordSee Authenticate to CLI Utility.
    actionAlways i3-update-load.
    zip-filePath to the updates.zip file located on the Main Precise FocalPoint.

Prepare and install the update

To install the update, perform the following steps:

  1. Load the updates.zip file (see previous section).
  2. Prepare the updates on a selected group of servers.
  3. Install the update on the same selected group of servers as in step #2. To prepare/install updates
  4. Run the following command from the <precise_root> folder of the Main Precise FocalPoint:
    Windows    infra\bin\psin_cli.bat
                        -i3-user <user_name>
                        {-i3-encrypted-password <encrypted_password> | -i3-clear-password <clear_password>}
                        -action {i3-update-prepare | i3-update-install} [-proxy-alias <node_alias>]
                        {-servers "<servers>" | -all-servers true}
                        [-installation-cd-path <Precise_vx.x_download_path>]
                        -updates-ids "<updates_ids>"
    UNIX            ./infra/bin/psin_cli.sh
                        -i3-user <user_name>
                        {-i3-encrypted-password <encrypted_password> | -i3-clear-password <clear_password>}
                        -action {i3-update-prepare | i3-update-install} [-proxy-alias <node_alias>]
                        {-servers "<servers>" | -all-servers true}
                        [-installation-cd-path <Precise_vx.x_download_path>]
                        -updates-ids "<updates_ids>"
    Table 2 Elements of the Update.zip file

    ElementDescription
    i3-userSee Authenticate to CLI Utility.
    i3-encrypted-passwordSee Authenticate to CLI Utility.
    action

    Either i3-update-prepare or i3-update-install.

    Mandatory: Yes

    proxy-aliasThe alias of the servers’ node.

    Mandatory: No

    serversComma separated list of servers to prepare/install.

    Mandatory: Yes, if -all-servers is not specified

    all-serversIndicates that the update should be prepared/installed on all related servers.

    Values: true, false

    Mandatory: Yes, if -servers is not specified

    installation-cd-pathThe path of the installation media.

    Mandatory: Only for upgrade Precise version related updates

    updates-idsComma separated list of updated IDs to prepare/install.

    Mandatory: Yes

IDERA |  Products | Purchase | Support |  Community |  Resources |  About Us  | Legal
  • No labels