# Software Upgrade

This chapter provides steps on upgrading the Open iT Client installation.

# Upgrading through the Windows Installer Interface

  1. Double click the new installer to begin.

  2. The installer will notify that there is an older version already installed on the machine. Click Yes to continue or No to cancel.

    Upgrade: Confirm Upgrade

    Upgrade: Confirm Upgrade

  3. The setup wizard will appear. Click Next.

    Upgrade: Confirm Upgrade

    Upgrade: Confirm Upgrade

  4. Read the License Agreement carefully before accepting the terms. Click Next.

    Upgrade: License Agreement

    Upgrade: License Agreement

  5. Select Use settings from previous installation setup if needed. If this option is not selected, supply the configurations needed for installation.

    Click Next.

    Upgrade: Installation Details

    Upgrade: Installation Details

  6. Specify where the Open iT software will be installed. Click Change to specify a different directory and click Next.

    Clicking Next without doing any changes will use the default installation path.

    Upgrade: Destination Folder

    Upgrade: Destination Folder

  7. Specify the Uniform Resource Identifier (URI) of the Open iT server. By default, the configured SRV (service) record in the Domain Name System is displayed.

    The installer will automatically retrieve the server name and Open iT ports from the URI supplied, assuring that all of the clients are in sync with the same ports and server name used.

    Click Next.


    Upgrade: Server URI

    Upgrade: Server URI

    If the provided server URI is not available or accessible, a prompt will be displayed. Select Yes to continue, or No to go back to the server URI dialog.

    Upgrade: Inaccessible Server URI

    Upgrade: Inaccessible Server URI

    If there are no servers available, provide a server URI and choose to continue with the installation if prompted - the process will continue even if the server URI alias used is not available.

    Leaving the Server URI text box blank will result in an error.

    Upgrade: Blank Server URI Warning

    Upgrade: Blank Server URI Warning

  8. Select Start Open iT Client Service as needed. If a review of the entries is needed, click Back.
    Click Install to begin the installation.

    Upgrade: Ready to Install

    Upgrade: Ready to Install

  9. Click Finish to complete the installation.

    A backup of configuration files that were modified on the previous Open iT version will be created at C:\ProgramData\OpeniT\Configuration.backup after the upgrade.

# Upgrading through the Command Line

  1. Open a command prompt with Administrator level privilege.

  2. Execute the following command:

    msiexec /i [msi_file] /l*v [log_file] [options] INSTALLDIR=$ROOT_DIR
    APACHE_SERVERPORT=[portnumber]

    REQUIRED:

    Name Description
    /i [msi_file] Use this parameter to specify the path to the Windows installer file, openit_[version]_client_windows_[architecture].msi.
    /l*v [log_file] Use this parameter to specify the path to the installation log file that will be created during installation.
    Required Key-Value Pairs for Core Client Installation

    OPTIONS:

    Name Description
    /quiet Use this to run the command in silent mode.
    /passive Use this to run the command in unattended mode - progress bar only.
    Options for Core Client Installation

    Properties:

    Name Description
    INSTALLDIR=$ROOT_DIR The path where the Open iT files will be installed. This value is set to C:\Program Files\OpeniT\Core by default.
    SERVERURI The web URI (Uniform Resource Identifier) including the correct port number of the Open iT Server.
    Core Client Installation Properties

  3. When using the passive mode, wait until the process bar dialog disappears. When using the quiet mode, verify if the installation is complete by opening the Task Manager and checking in the Details tab if the msiexec process is still running.

  1. Create a directory for the new installer file.

  2. Extract the archive contents of the installer using the following command:

    tar -xvpf openit_[version]_client_[platform]_[architecture].tar
  3. After extracting the archive, the directory dist will appear in the current directory. Go to the dist directory.

  4. Execute the install script. Upgrading does not require any parameter and will keep the settings from the existing installation but accepts a new server-uri value.

    ./install.sh 
  5. The install script will notify that there is an existing server on the machine and will ask to allow an upgrade.

    Type y and press Enter.

    Version: 10.0.250
    Platform: x86_64-unknown-linux
    Package directory: /root/new/dist
    Host type: Client
    Open iT Client (9.19.500) is already installed.
    Do you want to upgrade to Open iT Client (10.0.250) [Y/N]: Y

    After allowing the upgrade, the install script will display the following:

    Creating a backup of the current installation.
    Copying /var/opt/openit/etc to /var/opt/openit_persistent.
    Please wait...
    Backup created. Uninstalling Open iT Client.
    Open iT Client uninstalled. Proceeding with the upgrade. 
    This upgrade will use the new server-uri value supplied, if any.
    Other existing configuration values will be retained.
    Service Account Name: openit
    Service Account Group: openit
    Installation Directory: /opt/openit
    Root Temporary Directory: /var/opt/openit
    Verifying the directories that will be used by Open iT...
    
    Installing Open iT Client files...
    Installing crontab jobs, startup scripts, and boot runlevel links...
    Creating an archive of backup files...
    Archive created. This archive can be found in /var/opt/openit/inst.
    
    Upgrading Open iT from 9.19.500 to 10.0.250...
    Upgrade complete.
    Setting the service account as the owner of the installation files...
    Installation successful.

    Supplying a new server-uri value displays this additional message before confirming successful installation:

    Running update of server-uri to http(s)://NewServer-Uri ...

    A backup of configuration files that were modified on the previous Open iT version will be created at /var/opt/openit_persistent/etc.backup after the upgrade. An archive of the previous installation is located at /var/opt/openit/inst.

# Upgrading through the Installer Interface

  1. Double-click the openit_[version]_client_mac.pkg file. A pop-up will appear.

    Click OK to proceed with the installation.

    Installation: Warning

    Installation: Warning

  2. Click Continue to proceed with the installation.

    Installation: Welcome Screen

    Installation: Welcome Screen

  3. Read the License Agreement carefully. Choose to either Print, Save, Go Back, or Continue.

    Click Continue to resume the installation.

    Installation: End-user License Agreement

    Installation: End-user License Agreement

    A pop-up will appear.

  4. Agree to the terms of the software license agreement by clicking Agree.

    Installation: Agree End-user License Agreement

    Installation: Agree End-user License Agreement

  5. Click Install.

    Installation: Installation Type

    Installation: Installation Type

    A pop-up will appear.

  6. Key in the User Name and Password, then click Install Software.

    Installation: Install Software

    Installation: Install Software

  7. The installer sets up all necessary files on the computer. Click Close after completing the installation.

    Installation: Installation Complete

    Installation: Installation Complete

# Upgrading through the Terminal

  1. Open a terminal.

  2. Execute the following command:

    sudo installer -pkg <pkg_file> -target <tgt_vol>
    

    REQUIRED:

    Parameter Description
    -pkg Use this parameter to specify the full path to the mac installer file, openit_[version]_client_mac.pkg
    -target Use this parameter to specify the volume where Open iT will be installed
    Required Key-Value Pairs for Core Client Installation

    EXAMPLE:

    sudo installer -pkg openit_10_0_190_client_mac_x64.pkg -target /

    Once started, it will display the following:

    installer: Warning - A previous installation of OpeniT Client exists at
    /usr/local/openit. Installer version will be upgraded to 10.0.190.
    installer: Package name is OpeniT Client
    installer: Upgrading at base path /
    installer: The upgrade was successful.
    

We value your feedback!

Please take a few minutes to complete our survey and share your thoughts on your recent experience with our documentation.

Take survey

Close