Beruflich Dokumente
Kultur Dokumente
MIGRATION GUIDE
Page 1 of 28
Select I Agree to agree to the Licensing Agreement and then click Next.
Select the components that need to be installed by clicking the check box
Page 2 of 28
Click Next to select the installation folder path.
The default installation drive is C:\. However, the CEM components can be extracted to any directory of local
drive by modifying the installation path. Click Next.
Page 3 of 28
To complete the extraction of the CEM components, click Next.
It may take a moment to complete the extraction and installation of the CEM components.
Page 4 of 28
Click Next to complete the extraction and installation process.
After the installation process completes, the CEM ReadMe file automatically opens in the default browser.
Review the file for important product related information.
The default installation paths for each installed component are as follows:
Page 5 of 28
The CEM Wonderware Application Server Base Template Objects and Symbols
o [drive]:\Program Files\Wonderware\Corporate Energy Management \AppObjects
Using the ArchestrA License Manager, install the CEM 2012 R2 (CEM v2.0) license file.
Navigate to the CEM 2012 R2, Wonderware Application Server package (*.aaPKG) file provided during
the install of CEM 2012 R2. This file is available at <Install folder>\AppObjects\
When the Import Preferences dialog box appears, select the options as shown in the following
screenshot. For a first-time installation of CEM, accepting the default import preference options is
fine.
Page 6 of 28
When the import completes, Corporate Energy Management toolsets will appear in the Template
Toolbox and in the Graphic Toolbox.
NOTES
It is expected that the derived template of CEMConfigurator ( Eg: $MyCEMConfigurator) base
template will be marked with a red X until it is properly configured.
After you configure the CEM objects and instantiate CEM Meter and Event objects, you must license
them. You can do this using the CEM Licensing Utility that is installed with CEM. This utility appears in
the IDE. You must close and re-open the IDE at least one time for this utility to take effect.
Always remember to check the ArchestrA System Management Console (SMC) or Microsoft Event
Viewer logs for any potential issues.
STEP 5: VERIFICATION OF IIS SETTINGS FOR CEM WEB APPLICATION AND CEM
REPORTS
Start > Administrative Tools > Internet Information Services (IIS) Manager
o Right click the Server Name in IIS and select Features View. Select ISAPI and CGI Restrictions.
Page 7 of 28
Right-click on ASP.NET v4.0 and change its restriction to Allowed.
Before performing this configuration step, make sure that you have created a CEM database with
CEMConfigurator derived template. See the CEM User Guide for more information on using the
CEMConfigurator derived template.
To configure CEM Reports click the link from the below path:
Start >All Programs > Wonderware > Corporate Energy Management > Change Data Base
Configuration . The Report Server Details for CEM Reports dialog box appears.
Page 8 of 28
You must select the authentication type
o If you select the SQL Server authentication, you should provide a SQL Server Login
ID and password of the SQL server that has write access to the Information Server
Database.
o If you select the Windows authentication, the database connection will be
authenticated using the currently logged on user (this user must have write access to
the Information Server database).
Finally, you must select the Wonderware Information Server database from the drop down list
of available databases.
Click Next.
Page 9 of 28
Click Finish.
On the server hosting Information Server, make sure that the Reports option has been selected from
the CEM Installation.
Make sure that the ArchestrA Reporting feature is configured as part of your Wonderware Information
Server configuration.
Page 10 of 28
Wonderware Information Server:
o Start the ArchestrA Reports Database Configuration Utility from:
Start >All Programs >Wonderware > Information Server >Deploy Reports.
Configure the options, referring to the screenshot provided below as a reference.
You can customize the SDS Type Name and Data Source Name
The database name is the name you provided during the initial CEM DB creation from
the derived template of the $CEMConfigurator Object in the IDE.
For SQL Server 2008, you must use the provider SQLNCLI10; for SQL Server 2012, use
SQLNCLI11..
The configuration file is called CEM_ReportsDeployConfig.xml and is located at:
<Install folder>\Reports\
Click Browse to select the correct configuration file.
Click Deploy.
Page 11 of 28
After the reports are successfully deployed, open the Wonderware Information Server 2012 R2 home
page and expand the CEM link to view all of the deployed CEM reports.
Start >All Programs > Wonderware > Corporate Energy Management > Change Database
Configuration.
Page 12 of 28
If you select Windows authentication, you do not need to provide login credentials.
o If you select Windows authentication, the database connection will be
authenticated using the currently logged on user (this user must have
read/write access to the CEM database).
Page 13 of 28
Finally, you must select the Wonderware Information Server (WIS) database.
NOTES
To verify the version of CEM installed, open the Add/Remove or Programs and Features dialog box. An
example screenshot from a Windows 2008 installation is provided.
Locate the CEM Product Line and check the Version column.
o If you do not see the Version column, you can right-click any column heading and add it.
Page 14 of 28
Page 15 of 28
UPGRADING AND MIGRATING FROM A PREVIOUS RELEASE TO CEM 2012 R2
Page 16 of 28
Un-install the CEM Program Files using the Add/Remove Programs or Programs and Features dialog
box.
o CEM v1.1 or v1.2 or v1.5 is listed as ‘Wonderware Corporate Energy Management Application’
o This will not affect the CEM database, objects or reports. This will only remove the files located
under <Install Folder>.
The remaining CEM Components—such as the Reports in the Wonderware Information Server Portal,
the CEM DB and the CEM Wonderware Application Server objects—will be migrated to the newer
version during the migration process in this guide.
Using the ArchestrA License Manager, install the CEM 2012 R2 License File
Install CEM 2012 R2 by running the Setup.exe file from the CEM CD.
o For more information, see the INSTALLING THE WONDERWARE CORPORATE ENERGY
MANAGEMENT 2012 R2 section in this guide.
Note the new installation path of (<Install folder>).
STEP 5: IMPORT THE NEW CEM AAPKG FILE INTO THE GALAXY
Import the new CEM aaPKG file into the existing Galaxy.
o Attention!
o When the Import Preferences dialog box appears, configure the options exactly as shown in
the following screenshot. This step is critical for the proper migration of CEM objects.
After all CEM Graphic Symbols and (Base Template) Objects have been migrated, there will be a red “X”
on the following CEM objects. This is expected.
o The derived template from the $CEMConfigurator base template.
o All instances of the $CEMDataProvider object.
o All instances of the $CEMEngineService object.
Page 17 of 28
To address the red X on these objects, open the Object Editor for the derived template of the
$CEMConfigurator object to configure the object correctly. The default derived template that is
provided is called $MyCEMConfigurator.
This will first trigger a migration of the CEM database from current version of CEM DB to CEM 2012 R2.
Click OK to start the database migration.
Page 18 of 28
Click Close to continue. You will be returned to the IDE Editor for the derived template of the
$CEMConfigurator base template object. .
Under General > Database > Database Name, type in a fictitious database name.
Click Test Connection.
o The connection will fail as expected.
Connection status: Connection failed
Change the database name back to the original CEM database name.
o Alternatively it should be possible to select it from the provided list.
Click Test Connection.
o This time the connection test should be successful.
Save and close the derived template of the CEMConfigurator object.
o This triggers an update to all derived instances of the CEMDataProvider and EngineService
template objects, and the red “X” will be removed.
Close the IDE.
o It is necessary to close and re-open the IDE at least one time to allow the CEM Licensing Utility
to appear in the IDE.
Re-open the IDE.
NOTES
After configuring the CEM objects and instantiating CEM Meter and Event objects, it is necessary to
license them. This can be done using the CEM Licensing Utility that is installed with CEM and will
appear in the IDE (you must close and re-open the IDE at least one time for this utility to take effect).
Page 19 of 28
STEP 6: IMPORT THE CEM 2012 R2 REPORT FILES INTO
WONDERWARE INFORMATION SERVER (WIS)
CEM 2012 R2 supports SQL Server 2008 or later for both the CEM database and the SQL reports.
On the server hosting Information Server, make sure that the Reports option has been selected from
the CEM Installation.
Make sure that the ArchestrA Reporting feature is configured as part of your Wonderware Information
Server configuration.
Wonderware Information Server:
o Start the ArchestrA Reports Database Configuration Utility from:
Start >All Programs >Wonderware > Information Server >Deploy Reports.
Configure the options, referring to the screenshot provided below as a reference.
You can customize the SDS Type Name and Data Source Name
The database name is the name you provided during the initial CEM DB creation from
the derived template of the $CEMConfigurator Object in the IDE.
For SQL Server 2008, you must use the provider SQLNCLI10; for SQL Server 2012, use
SQLNCLI11..
The configuration file is called CEM_ReportsDeployConfig.xml and is located at:
<Install folder>\Reports\
Click Browse to select the correct configuration file.
Click Deploy.
Page 20 of 28
After the new CEM 2012 R2 reports are deployed, reload the Wonderware Information Server Portal
Home Page to see the new CEM reports. The following screenshots show the differences between the
two versions of the deployed reports.
Page 21 of 28
UN-INSTALLING CORPORATE ENERGY MANAGEMENT
To completely un-install CEM, there are five tasks to perform.
Refer to each software package’s documentation for detailed guidance on how to remove these
components. Removing each component effectively removes CEM from the computer.
o Wonderware Application Server for the Application Server Objects
Delete all CEM based derived object instances and templates.
o SQL Server for the SQL Database
Delete the CEM Database.
o ArchestrA License Manager for the license file
Remove the CEM license file.
Un-installing the CEM Reports is done using Microsoft SQL Server Reporting Services
On the CEM Web Server or where Wonderware Information Server is installed, navigate to
http://localhost/Reports/
A folder with the name of the CEM defined SDS Type should be present. In the example shown in the
screenshots, the name given was simply ‘CEM’.
Page 22 of 28
Click Show Details to view the report details.
Select the CEM (or a similarly-named SDS Type) folder by checking the box at the top of the report list
as shown in the screenshot.
Click Delete to delete the CEM Report folder and all its reports.
Click OK to confirm the deletion.
Finally, confirm that the Wonderware Information Server Portal reflects that the CEM Reports have
been removed.
Page 24 of 28
Change the Database Name option to the CEM database name.
Click Test Connection.
Page 25 of 28
STEP3: GET SCHEMA
Click Get Schema.
Save and close the object.
Page 26 of 28
All the Measure objects will be marked with a red “X”. This is expected.
Page 28 of 28