Differenze tra le versioni di "ItmSUITE® - CMS installation"

Da itm wiki.
(Installation procedure)
(Installation procedure)
Riga 34: Riga 34:
 
  <u>'''2.2 Init.sql'''</u>
 
  <u>'''2.2 Init.sql'''</u>
  
After installation script ran, in the table <u>'''AVER'''</u> will be present the version of just created CMS DB.
+
After installation script ran, in the table <u>'''AVER'''</u> will be present the version of just created ''[[Glossary|CMS DB]]''.
  
 
== Web server installation ==
 
== Web server installation ==

Versione delle 10:24, 27 nov 2015

Install CMS server

CMS logo

CMS server collects all the web services to support CMS fat client, RE and PM/SM integration.

Moreover this module will provide the component CMS web client to allow CMDB management.

DB: creation and initialization

System requirements

Hardware

- CPU Dual Core x64, 2,6 Ghz or more
- 2 GB ram (4GB recommended)
- 1 GB of free disk space

Software

- OS: Windows 2008 R2 Server (recommended), Windows 2003 Server
- MSSQL 2008 R2 (recommended), MSSQL server 2005 std

Installation procedure

This operation requires DB Owner grants on CMS DB

Follow the following steps:

1. Create a new DB instance on DB server engine

2. Execute the following scripts (the scripts are contained in folder 2.Script):

2.1 Create.sql

2.2 Init.sql

After installation script ran, in the table AVER will be present the version of just created CMS DB.

Web server installation

System requirements

Hardware

- CPU Dual Core x64, 2,6 Ghz or more
- 2 GB ram (4GB recommended)
- 1 GB of free disk space

Software

- OS: Windows 2008 R2 Server (recommended), Windows 2003 Server
- IIS 7.0 (recommended) , IIS 6.0
- Framework .NET 4.0

Installation wizard

Installation of CMS server requires Admin privileges on Web server.

Create a folder to install CMS server on Web server.

CMS Server installation folder

Run IIS (Internet Information Services) from Web server administration tools.

CMS server IIS

Create a new Web site in IIS.

CMS server new Web site

Set the Site name, the Physical path (this shall be the folder created above) and the Port.

CMS server new Web site details

At click on Ok the new Web site CMS server will be created.

The Port in above picture (32000) is just an example.

It is essential that the selected Port is not currently used by any other applications.

Unzip the CMS server package. The following folders shall be present:

1. Installer: contains the installation package

2. Script: contains the script to create and initialize the database

3. Doc: contains custom steps related to current version (if there are any)

CMS server release pack

To start the installation process, navigate to the folder 1. Installer and double-click on the file setup.exe.

CMS server Installer

If OS on Web server is a windows 2008 server: is required to right click on setup.exe and select "Run as administrator" option.

CMS server run admin

A wizard process will help during the installation of CMS server.

CMS server 1 step

Click on Next > button

Select the installation folder created above and the Application pool ASP.NET v4.0 Classic.

CMS server 2 step

Click on Next > button

CMS server 3 step

Wait for installation completion.

CMS server 4 step

Installation completed: Click on Close button

CMS server 5 step

Move into installation folder and localize [Installation Folder] \ CMS \ Web.config

Search the section limited by tag <settings>

Insert the IP address or the name of DB server for the attribute with key "db.server".

Insert the user with grant on DB itmSUITE CMS for the attribute with key "db.user".

Insert the password for the attribute key "db.password".

Insert the DB name for the attribute key "db.schema".

CMS server Settings

The default connection to MS SQL Server is on port 1433: if current DB Engine installation is answering to default port, it is not required to be declared.

If DB Engine installation is not configured on default port: it is required to declare it.

Example: <add key = "db.server" value = "db.server, 1435" />

On IIS 7: select the option Directory Browsing and configure the settings as in following picture.

CMS server directory browsing

And then click on Apply button.

Start the Web site from IIS.

As described above the CMS server allow access via browser to CMDB.

CMS web client is fully compatible with IE 10 and IE 11.

The following login page shall be visualized browsing http://[Web server]:[port]/CMS/


CMS web client login

Finally shall be possible to start work by login with correct credentials

CMS web client

Upgrade CMS server

DB: upgrade

This operation requires DB Owner grants on CMS DB

Follow these steps:

1. Execute a backup of CMS DB.

2. Execute the update_[version].sql present in folder 2.Script.

3. Check in folder 3.Doc if custom steps are present and execute them.

After upgrade script ran, in the table AVER will be present the version of just migrated CMS DB.

Web server upgrade

Upgrade of CMS server requires Admin privileges on Web server.

Follow these steps:

1. Execute a backup of CMS server installation folder (copy / paste the folder in another filesystem location, it shall be considered the [backup folder]).

2. From Web server control panel uninstall the CMS server

[picture]

3. Follow the steps above related to CMS server installation.

4. Search for just installed [Installation Folder] \ CMS \ Web.config and copy in on server desktop

[picture]

5. Search the section limited by tag <settings>

[picture]

6. Copy the previous <settings> from [backup folder] \ CMS \ Web.config in Web.config copied on server desktop

7. Move (overwrite) the Web.config from desktop to [Installation Folder] \ CMS \ Web.config

8. Check in folder 3.Doc if custom steps are present and execute them.

Install CMS fat client

Upgrade CMS fat client