Basic Configurations for CEM v1

7
 Tech Note 818 Basic Configurations for CEM v1.2 All Tech Notes, Tech Alerts and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information. Topic#: 002608 Created: January 2012 Introduction This technote provides step-by-step procedures for CEM 1.2 quick configuration tasks after installing Corporate Energy Management (CEM) version 1.2 for the first time. Importing CEM v1.2 Objects Into the Galaxy Creating the CEM Database Importing CEM Reports into Wonderware Information Server (WIS) Note:  This technote assumes that you are very familiar with Wonderware software such as Information Server (WIS), Application Server (WAS), InTouch, Historian Server, and Historian Client. You also need to be knowledgeable about MS SQL Server, Internet Explorer (IE), and related Operating System. If you have any issue or questions about Microsoft products, please contact Microsoft Technical Support at www.microsoft.com.  Application Versions Wonderware Information Server (WIS) v4.0 Corporate Energy Management (CEM) v1.2 Wonderware Application Server 3.1 SP3 InTouch v10.0 SP3 Windows 2008 Microsoft SQL Server v2005 or v2008 (32-bit) Importing CEM v1.2 Objects Into the Galaxy After installing CEM v1.2, you need to import CEM objects that come with the CEM software into the Application Server. 1. Open the Arches trA IDE and connect it to a CEM galaxy. 2. Click Galaxy > Import > Object(s). FIGURE 1: I MPORT CEM O BJECT 3. Browse to the p ackage file CEMv1_2.aaPKG in one of the following locations: • If you are installing CEM on 32-bit Windows Operating System, the package file CEMv1_2.aaPKG is in the following folder: C:\Program Files\Wonderware\Corporate Energy Management Application\AppObjects • If you are installing CEM on a 64-bit Windows Operating System, the package file CEMv1_2.aaPKG is in the following folder: C:\Program Files (x86)\Wonderware\Corporate Energy Management Application\AppObjects 4. Click Open to import the package. 5. On the Import Preferences dialog box, accept all default options (this is the first time you've imported the objects).

description

Basic Configurations for CEM v1

