Licensing and Installing The PI Server
Licensing and Installing The PI Server
Licensing and Installing The PI Server
Sales Outlets/Distributors
Middle East/North Africa South America/Caribbean
Republic of South Africa Southeast Asia
Russia/Central Asia South Korea Taiwan
www.osisoft.com
OSIsoft, Inc. is the owner of the following trademarks and registered trademarks: PI System,
PI ProcessBook, Sequencia, Sigmafine, gRecipe, sRecipe, and RLINK. All terms mentioned
in this book that are known to be trademarks or service marks have been appropriately
capitalized. Any trademark that appears in this book that is not owned by OSIsoft, Inc. is the
property of its owner and use herein in no way indicates an endorsement, recommendation, or
warranty of such party's products or any affiliation with such party of any kind.
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in
subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at
DFARS 252.227-7013
Table of Contents
These instructions explain how to download and install the PI Server software and license
activation file. The basic steps are as follows:
1. Generate a PI Server License Activation File (page 6)
2. Install the PI Server (page 11)
3. Verify the PI Server License Activation and Installation (page 14)
If you are not sure whether your upgrade requires a new license activation file see “Do You
Need a License Activation File?” (page 6). For upgrade instructions, see “Upgrade an
Existing PI Server” (page 16).
This document also provides instructions for installing and upgrading PI Server collectives:
Installing High Availability (HA) Servers (page 18)
Installing PI Server with Microsoft Cluster Services (page 20)
Upgrading PI Server Collectives (PI HA and Microsoft Cluster) (page 22)
PI Server versions 3.4.370.52 and higher require a license activation file to run. This section
explains how to determine whether you need a license activation file, how to get a license
activation file, and what to do if your license activation file generation fails:
Do You Need a License Activation File? (page 6)
How to Get a License Activation File (page 6)
If You Cannot Generate a License Activation File (page 9)
Page 6
How to Get a License Activation
File
2. This page shows a table listing all the PI Servers licensed to the specified organization
and site. If you have access to multiple organizations and/or sites, make your choices in
the drop-down menu. If your site does not appear in the menu:
Talk to the PI contact person in your organization and request that you be added to
the list.
If you are the main PI contact in your organization, then visit the following page:
(http://techsupport.osisoft.com/Techsupport/NonTemplates/AddSite.aspx)
Here you can request to be added as site contact. This will allow you to generate a
license activation file for the servers under that site.
3. Find the entry for your PI Server in the table and then click the Generate link in the far
right column. This launches the license activation system.
4. Read the instructions and follow the steps for generating your license activation file. If
you need help with these steps, use the detailed instructions in the following section,
“How to Use the License Activation System.”
When you have successfully generated your license activation file, you get a zipped file
called pilicense.zip. Copy this file onto the computer that will be the PI Server and unzip
it. If you have problems generating a license activation file, see “If You Cannot Generate a
License Activation File” on page 9.
This section provides detailed instructions for using the MLA license activation system to get
your PI Server license activation file. Follow the steps described in the previous section to
launch the license activation system. The following instructions explain each step in the
system:
1. Verify the PI Server Manifest. Click the “PI Server Manifest” link. A window appears
showing you the license details for the selected PI Server. Check to make sure the server
type, data stream limit, add-ons, and interfaces are correct.
Note: If you’re installing PI High Availability (HA) Servers, make sure that your
manifest shows the correct number of additional PI Servers.
If you see a problem in the manifest, click on the “MLA Problem Report Form” link and
submit that form to report the problem. You should get a response from OSIsoft within
24 hours. If you cannot delay the installation, you can generate a temporary license
activation file and continue with the installation. For more on temporary license
activation files, see “If You Cannot Generate a License Activation File” on page 9.
2. Download the Machine Signature File (MSF) Generator Utility. This generator utility
creates a signature file that identifies some characteristics of the computer for licensing
purposes. Click on the “Machine Signature File Generator Utility” link. This takes you
to the Download Center to download the Machine Signature File generator.
At the top right of the Download page, click the Download Now link.
The OSIsoft license agreement appears. Click I Agree. If the license activation file is
successfully generated, the successful activation page appears. (If the license activation
file is not successfully generated, see the following section, If You Cannot Generate a
License Activation File.)
Click the “Download Activation File and Save to Disk” button. This downloads a zip file
called pilicense.zip. Copy the pilicense.zip file onto the computer that will be
the PI Server.
Unzip the pilicense.zip file. It contains the following files:
Page 8
If You Cannot Generate a License
Activation File
Make a note of the directory location where you saved pilicense.dat (on the computer
that will be the PI Server).
The machine signature file (MSF) identifies a computer based partly on its hardware and
software configuration. When you generate a new license activation file for an existing PI
Server, the generator looks at the machine identification information in the existing license
activation file. If your new MSF does not match the information in the existing license
activation file, then you get an error. Here’s what might be wrong:
You generated the MSF on the wrong computer. If you ran the MSF generator utility on
the wrong machine (on your desktop, rather than the PI Server computer, for example)
then the MSF will not match the existing license activation file. To fix this, run the MSF
generator on the PI Server computer and then try to generate the license activation file
with this new MSF file.
You significantly altered the hardware or software configuration on the PI Server
computer (for example, you added new drives or changed the operating system or
network card), or you moved the PI Server to a different computer.
Someone at your workplace has already generated the license activation file on a
different computer. You can check to see the history of when the license activation file
was generated. Go to the My Support > My License Activations page on the Tech
Support web site. Find your Server number in the table and then, in the “Activation
History” column, click View. Scroll down the page to see the Activation history for that
Server.
If you cannot successfully generate a license activation file for the PI Server, then you should
open a License Activation Support ticket. You can also get a temporary 14-day license
activation file at this time. Click to select the relevant checkboxes and then click the “Return
to My License Activations” button.
The license activation system also enforces some frequency restrictions. License activation
file generation fails in either of the following situations:
When you attempt to generate a license activation file too soon after already running
through the process once on the same PI Server
When you attempt to generate a license activation file for the same PI Server too many
times in one 24-hour period
If you can’t generate a license activation file because of frequency restrictions, then wait and
try again later.
Page 10
Download the PI Server Installation
Software
This section explains the basic steps for installing your PI Server software:
1. Download the PI Server Installation Software (page 11)
2. Copy Necessary Files onto the Computer (page 12)
3. Install the Prerequisites (page 12)
4. Install the Server Software (page 12)
For more information on installing and configuring new PI systems, refer to the PI Server
System Management Guide and to the release notes for your software.
Note: If you currently have PI Server version 3.0 or 3.1 you must upgrade to 3.2 before
upgrading to 3.4.x.
Windows XP SP2 x64 and later (64-bit) - (includes 64-bit Windows 2003, Vista,
2008)
b. Click the Download Now link at the top right of the page.
Page 12
Install the Server Software
license activation file, archive size and location, and so on. Here are some issues to consider
when you enter this information:
PI Archive file size: By default, the PI Server installer creates three archive files of 128
MB each. Archive sizing is an important part of Server configuration but you can change
the size and location of the archive files after the installation is complete. Note the
following resources on archive sizing:
The Intro to PI Server System Management Guide has a chapter on managing
archives.
The Tech Support web site has a spreadsheet on hardware and system sizing that
includes tips on archives. On the Tech Support home page, click Download Center
> Supporting Files > Extras. Download the Hardware and Systems Sizing
Recommendations Spreadsheet.
PI Archive and Event Queue location: It is important to install the Event Queue and the
Archives on separate hard drives. The Snapshot Event Queue file is designed to buffer
data collected in the event of an archive failure. Placing the Event Queue on the same
drive as the archives severely limits the benefit of this system.
To specify a location for the Event Queue during installation, click the Advanced button
on the Default Archive Information screen.
Setup prompts you to specify size and location of various PI Server files. Make a note of
the values you specify.
When the installation is finished, verify that the PI Server installation was successful. See the
following section, “Verify the PI Server License Activation and Installation.”
If errors occur during installation, contact OSIsoft Technical Support
(http://techsupport.osisoft.com/Contact+Us) and examine the installation log files as directed.
To verify that PI Server installed properly, run the PI System Management Tools (Start >
Program Files > PI System > PI System Management Tools) and connect to the PI Server.
In the PI Server help file, find the System Manager Checklist. Check the items on this list.
Each item has a link to a help topic explaining how to do the check.
To verify the license activation content:
1. Run the PI System Management Tools (SMT) and connect to the PI Server.
2. In the list of plug-ins on the lower left side of the SMT window, expand the Operation
entry and select Licensing.
The License Viewer appears. The License Viewer shows the license activation
information for the selected PI Server.
3. Click to expand “General” and check “Exp Time.” This is the time when your license
activation expires.
4. Click to expand “Resources.” View the pibasess.MaxAggregatePointModuleCount to
verify the number of data streams permitted with your license activation. Total data
streams include points and modules. You can also see how many data streams are
currently in use, and how many are left.
5. Under Programs, check which applications are allowed to run on the PI Server.
Page 14
Install the Server Software
If you have any questions about your license activation, please contact OSIsoft Technical
Support (http://techsupport.osisoft.com/Contact+Us).
2. Confirm that PI processes are stopped. You can use PI SMT to view PI Services. Open PI
SMT and select the PI Server in the Servers list. Under Operation, choose PI Services.
3. Run the PI Enterprise Server installation executable. This executable launches the
WinZip file extractor. Unzip the installation files and run the setup program. The setup
Page 16
Upgrade the PI Server Software
program will prompt you for some configuration information, such as location of the
license activation file, archive size and location, and so on.
If errors occur during installation, contact OSIsoft Technical Support
(http://techsupport.osisoft.com/Contact+Us) and examine the installation log files as
directed.
4. When the installation is complete, start the PI Server by executing the following
command file:
\pi\adm\pisrvstart.bat
5. Use PI SMT or the Windows Services panel to confirm that PI processes are started.
6. When the installation is finished, verify that the PI Server installation was successful. See
“Verify the PI Server License Activation and Installation” (page 14).
After the upgrade, check site-specific files for significant changes.
Note: If you are upgrading from PI Server 3.4.364.32 or earlier, you need to reconfigure
your automatic backup procedures. See the following section, “Upgrades from PI
Server 3.4.364.32 or Earlier.”
If you are upgrading from PI Server 3.4.364.32 or earlier, you need to reconfigure your
automatic backup procedures after the upgrade:
1. Delete the existing automated backup task.
2. On the PI Server computer, log into a Windows account that has administrator privileges.
3. Open a Windows command window.
4. Change to the PI\adm directory. For example, if the PI Server is installed in the C:
directory, you would type:
cd C:\PI\adm
This sets up the PI Server backup as a Windows Scheduled Task. The PI Server Backup task
appears now appears in Windows Scheduled Tasks (you can open Scheduled Tasks from
the Windows Control Panel).
For a PI Server High Availability (HA) collective, the licensing and installation instructions
are very similar to those for a regular PI Server. For licensing, you follow all the licensing
steps described in “Generate a PI Server License Activation File” (page 6) on the computer
that will be the primary PI Server. Do not generate a separate license activation file for each
server in the collective.
Here are the basic steps for installing PI Server HA Collectives:
1. Check your license manifest. The license activation file determines the number of
secondary servers that will be able to connect to the primary server. In the manifest, look
for the line that says Additional HA Servers. This number must match the number of
servers in the collective in addition to the primary server. For example, if you want to
create a PI HA collective consisting of a primary Server and two secondary Servers, then
the line in the manifest should say:
Additional HA Servers: 2
2. If you see a problem in the license manifest, click on the “MLA Problem Report Form”
link and submit that form to report the problem. You should get a response from OSIsoft
within 24 hours. If you cannot delay the installation, you can generate a temporary
license activation file and continue with the installation. For more on temporary license
activation files, see “If You Cannot Generate a License Activation File” on page 9.
3. Run the MSF Generator on the computer that will be the primary node. (The MSF
Generator generates the machine signature file required by the license activation system.
See in “Generate a PI Server License Activation File” on page 6 for details.)
4. Generate the license activation file for the primary node computer. When you have
successfully generated your license activation file, you get a zipped file called
pilicense.zip. This zipped file includes the license activation file for the primary
server (pilicense.dat). It also includes a temporary license file
(temporylicense.dat) that you can use to test the PI Server software installation on
the secondary nodes before adding them to the collective.
5. Copy the pilicense.dat file onto the computer that will be the primary PI Server.
6. Copy the temporylicense.dat file onto each computer that will be a secondary node.
7. Install the PI Server software on each PI Server in the collective. Use the same
configuration values and file structure for each installation. For example, if you install the
PI Server in C:\PI on the primary Server, use the same path on all the other PI Servers
in the collective. When prompted for a license file navigate to the appropriate file:
On the machine that will be the primary Server, use the pilicense.dat file.
Page 18
Upgrade the PI Server Software
Page 20
Microsoft Cluster Installation
Configure the PI System components as resources of the cluster. After installation, use
the PI Cluster Wizard (PIClusWizard.exe) in the PI/adm directory to create a cluster
group and cluster resources.
This chapter discusses PI Server software upgrades, not license activation upgrades. For
instructions on license activation upgrades on collectives, see “Upgrade the License
Activation File” on page 16. This chapter also includes instructions for designating a new
primary Server in a PI HA collective:
Collective Downtime During Upgrades
Which Server to Upgrade First?
Upgrade the PI Servers
Designate a New Primary Server (PI HA)
Page 22
Designate a New Primary Server
(PI HA)
Note: It is best to generate the new license activation file before you designate the
new primary Server. However, OSIsoft provides a grace period for PI HA
collectives. If a server is configured to be primary, and if it does not match the
machine signature in the license file, the collective can run for the HA grace
period. The grace period is typically 30 days.
2. Copy the new license activation file to all the members of the collective. (The Collective
Manager does not automatically take the license file from the new primary PI Server
unless you re-initialize.)
3. Designate the new PI Server. The steps are different depending on whether you are:
Creating a Primary PI Server with the Same Name
Promoting a Secondary PI Server
See the High Availability and PI Server Replication manual for detailed instructions.
Page 24