Sunteți pe pagina 1din 14

Schneider Electric Distributed Database ION Enterprise 6.

0 SP1 + Win2008x32 + SQL2008 R2 x32

Distributed ION Enterprise 6 installation


- Database Server + Application Server
Windows 2008 32bit / SQL 2008 R2 32bit Standard

Introduction
This document describes the installation procedure of a new ION Enterprise 6 SP1 system with the following
parameters:
Server topology - Distributed system with a database server housing the ION database and an
application server housing the ION Enterprise application and Reporting Services.
Operation Systems - Windows 2008 Server 32bit (assumed to be already installed)
SQL Server Version - SQL Server 2008 R2 32bit Standard

Before you start


Have SQL 2008 Server R2 installation CD
Have ION Enterprise 6.0.1 CD (build 1300 has Service Pack 1 included)
Download the following 32 bit Feature Packs for SQL Server 2005 from Microsof
http://www.microsof.com/download/en/details.aspx?displaylang=en&id=11988
- SQLServer2005_BC
- sqlncli
- SQLServer2005_XMO
Have a copy of the RS2008WRConfigurationWizard (RESL 203767)

Table of Contents

2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 1


Schneider Electric Distributed Database ION Enterprise 6.0 SP1 + Win2008x32 + SQL2008 R2 x32

Introduction...................................................................................................................................................................... 1
Before you start.................................................................................................................................................................1
Table of Contents...............................................................................................................................................................2
1. Database Server Configuration......................................................................................................................................3
1.1. Install SQL 2008 R2 Standard.................................................................................................................................3
1.2. Install SQL Server 2005 Feature Packs from Microsof..........................................................................................5
1.3. Install ION Enterprise 6..........................................................................................................................................5
1.4. Install ION Enterprise 6.0 Service Pack 1...............................................................................................................5
1.5. Create the IONUser account..................................................................................................................................6
2. Application Server Configuration...................................................................................................................................6
2.1. Install Internet Information Services (IIS)..............................................................................................................6
2.2. Register 32 bit ASP.Net..........................................................................................................................................7
2.3. Install SQL 2008 R2 Standard.................................................................................................................................7
2.4. Validate Access to Report Manager.......................................................................................................................8
2.5. Install SQL Server 2005 Feature Packs from Microsof..........................................................................................8
2.6. Enable xp cmd_shell..............................................................................................................................................9
2.7. Enable Execute Permissions for IIS........................................................................................................................9
2.8. Install ION Enterprise 6.0.......................................................................................................................................9
2.9. Run ION Enterprise 6 Service Pack 1....................................................................................................................10
2.10. Change the Startup type of the ION Connection Manager..............................................................................10
2.11. Manual Configuration steps.............................................................................................................................10
2.12. Run RS2008WRConfigurationWizard.exe.........................................................................................................11
2.13. Starting ION Enterprise....................................................................................................................................13

1. Database Server Configuration


1.1. Install SQL 2008 R2 Standard
Insert the SQL Server 2008R2 CD
2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 2
Schneider Electric Distributed Database ION Enterprise 6.0 SP1 + Win2008x32 + SQL2008 R2 x32

Click OK to install .NET

-On the Lef Pane of the SQL installer, select Installation

-On the Right Pane, select New Installation or add features to an existing installation
-Product Key: enter product key > Next
-License Terms: accept the license terms > Next
-Setup Support Files > Install
-Setup Role: choose SQL Server Feature Installation > Next

-Feature Selection: install - Database Engine services


- Management Tools Complete
> Next
**IMPORTANT! Do not install Reporting Services!

-Instance Configuration: create a Named Instance called ION


-Server Configuration: click use the same account for all SQL services, select an account that has sufficient privileges to
access the database from the application server

2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 3


Schneider Electric Distributed Database ION Enterprise 6.0 SP1 + Win2008x32 + SQL2008 R2 x32

Set the SQL Server Agent Startup Type to Automatic > Next

-Database Engine Configuration:


1. Choose Mixed Mode
2. Enter password for the sa user (ION!Everywhere)
3. Click Add current user to SQL server administrators

Next > Install the native mode default configuration > Next > Install

2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 4


Schneider Electric Distributed Database ION Enterprise 6.0 SP1 + Win2008x32 + SQL2008 R2 x32

1.2. Install SQL Server 2005 Feature Packs from Microsoft


Install in order:
1. SQLServer2005_BC
2. sqlncli
3. SQLServer2005_XMO

1.3. Install ION Enterprise 6


Run Setup > Install Server > Database Server > Next
Accept the terms > Next
Enter Customer Information: Fill in as required > Next
Select SQL Server Instance: select the local ION instance > Next

click Yes

Select File Destinations: configure if necessary > Next

Next > Install

Finish

1.4. Install ION Enterprise 6.0 Service Pack 1


Double click ServicePack1.exe from the install media (D:\ServicePack\ServicePack1.exe)
Next > Finish
2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 5
Schneider Electric Distributed Database ION Enterprise 6.0 SP1 + Win2008x32 + SQL2008 R2 x32

1.5. Create the IONUser account


- Open Computer Management > Local Users and Groups.
- In the Users folder create the IONUser with password: IONisgreat!
- Check the Password never expires checkbox.
- Open the Groups folder and add the IONUser to the administrator group.

2. Application Server Configuration


2.1. Install Internet Information Services (IIS)
-Start > Administrative Tools > Server Manager
-Under Roles Summary click Add Roles and check Web Server (IIS)
-Expand each sub-folder and ensure the following IIS options are checked:

2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 6


Schneider Electric Distributed DB ION Enterprise 6.0 SP1 + Windows 2008 32bit + SQL 2008 R2 32bit

2.2. Register 32 bit ASP.Net