Transcript of Basic Configurations for CEM v1

  • 23/06/2015 BasicConfigurationsforCEMv1.2

    https://gcsresource.invensys.com/support/kbcd/html/1/t002608.htm 1/7

    TechNote818BasicConfigurationsforCEMv1.2AllTechNotes,TechAlertsandKBCDdocumentsandsoftwareareprovided"asis"withoutwarrantyofanykind.SeetheTermsofUseformoreinformation.

    Topic#:002608Created:January2012

    IntroductionThistechnoteprovidesstepbystepproceduresforCEM1.2quickconfigurationtasksafterinstallingCorporateEnergyManagement(CEM)version1.2forthefirsttime.

    ImportingCEMv1.2ObjectsIntotheGalaxyCreatingtheCEMDatabaseImportingCEMReportsintoWonderwareInformationServer(WIS)

    Note:ThistechnoteassumesthatyouareveryfamiliarwithWonderwaresoftwaresuchasInformationServer(WIS),ApplicationServer(WAS),InTouch,HistorianServer,andHistorianClient.

    YoualsoneedtobeknowledgeableaboutMSSQLServer,InternetExplorer(IE),andrelatedOperatingSystem.IfyouhaveanyissueorquestionsaboutMicrosoftproducts,pleasecontactMicrosoftTechnicalSupportatwww.microsoft.com.

    ApplicationVersions

    WonderwareInformationServer(WIS)v4.0CorporateEnergyManagement(CEM)v1.2WonderwareApplicationServer3.1SP3InTouchv10.0SP3Windows2008MicrosoftSQLServerv2005orv2008(32bit)

    ImportingCEMv1.2ObjectsIntotheGalaxyAfterinstallingCEMv1.2,youneedtoimportCEMobjectsthatcomewiththeCEMsoftwareintotheApplicationServer.

    1. OpentheArchestrAIDEandconnectittoaCEMgalaxy.2. ClickGalaxy>Import>Object(s).

    FIGURE1:IMPORTCEMOBJECT3. BrowsetothepackagefileCEMv1_2.aaPKGinoneofthefollowinglocations:

    IfyouareinstallingCEMon32bitWindowsOperatingSystem,thepackagefileCEMv1_2.aaPKGisinthefollowingfolder:C:\ProgramFiles\Wonderware\CorporateEnergyManagementApplication\AppObjects

    IfyouareinstallingCEMona64bitWindowsOperatingSystem,thepackagefileCEMv1_2.aaPKGisinthefollowingfolder:C:\ProgramFiles(x86)\Wonderware\CorporateEnergyManagementApplication\AppObjects

    4. ClickOpentoimportthepackage.5. OntheImportPreferencesdialogbox,acceptalldefaultoptions(thisisthefirsttimeyou'veimportedtheobjects).

  • 23/06/2015 BasicConfigurationsforCEMv1.2

    https://gcsresource.invensys.com/support/kbcd/html/1/t002608.htm 2/7

    FIGURE3:DEFAULTOBJECTIMPORTOPTIONS6. ClickOKtoproceedwiththeimport.

    FIGURE4:IMPORTAUTOMATIONOBJECTS

    TheimportprovidestwonewTemplateToolsets:CorporateEnergyManagementintheTemplateToolbox,andCorporateEnergyManagementintheGraphicToolbox.

    FIGURE5:CEMTEMPLATETOOLBOXOBJECTS

  • 23/06/2015 BasicConfigurationsforCEMv1.2

    https://gcsresource.invensys.com/support/kbcd/html/1/t002608.htm 3/7

    FIGURE6:CEMGRAPHICTOOLBOXOBJECTS

    Note:AfterconfiguringtheCEMobjectsandinstantiatingseveralCEMMeterandEventobjects,itisnecessarytolicensethem.YoucandownloadtheCEMLicensingGuidehere.

    ConfiguringtheCEMDatabaseBecausetheCEMdatabaseisnotcreatedbyinstallingCEM,youmustcreatetheCEMdatabasethatstoresmetersandeventdata.

    1. FromtheTemplateToolbox,expandtheCorporateEnergyManagementtoolset.RightclickoneachofthefiveCEMobjectsandselectNew>DerivedTemplate.Renamethederivedobjectstosomemeaningfulnamesfortheproject.Inthisexample,wewilladdaprefixMyinfrontofeachofthederivedCEMobjects.

    2. InordertocreatethenewCEMdatabase,doubleclickonthederivedtemplateMyCEMConfigurator.TheDatabasesubtabappearsundertheGeneraltabofthederivedtemplateisusedtoconfigureCEMsconnectionwithanexistingdatabaseortocreateanewenergydatabasefortheconnection.

    Note:TheMyCEMConfiguratorderivedtemplateisnotdeployed.Thistemplateismainlyusedtocreateanewenergydatabaseorestablishaconnectionwithanexistingdatabase,andtostoretheconnectioninformation.

    3. TypethecomputernamewheretheCEMdatabaseresidesintheServernamefield.4. TypethenewDatabasename.Inthisexample,thedatabasenameisMyCEMDB.5. SelecttheAuthenticationmode.Inthistest,weuseSQLServerauthenticationmodewithusernamesaandthecorrespondingpassword.

  • 23/06/2015 BasicConfigurationsforCEMv1.2

    https://gcsresource.invensys.com/support/kbcd/html/1/t002608.htm 4/7

    FIGURE7:SQLSERVERAUTHENTICATIONMODEANDSAUSERNAME+PASSWORD6. ClickOKtocreatetheCEMDatabase.7. ClickTestConnectiontomakesuretheconnectionissuccessful.

    FIGURE8:DATABASECONNECTIONISSUCCESSFUL8. WhentheCEMdatabaseiscreatedsuccessfully,Saveandcheckintheobject.MyCEMDBdatabaseisshownintheMicrosoftSQLServer

    ManagementStudio.

  • 23/06/2015 BasicConfigurationsforCEMv1.2

    https://gcsresource.invensys.com/support/kbcd/html/1/t002608.htm 5/7

    FIGURE9:MYCEMDBINMSSQLSERVERMANAGEMENTSTUDIO

    ImporttheCEMReportsintoWonderwareInformationServer(WIS)SinceCEMv1.2supportsbothSQLServer2005andSQLServer2008(fortheCEMdatabases),theinstallationofCEMv1.2providesaseparatesetofRDLfilesforeachversionoftheSQLServer.Therefore,youwillneedtoselectthecorrectSQLScript,dependingontheSQLServerversion.ExecutethescriptagainsttheCEMDatabasetoaccommodatethetargetedSQLversionoftheCEMreports.

    1. EnsurethatthefeatureArchestrAReportingisinstalledaspartofyourWISimplementation.CEMv1.2dependsonthisfeaturetoimporttheCEMReportsintotheWISportal.

    2. OpenSQLServerManagementStudioandconnectittotheDatabaseEngine,thenselectyourCEMDatabase(MyCEMDBinthisTechNote).3. OpentheCEMSQLScriptthatcorrespondstoyourSQLServerversion.

    ForSQLServer2008on32bitO/S:[drive]:\ProgramFiles\Wonderware\WonderwareCorporateEnergyManagementApplication\Reports\CEM_2008\Reports\CEM_Data\Report_Preparel.sql

    ForSQLServer2008on64bitO/S:[drive]:\ProgramFiles(x86)\Wonderware\WonderwareCorporateEnergyManagementApplication\Reports\CEM_2008\Reports\CEM_Data\Report_Preparel.sql

    ForSQLServer2005on32bitO/S:[drive]:\ProgramFiles\Wonderware\WonderwareCorporateEnergyManagementApplication\Reports\CEM_2005\Reports\CEM_Data\Report_Preparel.sql

    ForSQLServer2005on64bitO/S:[drive]:\ProgramFiles(x86)\Wonderware\WonderwareCorporateEnergyManagementApplication\Reports\CEM_2005\Reports\CEM_Data\Report_Preparel.sql

    4. Executetherightscriptandensurethattheitexecutedwithouterror.

    FIGURE10:EXECUTETHECEMSQLSCRIPTSUCCESSFULLY5. LaunchtheArchestrAReportsDatabaseConfigurationUtilitybyclickingStart>AllPrograms>Wonderware>InformationServer>

    DeployReports.6. Fillinthefields,referringtoFigure11(below)asareference.

    YoucancustomizetheSDSTypeNameandDataSourceName

  • 23/06/2015 BasicConfigurationsforCEMv1.2

    https://gcsresource.invensys.com/support/kbcd/html/1/t002608.htm 6/7

    EntertheCEMdatabasename(MyCEMDBinthistest)ForSQLServer2008,youmustusetheProviderSQLNCLI10otherwiseusethedefaultproviderSQLNCLIforSQLServer2005.

    7. FortheConfigurationFilefield,clickBrowsetoselectCEM_ReportsDeployConfig.xml.Itislocatedat[drive]:\ProgramFiles(x86)\Wonderware\WonderwareCorporateEnergyManagementApplication\Reports\

    Twofoldersareavailable:CEM_2005andCEM_2008.Choosethe.configfilethatisappropriateforyourSQLServerversion.

    FIGURE11:REPORTSDATABASECONFIGURATION8. ClickDeploy.

    FIGURE12:DEPLOYEDREPORTITEMSSUCCESSFULLY9. ClickOK.

    10. NowopentheWonderwareInformationServer(WIS)homepage,andexpandtheReportslinktoviewallthedeployedCEMreports.

  • 23/06/2015 BasicConfigurationsforCEMv1.2

    https://gcsresource.invensys.com/support/kbcd/html/1/t002608.htm 7/7

    FIGURE13:CEMREPORTSINWIS

    Clickthefollowingicontoviewthisfilein.pdfformat:

    B.Nguyen

    TechNotesarepublishedoccasionallybyWonderwareTechnicalSupport.Publisher:InvensysSystems,Inc.,26561RanchoParkwaySouth,LakeForest,CA92630.ThereisalsotechnicalinformationonoursoftwareproductsatWonderwareTechnicalSupport.

    Fortechnicalsupportquestions,[email protected].

    Backtotop

    2015InvensysSystems,Inc.Allrightsreserved.Nopartofthematerialprotectedbythiscopyrightmaybereproducedorutilizedinanyformorbyanymeans,electronicormechanical,includingphotocopying,recording,broadcasting,orbyanyinformationstorageandretrievalsystem,withoutpermissioninwritingfromInvensysSystems,Inc.TermsofUse.