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

Da itm wiki.
(Install CMS server)
Riga 98: Riga 98:
 
A wizard process will help during the installation of ''[[Glossary|CMS server]]''.
 
A wizard process will help during the installation of ''[[Glossary|CMS server]]''.
  
[picture]
+
[[File:CMS server 1 step.png|850x850px|thumb|centre|CMS server 1 step]]
  
 
Click on '''Next >''' button
 
Click on '''Next >''' button
Riga 104: Riga 104:
 
Select the installation folder created above and the <u>Application pool</u> ASP.NET v4.0 Classic.
 
Select the installation folder created above and the <u>Application pool</u> ASP.NET v4.0 Classic.
  
[picture]
+
[[File:CMS server 2 step.png|850x850px|thumb|centre|CMS server 2 step]]
  
Click on '''Next >''' for 2 times and wait for installation completion.
+
Click on '''Next >''' button
 +
 
 +
[[File:CMS server 3 step.png|850x850px|thumb|centre|CMS server 3 step]]
 +
 
 +
Wait for installation completion.
 +
 
 +
[[File:CMS server 4 step.png|850x850px|thumb|centre|CMS server 4 step]]
 +
 
 +
Installation completed: Click on '''Close''' button
  
[picture]
+
[[File:CMS server 5 step.png|850x850px|thumb|centre|CMS server 5 step]]
  
 
Move into installation folder and localize '''[Installation Folder] \ CMS \ Web.config'''
 
Move into installation folder and localize '''[Installation Folder] \ CMS \ Web.config'''
 
[picture]
 
  
 
Search the section limited by tag <settings>
 
Search the section limited by tag <settings>
 
[picture]
 
  
 
Insert the IP address or the name of DB server for the attribute with key "db.server".
 
Insert the IP address or the name of DB server for the attribute with key "db.server".
Riga 125: Riga 129:
  
 
Insert the DB name for the attribute key "db.schema".
 
Insert the DB name for the attribute key "db.schema".
 +
 +
[[File:CMS server Settings.png|850x850px|thumb|centre|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.
 
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.
Riga 134: Riga 140:
  
 
On IIS 7: select the option <u>Directory Browsing</u> and configure the settings as in following picture.
 
On IIS 7: select the option <u>Directory Browsing</u> and configure the settings as in following picture.
[picture]
 
  
And then click on Apply
+
[[File:CMS server directory browsing.png|850x850px|thumb|centre|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 .
 +
 
 +
 
  
 
= Upgrade CMS server =
 
= Upgrade CMS server =

Versione delle 10:09, 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.

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 steps (the script 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 .


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