Ensure you are logged in as THE administrator and not just a user with administrator privileges! Alternatively you
can run an elevated command prompt. But either way you will need the administrator password. To run an
elevated command prompt, right click a command prompt shortcut and Run As Administrator. Run the
command:

%SYSTEMROOT%\Microsof.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

-Ensure IIS is working: In Internet Explorer type: http://localhost/

2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 7


Schneider Electric Distributed DB ION Enterprise 6.0 SP1 + Windows 2008 32bit + SQL 2008 R2 32bit

If IIS did not install successfully and you do not see this screen, then stop and resolve before continuing with the
install!

2.3. Install SQL 2008 R2 Standard


Insert the SQL Server 2008R2 CD

-On the SQL Server Installation Center, select Installation on the lef pane and select New Installation or add
features to an existing installation on the right pane
-Product Key: enter product key > Next
-License Terms: accept the license terms > Next
-Setup Support Files: > Install
-Setup Role: choose SQL Server Feature Installation > Next
-Feature Selection: install the following
- Database Engine services
- Reporting Services
- Management Tools Complete
> Next
-Instance Configuration: create a Named Instance called ION
-Server Configuration: click use the same account for all SQL services
Run all services under the local SYSTEM account. (May be listed as NT AUTHORITY\SYSTEM.) No need to
specify password.

-Database Engine Configuration:


Mixed Mode use ION!Everywhere for the sa password
Click Add current user to specify SQL Server administrators

2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 8


Schneider Electric Distributed DB ION Enterprise 6.0 SP1 + Windows 2008 32bit + SQL 2008 R2 32bit

Next > Install

2.4. Validate Access to Report Manager


- Browse to http://localhost/ReportServer_ION and http://localhost/Reports_ION.
- Provide Administrator login credentials if prompted.
- Verify there are no errors accessing either page.

NOTE: Stop immediately to troubleshoot & rectify any problems before proceeding!

2.5. Install SQL Server 2005 Feature Packs from Microsoft


Install in order:
1. SQLServer2005_BC
2. sqlncli
3. SQLServer2005_XMO

2.6. Enable xp cmd_shell


- Open SQL Server Management Studio. Connect to the SQL Server 2008 instance just installed.
- In the Object Explorer window, right-click on the server. In the pop-up menu, click Facets.
- In the Facets dialog box, in the Facet: drop-down list, choose Surface Area Configuration.

2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 9


Schneider Electric Distributed DB ION Enterprise 6.0 SP1 + Windows 2008 32bit + SQL 2008 R2 32bit

- The last item in the list in XPCommandShellEnabled. Change it to True and click OK.

2.7. Enable Execute Permissions for IIS


Start > Run > inetmgr
In the left pane select Default Web Site
In the middle pane double click and open Handler Mappings
In the right pane, select Edit Feature Permissions as shown below:

Ensure the IIS Default Web Site has Read, Script and Execute permissions.

2.8. Install ION Enterprise 6.0


Insert the ION Enterprise CD

Click Run Setup > Install Server > Primary Server > SQL Instance

2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 10


Schneider Electric Distributed DB ION Enterprise 6.0 SP1 + Windows 2008 32bit + SQL 2008 R2 32bit

click to Install required components

click Next to continue

-Accept the licensing terms > Next


-Enter Customer Info and Product Key > Next
-Select the <local server>\ION server instance > Next (choose the local instance of ION)

ignore the question and click Yes

-Select File Destinations: > Next


-ION Web Configuration: use default settings > Next >Install > Finish

2.9. Run ION Enterprise 6 Service Pack 1


-Double click ServicePack1.exe > Next > Finish

2.10. Change the Startup type of the ION Connection Manager


Use the Services Control Panel applet to change the Startup type of the ION Connection Manager service from
Automatic to Manual.

At this point the application server should function normally on its own except WebReporter is not yet installed.

2.11. Manual Configuration steps


- Shut down all ION Enterprise services starting with the ION Network Router Service

2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 11


Schneider Electric Distributed DB ION Enterprise 6.0 SP1 + Windows 2008 32bit + SQL 2008 R2 32bit

- Delete the Log Inserter and Query Server configuration files (just the .cfg files, not the directories). They will
both be in config\cfg\Logsrv directory in their own subdirectories.
- Start Database Manager from the system\bin folder
- Detach the ION databases
- Change ION Enterprise Database Registry settings to point to the SQL instance on the database server by
navigating to: HKEY_LOCAL_MACHINE\SOFTWARE\Schneider Electric\ION Enterprise\6.0\Databases
Change the Database key values to reference dataserver as shown below:

2.12. Run RS2008WRConfigurationWizard.exe

Report Server should be the local machine name >


Next

Click Force

2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 12


Schneider Electric Distributed DB ION Enterprise 6.0 SP1 + Windows 2008 32bit + SQL 2008 R2 32bit

Choose the second option to install RS on a


different Machine > Next

Choose the database server ION instance > Next

enter username sa, pw=ION!Everywhere


Next

2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 13


Schneider Electric Distributed DB ION Enterprise 6.0 SP1 + Windows 2008 32bit + SQL 2008 R2 32bit

Click OK to test authentication > Next > Next

Yes

Yes

OK > Next
Next > Finish

-Now manually copy PMLMSDEManager.dll (system\bin) to the same location on the database server.

2.13. Starting ION Enterprise


-Open Management Console and make sure the application server shows up under Servers add the application
server name if necessary.

-Update license key the license key may have to be updated otherwise you will get a
ManagementConsoleExeption error when you try to add a meter.

This can be accomplished in Management Console > tools > License Manager.

-Start ION services.

2011 Schneider Electric. All rights reserved. CONTROLLED DISTRIBUTION Page | 14

S-ar putea să vă placă și