You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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 5-1
    Elements of the Update.zip file

    ElementDescription
    i3-userSee Authenticate to CLI Utility on page 8.
    i3-encrypted-passwordSee Authenticate to CLI Utility on page 8.
    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 update.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_v9.6_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_v9.6_download_path>]

-updates-ids "<updates_ids>"

Table 5-2    Elements of the Update.zip file

Element    Description

i3-user    See Authenticate to CLI Utility on page 8.

 

i3-encrypted-password    See Authenticate to CLI Utility on page 8.

 

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

Mandatory: Yes

proxy-alias    The alias of the servers’ node.

Mandatory: No

servers    Comma separated list of servers to prepare/install.

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

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

Values: true, false

Mandatory: Yes, if -servers is not specified

installation-cd-path    The path of the installation media.

Mandatory: Only for upgrade Precise version related updates

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

Mandatory: Yes

 

 

 

Precise. Performance intelligence from click to storage. Learn more > >
  • No labels