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:
- Prepare. Check the related servers’ disk space and produce pre-update action items that must be completed before you continue to stage #2.
- Install. Apply the updates to the servers.
Loading the updates.zip file
To load the updates.zip
file, perform the following steps.
- Copy the
updates.zip
file to the Main Precise FocalPoint. 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 fileElement Description i3-user See Authenticate to CLI Utility. i3-encrypted-password See Authenticate to CLI Utility. action Always i3-update-load. zip-file Path to the updates.zip
file located on the Main Precise FocalPoint.
Prepare and install the update
To install the update, perform the following steps:
- Load the
updates.zip
file (see previous section). - Prepare the updates on a selected group of servers.
- Install the update on the same selected group of servers as in step #2. To prepare/install updates
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 2 Elements of the Update.zip fileElement Description i3-user See Authenticate to CLI Utility. i3-encrypted-password See Authenticate to CLI Utility. 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