Installing Services - FTP Directory Listing

beefwittedvalentineΔιαχείριση Δεδομένων

29 Νοε 2012 (πριν από 4 χρόνια και 10 μήνες)

3.739 εμφανίσεις



SWsoft

PEM 2.6 Update 2

Deployment Guide

Revision 4.12.3 (March 16, 2007)


(c) 1999
-
2007




ISBN: N/A

SWsoft.

13755 Sunrise Valley Drive

Suite 325

Herndon

VA 20171 USA

Phone: +1 (703) 815 5670

Fax: +1 (703) 815 5675


Copyright 1999
-
2007 SWsoft. All rights

reserved.

Distribution of this work or derivative of this work in any form is prohibited unless prior written
permission is obtained from the copyright holder.

PEM is a registered trademark of SWsoft, Inc.

Linux is a registered trademark of Linus Torvald
s.

RedHat is a registered trademark of Red Hat Software, Inc.

UNIX is a registered trademark of The Open Group.

Intel, Pentium, Xeon and Celeron are registered trademarks of Intel Corporation.

SSH and Secure Shell are trademarks of SSH Communications Secur
ity, Inc.

Request Tracker is a trademark of Best Practical Solutions, LLC.





3


Contents

Preface

10

Documentation Conventions

................................
................................
................................
........
10

Typographical Conventions

................................
................................
................................
..........
10

Feedback

................................
................................
................................
................................
......
11

Installing Linux
-
based PEM Management Node

12

Installation Preconditions

................................
................................
................................
.............
12

Creating and Configuring VPS (for PEM on VPS)

................................
................................
.......
14

Installing PEM on Management Node
................................
................................
..........................
16

Installing Windows PEM Management Node

20

Installing MS SQL Server 2005 SP 1

................................
................................
...........................
21

Installing MSSQL Server 2005

................................
................................
...........................
21

Installing SP1 for MSSQL Server 2005

................................
................................
.............
27

Installing IIS

................................
................................
................................
................................
..
28

Adding DNS Suffix

................................
................................
................................
........................
29

Installing PEM Management Node for Windows

................................
................................
..........
30

Installing Language Packs

................................
................................
................................
...........
34

Installing Second UI Server

................................
................................
................................
..........
35

Deploying Linux
-
based Shared Hosting

36

Network Requirements

................................
................................
................................
.................
37

Con
figuring Firewall

................................
................................
................................
......................
38

Intra Communications

................................
................................
................................
........
39

Mail Services Intra Communications
................................
................................
..................
40

Outgoing Connections

................................
................................
................................
.......
40

Incoming Connections

................................
................................
................................
.......
40

Logging on to PEM

................................
................................
................................
.......................
42

Installing License Key
................................
................................
................................
...................
42

Creating IP Pools

................................
................................
................................
.........................
46

Creating Attributes

................................
................................
................................
........................
47

Creating Resource Ty
pes

................................
................................
................................
............
48

Creating "DNS VPS" Resource Type
................................
................................
.................
49

Creating "UI VPS" Resource Type

................................
................................
.....................
51

Creating "DNS Hosting" Resource Type

................................
................................
...........
52

Creating "VPS Hard
ware Nodes" Resource Type

................................
.............................
53

Creating "Hardware Nodes" Resource Type

................................
................................
.....
53

Registering VPS Hardware Nodes

................................
................................
...............................
54

Registering Hardware Nodes

................................
................................
................................
.......
56

Adding Native Repository for Platform

................................
................................
.........................
58

Importing Application Templates (for PEM on VPS)

................................
................................
....
60

Installing DNS Server

................................
................................
................................
...................
64

Installing DNS Server on VPS

................................
................................
...........................
64

Installing DNS Server on Physical Server

................................
................................
.........
65

Installing UI Server

................................
................................
................................
.......................
67

Installing UI Server on VPS

................................
................................
...............................
67

Installing UI Server on Physical Server

................................
................................
.............
69



Importing Webapps Package Manifests

................................
................................
.......................
72

Installing Language Packs

................................
................................
................................
...........
72

Installing Services

................................
................................
................................
........................
73

Service Structure
................................
................................
................................
................
73

Inst
alling Services on Hosts

................................
................................
...............................
73

Services Installation Instructions

................................
................................
........................
74

Installing Domain Parking Service

................................
................................
.....................
75

Installing SSL Proxy Server

................................
................................
...............................
77

In
stalling Apache Web Server

................................
................................
............................
79

Installing MySQL service

................................
................................
................................
...
81

Installing postgreSQL Service

................................
................................
............................
83

Installing phpMyAdmin Service

................................
................................
..........................
84

Installing p
hpPgAdmin Service

................................
................................
..........................
86

Installing WsC Service

................................
................................
................................
.......
88

Installing SWsoft SiteBuilder 2.x for Linux

................................
................................
.........
89

Installing SWsoft SiteBuilder 3.0.x for Linux

................................
................................
......
93

Installing Mail Service

................................
................................
................................
........
97

Installing IMP Webmail Client (Horde)

................................
................................
.............
116

Installling osCommerce (Separate)
................................
................................
..................
121

Installing Urchin Service

................................
................................
................................
..
122

Installing DrWeb

................................
................................
................................
...............
124

Installing SpamAssassin

................................
................................
................................
..
125

Installing Request Tracker Service

................................
................................
..................
126

Installing Backup Service

................................
................................
................................
.
129

Multi
-
Purp
ose Servers

................................
................................
................................
.....
131

Creating Service Templates for Provisioning

................................
................................
.............
132

Understanding Provisioning Concept

................................
................................
..............
132

Managing Service Templates

................................
................................
..........................
137

De
ploying Game and Voice Hosting

174

Prerequisites to Installation

................................
................................
................................
........
175

Game/Voice Hosting Installation Checklist

................................
................................
................
175

Configuring PEM Notification Manager to Monitor Gam
e Hosting Installation Process

............
177

Installing Game Hosting Application Packages

................................
................................
.........
178

Registering FTP Support for Linux Platforms

................................
................................
............
179

Creating Provisioning Attributes f
or Game/Voice Hosting

................................
.........................
180

Registering VPS Hardware Nodes Dedicated to Game and Voice Hosting in PEM

.................
181

Creating New VPS Hardware Node Resource Type

................................
.......................
182

Creating New
IP Pools for VPSes Dedicated to Game and Voice Hosting

.....................
184

Adding to PEM and Configuring VPS Hardware Node

................................
....................
185

Creating Resource Types for Game and Voice Hosting Service Provisioning

..........................
187

Creating RT Based on TeamSpeak V.2 Voice Server RC
................................
...............
187

Creating RT for Provisioning VPSs Dedicated to Game Server Hosting Based on Virtual
Private Servers, Hardware nodes RC

................................
................................
..............
189

Creating RT for Provisioning VPSs Dedicated to Teamspeak Voice Server Hosting Based
on Virtual Private Servers, Hardware nodes RC

................................
.............................
191

Creating RT for Provisioning VPSs Dedicated to Storing Game Server Backups Based on
Virtu
al Private Servers, Hardware nodes RC

................................
................................
..
193

Creating and Configuring Game and Voice Hosting Service Templates

................................
...
195

Creating Service Templates

................................
................................
.............................
195

Configuring Service Tem
plates

................................
................................
........................
196

Adding Application Templates Required for Game/Voice Hosting Provisioning to Virtuozzo
Manager

................................
................................
................................
................................
.....
197

Synchronizing Application Templates Added to Virtuozzo Manager

................................
.........
198

Creating Game Server Templates

................................
................................
.............................
200

Setting Up User Rights for Customers

................................
................................
.......................
201

Setting PEM Skin for Game and Voice Hosting Interface

................................
..........................
201



Contents

5


Deploying Windows Ho
sting Infrastructure

202

Deploying Active Directory

................................
................................
................................
.........
203

Deploying First Domain Controller

................................
................................
...................
203

Configuring Domain Account Security Policy

................................
................................
..
212

Configuring Domain Controller Security Policy

................................
................................
216

Configuring Domain Windows Updates Policy

................................
................................
217

Deploying Second Domain Controller

................................
................................
..............
219

Distributing Roles Between

Two Domain Controllers

................................
......................
227

Configuring Second Domain Controller as Global Catalog Server

................................
..
229

Configuring DNS Service on Domain Controllers for External Resolving
........................
231

Securing Pre
-
Windows 2000 Compatible Access Group

................................
................
234

Configuring Time Synchronization

................................
................................
...................
236

Testing Active Directory Connectivity

................................
................................
..............
237

Pre
-
configuring Windows Nodes

................................
................................
................................
238

Deploying MPS Server

................................
................................
................................
...............
241

Deploying MPS Engine Server

................................
................................
........................
241

Installing MPS Provisioning Deployment Tool

................................
................................
.
242

Installing HMC Feature Pack 1

................................
................................
........................
247

Installing MPS Components

................................
................................
.............................
247

Installing PEM Agent on MPS Engine Node

................................
................................
....
255

Installing MPFCustomProviders Package

................................
................................
.......
255

Configuring Fir
ewall in Internal Network

................................
................................
..........
255

Registering Domain Controllers in PEM
................................
................................
.....................
258

Configuring Second UI Server

................................
................................
................................
...
258

Installing PEM on Windows Node

................................
................................
..............................
259

Installing MPF Client Components
................................
................................
...................
259

Testing MPS Functionality by Submitting Provisioning Requests

................................
...
261

Installing PEM Agent

................................
................................
................................
........
262

Deploying Data Hosting MS SQL Serv
er

267

Basic Configuration

................................
................................
................................
....................
267

Installing MS SQL Server 2000

................................
................................
................................
..
269

Installing Service Pack 4 for MS SQL Server 2000

................................
................................
...
276

Removing Sample Da
tabases

................................
................................
................................
....
278

Installing PEM on MS SQL Server

................................
................................
.............................
280

Installing MS SQL Package on Nodes

................................
................................
.......................
280

Creating Service Template for MS SQL Hosting

................................
................................
.......
280

Deploying IIS Web Hosting

282

Deploying IIS Web Server

................................
................................
................................
..........
282

Basic Configuration

................................
................................
................................
..........
282

Installing IIS

................................
................................
................................
......................
284

Installing QoS Packet Scheduler

................................
................................
.....................
285

Installing PEM on IIS Server

................................
................................
............................
286

Installing PEM Packages

................................
................................
................................
.
287

Firewall Configuration on Public Network Interface

................................
.........................
287

Specifying Applica
tion Pool Settings
................................
................................
................
292

Installing Services

................................
................................
................................
......................
295

Configuring Database Connectivity
................................
................................
..................
295

Installing PHP

................................
................................
................................
...................
296

Installing ActivePerl

................................
................................
................................
..........
296

Installing ASP.NET v 2.0

................................
................................
................................
..
297

Installing Windows SharePoint Services

................................
................................
.........
297

Installing WinFileManager

................................
................................
................................
305



Installing AWStats Web Statistics

................................
................................
....................
306

Installing SQL Server Web Data Administrator

................................
................................
307

Installing myLittleAdmin for SQL Server 2000

................................
................................
.
309

Installing ISAPI_Rewrite

................................
................................
................................
..
311

Installing
Windows Web Applications

................................
................................
..............
311

Creating PEM Service Template for IIS Web Hosting

................................
...............................
314

Deploying Microsoft DNS Hosting

316

Basic Configuration

................................
................................
................................
....................
316

Installing DNS

................................
................................
................................
.............................
318

Configuring DNS Server for Security

................................
................................
.........................
318

Installing PEM on MS DNS Server

................................
................................
.............................
318

Installing PEM Packages

................................
................................
................................
...........
319

Instal
ling MS DNS service

................................
................................
................................
..........
319

Deploying Exchange Hosting

320

Overview of Hosted Exchange Deployment

................................
................................
..............
322

Network Architecture

................................
................................
................................
........
322

Hosted Exchan
ge and Active Directory

................................
................................
...........
324

Hosted Exchange and Clustering

................................
................................
....................
325

Number of Global Catalog Servers

................................
................................
..................
325

Limitations

................................
................................
................................
........................
326

Configuring Active D
irectory

................................
................................
................................
.......
326

Configuring Windows Server 2003 on Nodes

................................
................................
............
327

Creating Exchange Mailbox Cluster

................................
................................
...........................
328

General Configuration of Exchange Mailbox Cluster

................................
.......................
328

Creating ClusterAdmin Account

................................
................................
.......................
329

Installing Windows Server 2003 Server Cluster

................................
..............................
330

Adding Nodes to a Server Cluster

................................
................................
...................
331

Preparing Cluster Nodes for Exc
hange 2003 Installation

................................
................
331

Installing First Exchange Mailbox Server

................................
................................
...................
333

Preparing Node for Exchange 2003 Installation

................................
..............................
333

Installing All Windows Components Required
by Exchange Server

...............................
335

Running Microsoft Exchange Installation Wizard

................................
............................
335

Checking Successful Installation of ForestPrep and DomainPrep

................................
..
337

Installing SP2 for Exchang
e 2003

................................
................................
....................
337

Final Operations

................................
................................
................................
...............
338

Installing Additional Exchange Mailbox Servers

................................
................................
........
339

Creating Exchange Virtual Servers for Clustered Configuration

................................
................
340

Creating Group to Host Exchange Virtual Server

................................
............................
341

Creating IP Address Resource

................................
................................
........................
342

Creating Network Name Resource

................................
................................
..................
344

Creating Disk Resource

................................
................................
................................
...
346

Creating Exchange 2003 System Attendant Resource

................................
...................
347

Starting POP3 and IMAP4 Services

................................
................................
................
349

Creating POP3 Cluster Resource

................................
................................
....................
349

Creating IMAP4 Clu
ster Resource

................................
................................
...................
351

Configuring Exchange Mailbox Servers

................................
................................
.....................
351

Configuring Administrative Groups to be Shown in Exchange System Manager

............
351

Configuring HTTP Virtual Serve
r in Exchange System Manager

................................
....
353

Configuring Mailbox Deletion Settings

................................
................................
.............
354

Configuring "Internet Newsgroups" Public Folder

................................
............................
355

Securing Default Global Address List

................................
................................
..............
355

Installing and Configuring Exchange Client Access Server

................................
.......................
356

Installing Exchange Client Access Server

................................
................................
.......
356

Assigning Front
-
End Role to Server

................................
................................
................
357

Removing Public Stores

................................
................................
................................
...
358



Contents

7


Removing Mailbox Stores

................................
................................
................................
360

Disabling Exchange Information Store

................................
................................
............
360

Enabling Network Protocols

................................
................................
.............................
363

Enabling Outlook Web Access

................................
................................
.........................
3
65

Customizing OWA Login Screen

................................
................................
.....................
373

Enabling Outlook Mobile Access

................................
................................
.....................
375

Enabling Exchange ActiveSync Support

................................
................................
.........
375

Configuring Security Settings for Mobile Devices

................................
............................
378

Verifying External DNS for SMTP Virtual Server

................................
.............................
381

Installing and Configuring Exchange SMTP Servers

................................
................................
.
383

De
ploying RPC
-
over
-
HTTP for Exchange 2003 Server

................................
.............................
384

Configuring Global Catalog Servers

................................
................................
................
384

Installing Windows RPC
-
over
-
HTTP

................................
................................
................
386

Configuring Exchange Mailbox Servers as

Targets for RPC Proxy Servers

...................
387

Configuring Exchange Client Access Server as RPC Proxy Server

................................
389

Configuring RPC Virtual Directory on RPC Proxy Server

................................
................
389

Checkin
g that RPC Proxy Server Uses Specified Ports

................................
..................
393

Installing SSL Certificate on RPC Proxy Server

................................
..............................
394

Configuring Network Load Balancing

................................
................................
.........................
404

Configuring NLB on Exchange

Client Access Servers

................................
....................
404

Configuring NLB on Exchange SMTP Servers

................................
................................
408

Configuring IIS on Exchange Client Access Servers

................................
.......................
409

Deploying Exchange Provisioning

................................
................................
..............................
411

Configuring ClusterAdmin Account for Clustered Exchange

................................
...........
411

Configuring MPS Server

................................
................................
................................
..
412

Installing MPF Exchange Provider

................................
................................
...................
419

PEM
-
Related Inst
allation Steps

................................
................................
................................
.
420

Creating DNS Records for Exchange Client Access Servers

................................
..........
420

Registering Exchange Mailbox Servers in PEM

................................
..............................
422

Registering Exchange SMTP Servers in PE
M

................................
................................
.
429

Installing Exchange OAB Service

................................
................................
....................
431

Creating Resource Type

................................
................................
................................
..
432

Creating Service Template

................................
................................
..............................
436

Checking Readiness of Exchange Server
s to Provide

................................
....................
436

Configuring AUTD Notification on Windows Mobile Smartphones

................................
...........
438

Deploying BlackBerry™ Messaging Service for Microsoft Exchange

................................
........
440

Overview

................................
................................
................................
..........................
441

Requirements

................................
................................
................................
...................
442

Deploying Microsoft SQL Server for BlackBerry™ Configuration Database

...................
445

Installing BlackBerry™ Enterprise Server

................................
................................
........
446

Configuring Exchange Permissions for BlackBerry™ Service Account

..........................
449

Creating Exchange Mailbox

................................
................................
.............................
450

Installing BlackBerry™ Enterprise Server

................................
................................
........
451

Installing BlackBerry™ Enterprise Server Resource Kit

................................
..................
452

Testing BlackBerry™ Service Account

................................
................................
............
455

Registerin
g BlackBerry™ Enterprise Servers in PEM

................................
.....................
455

Installing PEM Packages

................................
................................
................................
.
455

Deploying Good™ Messaging Server for Microsoft Exchange

................................
..................
456

Overview

................................
................................
................................
..........................
456

Requirements

................................
................................
................................
...................
457

Installing Good Messaging Server

................................
................................
...................
458

Configuring Exchange Permissions for GMS Service Account

................................
.......
462

Creating Exchange Mailbox

................................
................................
.............................
463

Testing GMS Service Account

................................
................................
.........................
466

Registering GMS Servers in PEM

................................
................................
....................
466

Installing PEM Packages

................................
................................
................................
.
466

Deploying Windows Streaming Media Hosting

468



Installing Windows Media Services

................................
................................
............................
468

Checking Successful Installation of Windows Media Services

................................
........
470

Making Initial Pre
-
Configuration

................................
................................
.......................
471

Confi
guring Firewall for Unicast Streaming

................................
................................
.....
474

Registering Windows Media Server in PEM

................................
................................
....
475

PEM
-
related Steps

................................
................................
................................
.....................
475

Installing WinFileManager

................................
................................
................................
475

Installing Windows Streaming Media Packages

................................
..............................
475

Resource Types Required for Streaming Media Hosting

................................
................
475

Creating Service Template

................................
................................
..............................
476

Marking Node as Ready to Provi
de

................................
................................
.................
477

Deploying ColdFusion Hosting

478

Planning Installation

................................
................................
................................
...................
479

Architectural Representation

................................
................................
............................
479

Deployment Overview

................................
................................
................................
......
480

System Requirements

................................
................................
................................
......
480

Installing Windows Node

................................
................................
................................
............
482

Creating IIS Virtual Web Site

................................
................................
...........................
482

Running Original Installer

................................
................................
................................
.
486

Af
ter Installation Tuning

................................
................................
................................
...
488

Installing PPM Packages for ColdFusion Support

................................
................................
.....
490

Deploying Plesk in VPS Hosting

491

Deployment Prerequisites

................................
................................
................................
..........
492

Checking Post
-
Installation (Post
-
Upgrade) Conditions

................................
..............................
493

Setting Up and Using PEM Notifications During PEM Packages Installation

............................
494

Installing PEM Packages

................................
................................
................................
...........
495

Configuring PEM Notification Manager

................................
................................
............
495

Installing PEM Packages to PEM Management Node
................................
.....................
496

Installing PEM Packages to PEM GUI (Proxy) Node

................................
.......................
497

Configuring PEM.Bill
ing to Work with PEM

................................
................................
................
498

Installing VZ OS/Application Templates to VPS Hardware Nodes

................................
............
499

Supported Operating Systems for Plesk

................................
................................
..........
50
0

Supported Applications for Plesk

................................
................................
.....................
500

Registering VPS Hardware Nodes

................................
................................
.............................
508

Creating Resource Type for VPS Hardware Nodes

................................
........................
508

Creating IP Pool for VPSs with VZ PEMAgents

................................
..............................
510

Registering Each VPS Hardware Node in PEM

................................
..............................
511

Configuring Just Added VPS Hardware Nodes

................................
...............................
511

Marking VPS Hardware Node as Used for Templates Import

................................
.........
512

Installing VZCP

License

................................
................................
................................
...
512

Creating Provisioning Attributes

................................
................................
................................
.
513

Marking Hosts With Provisioning Attributes

................................
................................
.....
514

Creating Resource Types for Plesk in VPS Hosting

................................
................................
..
514

Creating Resource Type for DNS Servers

................................
................................
.......
515

Creating Resource Type for Slave DNS Servers

................................
.............................
516

Creating IP Pool for VPSs

................................
................................
................................
516

Creating Resource Type for VPS
s With Plesk

................................
................................
.
517

Sample Resource Types for VPSs With Plesk

................................
................................
521

Creating Service Templates for Plesk in VPS Hosting

................................
..............................
525

Sample Service Templates for Plesk in VPS Hosti
ng
................................
......................
527

Creating Service Plans for Plesk in VPS Hosting

................................
................................
......
529

Creating Service Plan for Domains

................................
................................
..................
529

Creating Service Plan for Plesk in VPS Hosting

................................
..............................
536

Setting Up Security Parameters for Customers

................................
................................
.........
544



Contents

9


Deploying VPS Hosting

545

Deployment Prerequisites

................................
................................
................................
..........
546

Checking Post
-
Installation (Post
-
Upgrade) Conditio
ns

................................
..............................
547

Installing PEM packages

................................
................................
................................
............
548

Configuring PEM Notification Manager

................................
................................
............
548

Installing PEM Packages to PEM Management Node
................................
.....................
548

Installin
g PEM Packages to PEM GUI (Proxy) Node

................................
.......................
550

Post
-
Conditions

................................
................................
................................
................
550

Configuring PEM.Billing to Work with PEM

................................
................................
................
551

Creating Provisioning Attribute

................................
................................
................................
...
552

Marking Hosts with Provisioning Attributes

................................
................................
......
553

Registering VPS Hardware Nodes

................................
................................
.............................
554

Creating Resource Type for VPS Hardware Nodes

................................
........................
554

Creating IP Pool for VPSs
with VZ PEMAgents

................................
..............................
556

Registering Each VPS Hardware Node in PEM

................................
..............................
557

Configuring Just Added VPS Hardware Nodes

................................
...............................
557

Marking VPS Hardware Node as Used for Templates Impo
rt

................................
.........
558

Installing VZCP License

................................
................................
................................
...
558

Enabling SLM Support Feature on VPS Hardware Node

................................
..........................
559

Importing VZ OS/Application Templates

................................
................................
....................
560

Insta
lling VZ OS/Application Templates to VPS Hardware Nodes

................................
............
561

Creating IP Pool for VPSs

................................
................................
................................
..........
562

Creating Resource Types for VPS Hosting

................................
................................
................
562

Creating Resource Type for DNS S
ervers

................................
................................
.......
563

Creating Resource Type for VPSs

................................
................................
...................
564

Creating Resource Type for VPS Application Templates

................................
................
568

Creating Service Template for Dedicated VPS Hosting

................................
.............................
569

Creating Service Plans

................................
................................
................................
...............
572

Creating Service Plan for Domains

................................
................................
..................
572

Creating Service Plan for VPS Hosting

................................
................................
...........
579

Setting Up Security Parameters for
Customers

................................
................................
.........
581

Deploying Windows VPS Hosting

582

Installing PEM VZ Agent on Windows VPS Hardware Node

................................
.....................
583

Registering VZ Win Node in PEM

................................
................................
..............................
583

Creating Resource Type For VPSs on Virtuozzo for Windows

................................
..................
584

Deploying Windows SiteBuilder

587

Installing Windows SiteBuilder

................................
................................
................................
...
587

PEM
-
related Steps

................................
................................
................................
.....................
589

Deploying Branding

590

Installing PEM Packages

................................
................................
................................
...........
590

Glossary of Terms

591

Index

597





10


In This Chapter

Documentation Conventions

................................
................................
.............

10

Typographical Conventions

................................
................................
...............

10

Feedback

................................
................................
................................
..........

11



Documentation Conventions

Before you start using this guide, it is important to understand the documentation
conventions used in it.

Typographical Conventions

The following kin
ds of formatting in the text identify special information.

Formatting convention

Type of Information

Example

Special Bold

Items you must select, such
as menu options, command
buttons, or items in a list.

Go to the
QoS

tab.


Titles of chapters, sections,
and subsections.

Read the
Basic Administration

chapter.

Italics

Used to emphasize the
importance of a point, to
introduce a term or to
designate a command line
placeholder, which is to be
replaced with a real name or
value.

The system supports the so call
ed
wildcard character

search.

Monospace

The names of commands,
files, and directories.

The license file is located in the
httpdocs/common/licenses

directory.

Preformatted

On
-
screen computer output
in your command
-
line
sessions; source code in
XML, C++, o
r other
programming languages.

# ls

al /files

total 14470

C
H A P T E R
1

Preface



Preface

11


Preformatted Bold

What you type, contrasted
with on
-
screen computer
output.

# cd /root/rpms/php

<>

The value enclosed in angle
brackets is variable, i.e.
depending on the context it
can take this

or that value.

Go to unpacked OS directory:

#

cd <PEM_DIST>/rpms/<OS

CAPITALS

Names of keys on the
keyboard.

SHIFT, CTRL, ALT

KEY+KEY

Key combinations for which
the user must press and hold
down one key and then press
another.

CTRL+P, ALT+F4





Feedback

If you have found a mistake in this guide, or if you have suggestions or ideas on how to
improve this guide, please send your feedback to
userdocs@swsoft.com
. Please
include in your report the g
uide's title, chapter and section titles, and the fragment of
text in which you have found an error.







12


Any PEM softw
are deployment starts with the installation of the
Management Node

(MN), a PEM system core. After you install the MN and log on to it, you can add all the
other system components via PEM User Interface (UI). This chapter informs you on
PEM installation req
uirements and procedures.

PEM MN can be installed on one of the following types of hosts:



Virtual Private Server (VPS)



Physical Server

In This Chapter

Installation Preconditions

................................
................................
...................
12

Crea
ting and Configuring VPS (for PEM on VPS)

................................
..............
14

Installing PEM on Management Node

................................
................................
16



Installation Preconditions

Before installing PEM software, make sure
that the following preconditions are met:



The physical server designated to be the PEM MN meets the following
requirements:

Density

50 000 accounts

Quantity

1

Operating system

RHES3, RHESL4, CentOS4

It is recommended to install a 32
-
bit operating system.

For a
64
-
bit architecture, use a hardware compatibility mode to
support 32
-
bit software.

Software

To be installed by the Customer:



OS only

To be installed by SWsoft:



Virtuozzo 3.x

CPU

2 x Xeon 2.8 GHz

RAM

4 GB

C
H A P T E R
2

Installing Linux
-
based PEM Management
Node



Installing Linux
-
based PEM
Management Node

13


Disks

Array 1:



OS and software: 3 x 72 G
B SCSI RAID 5 (hardware
implementation)

Disk partitioning

Array 1:



5 GB
-

for OS



2 x RAM size (8 GB)
-

for swap



/vz
-

remaining space
-

for software

NICs

BackNet



At least one external DNS server is configured.



SMTP server with the open relay for MN is

configured.

Furthermore, if you are installing PEM on VPS, you need Virtuozzo™ 2.6.1 or higher
with RHEL3, RHEL4 or CentOS4 OS Template installed. For the Virtuozzo™
installation instructions refer to the Virtuozzo™ Installation guide.

If you are installi
ng PEM on Physical Server, the following supplementary preconditions
must be met:



The target server is assigned an internal IP address.



Hostname for the server is configured to the
/etc/resolv.conf

file of the DNS
server.

Important
: Hostname of the MN must

explicitly contain the "dot" symbol. For
example,
host.com
.




Installing Linux
-
based PEM Management Node

14


Creating and Configuring VPS (for PEM on
VPS)

If you are installing PEM inside VPS, you need to perform the following steps:

1

Put the PEM distr
ibution package into the
/root/

directory of the MN host.

2

Untar the tarball
PEM
-
HWS
-
<OS version>.tar

by executing the following
commands:


# cd /root/<PEM_DIST>/


# tar xf PEM
-
HWS
-
<OS version>.tar

3

Copy the file
ve
-
managementnode.conf
-
sample

located
in the
/etc/

directory
of the PEM distribution package into the directory
/etc/sysconfig/vzscripts

on the MN host:


# cp /etc/ve
-
managementnode.conf
-
sample /etc/sysconfig/vzscripts/

4

Create a VPS:


# vzctl create <MN_VPS_ID>
--
pkgset redhat
-
as4/<templat
e_version>
-
-
config managementnode

where:



<MN_VPS_ID>

is the unique numeric identifier of the MN VPS. You can enter
any number from 2 to 99.



<template_version>

is the version of Virtuozzo OS template. The following
template versions are currently supported
:



redhat
-
as4 20060503



centos
-
4 20060503



redhat
-
as3 20060316

Important
: Templates with versions higher then specified are not supported.
However, PEM may work on them. Templates with older versions will work, but they
(potentially) contain security vulnerab
ilities and bugs that are fixed in later versions.
So it is not recommended as well.

5

Start the created VPS:


vzctl start <MN_VPS_ID>

6

Add an IP address to the VPS:


# vzctl set <MN_VPS_ID>
--
save

-
ipadd <IP address>

where
<IP address>

is the internal I
P address to be used for MN VPS.

7

Add a hostname to the VPS:


# vzctl set <MN_VPS_ID>
--
save

-
hostname <hostname>

where
<hostname>

is the name of the MN host.

Note
: You need to use a FQDN for the hostname of the VPS MN. For example,
"
mn.host.com
".

8

Set th
e DNS server for the VPS:


# vzctl set <MN_VPS_ID>
--
save

-
nameserver <dns server>



Installing Linux
-
based PEM Management Node

15


where
<dns server>

is the IP address of the DNS server you are going to use for
the system.

9

Add the root user and set the access password:


# vzctl set <MN_VPS_ID>
--
sa
ve
--
userpasswd root:<passwd>

where
<passwd>

is the root password for accessing VPS.

10

If you are using Virtuozzo 2.6.1 or older, open the file
/etc/sysconfig/vz
-
scripts/ve
-
veconfig

on the MN host and put the symbol ' # ' at the beginning
of the following st
ring:

vzsethost /etc/hosts "127.0.0.1" ${HOSTNM}

As a result, the string will be disabled.




Installing Linux
-
ba
sed PEM Management Node

16


Installing PEM on Management Node

1

Untar the MN distribution package.


# cd /root/<PEM_DIST>/


# tar xf PEM
-
MN
-
<OS versio
n>.tar

2

Run the installer in the
mn/

directory.


# mn/install

The first Wizard screen appears

3

Click
Yes

to continue. You will be offered to read the License agreement.


Figure

1
: PEM Management Node Installation Wizard

4

Click
OK
.
The License agreement will be displayed.

5

Read the offered License agreement. You can use PageUp and PageDown keys to
browse through the document. When you are done with reading, press ENTER.

6

At the next screen select
Yes

and click ENTER if you agree to the

terms of the
license.

7

If you agree to the terms of the License agreement you will be offered to supply
certain information to properly configure the PEM Management Node. The
parameters are displayed in the form of a menu. To enter a specific piece of
info
rmation, select the number of the parameter in the list and press ENTER. Use
TAB to move around the fields. You will be prompted to enter or choose the
appropriate value.

Note
: Certain parameters already contain information by default. Although all
paramet
ers can be modified, you are strongly advised to use the default settings
where available.



Installing Linux
-
based PEM Management Node

17



Figure

2
: PEM Management Node Installation Wizard



FQDN of target host

-

MN VPS hostname is placed by default.



Internal Network Interface

-

The system will offer you the list of currently available
network interfaces. Select the interface with the internal IP address. This
interface will be used to communicate with PEM components/agents installed on
other hosts.



External Network Interface

-

E
nter the network interface, IP and mask parameter of
where the PEM services will be installed. For example,
eth0|address=10.63.52.36|netmask=255.255.0.0
.



PEM UI protocol

-

Select between HTTP and HTTPS protocols. You will use this
protocol for accessing UI

server.



Administrator UI Login

-

You will have to use this name for the first login to PEM
UI.



Administrator UI Password

-

This password will be used for the first login to PEM
UI.



Administrator email address

-

Enter the E
-
mail address, which will be use
d for
sending system notifications.



SMTP server address

-

Enter the name of the E
-
mail server to be used for sending
notification messages. In case if you don't have the configured mail server yet,
indicate the local IP address here: the notification mails

would go to the
root

user.



FROM field for notifications

-

Type in the text to be displayed in the 'FROM' field in
the messages the system sends.



PEM System DB hostname

-

By default, the MN hostname is offered. This database
server will be used for storing

all PEM internal data.



PEM System DB port

-

The port to access PEM System DB.



Installing Linux
-
based PEM Management Node

18




Installation Identity

-

Enter the unique Installation Identity name. Basing on it, PEM
recognizes a certain Provider and installs all the associated files. It can be a set
of cu
stom skins, integration with 3
-
d party products and other staff specially
developed for a certain Provider. The
Integration Identity

name should be
obtained at your vendor if there is any.

8

When all the necessary information is provided, highlight the
Finis
hed

item and
press
OK

to confirm the provided data and continue.

9

At the next step define the hosting type you wish to provide inside PEM. The
packages associated with them will be installed. You can choose
All components

option, if you need to install all
the listed components. In this case, you don't need
to select items in the list one by one.


Figure

3
: PEM Management Node Installation Wizard

Click
OK

to start the installation. After several minutes, the installation process sto
ps
with the error message telling you that some RPMs are not installed. The missing
RPMs are listed.

10

Install the missing RPMs.

11

Repeat the Step 2 of this procedure.

Follow the Installation Wizard up to Step 10 inclusive of this procedure. All the
parameters

have the values you specified at your previous passing through the
Wizard. So, you need only to click
OK

on the Wizard pages.

The installation starts.

12

When the installation completes, you will see the congratulation note stating that
the installation has

finished successfully. Click
OK
.



Installing
Linux
-
based PEM Management Node

19




Now you can log in to PEM user interface.




20


For some types of hosting, PEM Management Node

(MN) and PEM UI (User
Intrerface) Server need to be installed on MS Windows Server. This section describes
how to install PEM MN on MS Windows Server. PEM UI Server is installed
automatically together with PEM MN.

For PEM MN on Windows, you need a compute
r that meets the following requirements:

Density

50 000 accounts

Operating System

Windows Server 2003 Standard Edition SP1

Software

To be installed by the Customer:



OS only

To be installed by SWsoft:



SQL Server 2005 Standard Edition SP1

CPU

2 x Xeon 2.
8 GHz

RAM

4 GB

Disks

Array 1:



OS, software, and data: 3 x 72 GB, SCSI, RAID 5
(hardware implementation)

Disk partitioning

Array 1:



C: 10 GB
-

for OS and software



D: remaining space
-

for SQL Server data and log files

NICs

BackNet


In This Chapter

Installing MS SQL Server 2005 SP 1

................................
................................
.

21

Installing IIS
................................
................................
................................
.......

28

Adding DNS Suffix
................................
................................
.............................

29

Installing PE
M Management Node for Windows

................................
................

30

Installing Language Packs
................................
................................
.................

34

Installing Second UI Server

................................
................................
...............

35



C
H A P T E R
3

Installing Windows PEM Management
Node



Installing Windows PEM Management Node

21


Installing MS SQL Server 2005 SP 1

Before installing PEM MN node, you need to install MS SQL Server 2005 on the
computer you are going to install MN on (MN host). For the proper work of MN, Service
Pack 1 needs to be installed after the installation of MS
SQL Server 2005.

Installing MSSQL Server 2005

1

Log on to the MN.

2

Insert the CD with SQL Server 2005 distribution package.

3

Run
setup.exe
.

4

On the
End User License Agreement

page, select the
I accept the licensing terms and
conditions

check box and click
OK
.

5

On the
Installing Prerequisites

page, click on the
Install

button to start the installation
of the MS.NET framework 2.0 client connection tools. In the meanwhile, the
unpacking of the server installation files will start
.

6

After the installation of the files is over, click on the
Next

button to launch the
MSSQL 2005 Server Installation Wizard.

7

On the Welcome page, click
Next
.

8

On the
System Configuration Check

page, wait until the status of all the components is
Success

(al
l icons are green). Click on the
Next

button that gets available.



Installing Windows PEM Management Node

22





Installing Windows
PEM Management Node

23


Wait while setup prepares to continue with the installation. The process is indicated
in the
Status

process bar.

9

Enter the registration information. The Product Key is embedded into the pa
ckage
and is displayed in the non
-
editable text box. Click
Next
.

10

On the
Components to Install

page, select the following check boxes:



SQL Server Database Services



Workstation components, Books online and development tools

Click
Next
.




Installing Windows PEM Management Node

24


11

On the
Instance Name

page, select the
Default instance

option. Click
Next
.

12

If MSSQL Server 2000 is already installed on your computer, click
Next

two times.

Note
: Before continuing with the Wizard, you can click the enabled
Details

button to
see detailed information about MSS
QL instances already installed.

If MSSQL Server 2000 is not installed on your computer, the
Service Account

page
will be displayed. Select the
Use Built
-
in System Account

option and choose the
Network service

item from the drop
-
down list box. Click
Next
.




Installing Windows PEM Management Node

25


13

On the
Authentication Mode

page, select the
Mixed mode (Windows Authentication and
SQL Server Authentication)

option, enter a password for the account 'sa' into the
Enter
password

and
Confirm password

fields.




Installing Windows PEM Management N
ode

26


14

On the
Collation Settings

page, click
Next
.

15

On the
Error and Usage Report Settings

page, click
Next
.

16

On the
Ready to Install

page, click on the
Install

button.

17

Wait until the status of all the components is marked as
Setup finished
. Click
Next
.


18

On the
Completing Microsoft SQL Server 2005 Setup

pag
e, click on the
Finish

button.




Installing Windows PEM Management Node

27


Installing SP1 for MSSQL Server 2005

1

In the folder with the MSSQL Server 2005 distribution package, find the file with the
name
en_SQL_server_sp1_x86.exe

and launch it. Wait until t
he required files
are extracted and the
Microsoft SQL Server 2005 Service Pack 1 Setup

Wizard starts.

2

On the Welcome page of the Wizard, click
Next
.

3

On the
End User License Agreement

page, select the
I accept the licensing terms and
conditions

check box an
d click
Next
.

4

On the
Failure Selection

page, check that all the components are selected and click
Next
.


5

On the
Authentication Mode

page, click
Next
.

6

On the
Ready to Install

page, click
Install
.

Note
: The upgrade process may take from 10 to 30 minutes. Pl
ease be patient.

7

Click
Next

and then click
Finish
.




Installing Windows PEM Management Node

28


Installing IIS

For successful installation of PEM MN, you need to install IIS on the host that is to be
PEM MN. To install IIS on the host, follow these steps:

1

Insert the CD with the
IIS distribution package.

2

Go to
Start

>
Control Panel

>
Add or Remove Programs
.

3

Click
Add/Remove Windows Components
. The Windows Components Wizard starts.

4

On the
Windows Components

page, select the
Application Server

check box and click
on the
Details

butt
on.

5

In the opened
Application Server

dialog
-
box, select the
Internet Information Services (IIS)

checkbox.

6

Click on the
Details

button.

7

Select the following check boxes:



File Transfer Protocol (FTP) Service



SMTP Service



World Wide Web Service

8

Click
OK
.

9

Clic
k
OK
. The
Windows Components

page reopens.

10

On the
Windows Components

page, click
Next
. Wait until the components are
configured.

11

On the Wizard final page, click
Finish
.





Installing Windows PEM Management Node

29


Adding DNS Suffix

1

Log on to the MN as
Administrator
.

2

Right cl
ick
My computer
.

3

Select
Properties
.

4

In the
System Properties

dialog
-
box, open the
Computer Name

tab. Click on the
Change

button.

5

In the
Computer Name Changes

dialog
-
box, click on the
More

button.

6

In the
DNS Suffix and NetBIOS Computer Name

dialog
-
box, type

a DNS suffix (for
example,
provider.com
) into the
Primary DNS suffix of this computer

field. Click
OK
.

7

Click
OK

to close the
Computer Name Changes

dialog
-
box. The message box appears
with the following message:

You must restart this computer for the chang
es to take
effect.

8

Click
OK

in the message box.

9

Click
OK

to close the
System Properties

dialog
-
box. The message box appears with
the following message:

Do you want to restart your computer now?

10

Click
Yes

in the message box to restart the computer.





Installing Windows PEM Management Node

30


Installing PEM Management Node for
Windows

1

Log on to the MN node as a user with administrative permissions.

2

Download the installer on the node. The installer file name has the following format:

pem_mn.{build_numbe
r}
-
{NN}.msi

where:



{build_number}

-

the PEM build number.



{NN}

-

the assembly number.

3

Execute the installer file. The PEM Setup Wizard starts. On the
Welcome

page, click
Next
.


Figure

4
: PEM Installation Wizard
-

Welcome page

4

On t
he
Destination Folder

page, specify a folder where the application will be
installed. You can leave the default folder or you can select another folder after
clicking on the
Browse

button. After you select the destination folder, click
Next

to
continue.

5

On

the
Communication network interface

page, specify network interface for PEM
internal communication and click
Next

to continue.



Installing Windows PEM Management Node

31



Figure

5
: PEM Installation Wizard
-

"Communication network interface" page

6

On the
PEM system database

page, set the following parameters for PEM MN
database:



Database type
: Select the type of the installed database;



Hostname
: enter IP or DNS name of the Database host;



Database administrator login name
: '
postgres
' for PostgreSQL and '
sa
' for
MSSQL;



Databas
e administrator password
: The password entered during the database
installation. For MSSQL, see Step 13 in Installing MSSQL Server. For
PostgreSQL, you can use any or no password if the database was configured
for trusting.



Installing Windows PEM Management Node

32



Figure

6
: PEM Installation Wizard
-

"PEM system database" page

Click
Next

to continue.

7

On the
PEM database administrator

page, set the following parameters for PEM MN
database:



Plesk database user name
: Enter a name. Default is "plesk".



Plesk database name
: Ent
er a name. Default is "plesk".



Plesk database user password
: Enter a password.



Installing Windows PEM Management Node

33



Figure

7
: PEM Installation Wizard
-

"PEM database administrator" page

Click
Next

to continue.

8

On the
PEM web administrator account

page, specify accou
nt information (name and
password) for PEM web administrator. Click
Next

to continue.




Installing Windows PEM Management Node

34


Figure

8
: PEM Installation Wizard
-

"PEM web administrator account" page

9

Wait until PEM is installed. The installation process is displayed by
the indication
bar on the
Updating System

page.

10

On the Wizard final page, click on the
Finish

button.

Note
: PEM User Interface (UI) server is installed automatically during the MN
installation.

Installing Language Packs

If y
ou want to use other languages (beside English) for PEM user interface, you need
to install language packs. For this purpose, perform the following steps:

1

Form the Start Menu, go to
Start

>
Control Panel

>
Administrative Tools

>
Internet
Information Servic
es (IIS) Manager
.

2

In the left pane of the
Internet Information Services (IIS) Manager

dialog box, navigate to
Local Computer

>
FTP Sites

>
Default FTP Site
.

3

Right
-
click
Default FTP Site
. Select
Properties
.

4

In the
Default FTP Site Properties

dialog box, op
en the
Home Directory

tab.

5

In the
Local path

field, specify the path to the FTP home directory.

6

Click
OK
.

7

Put the tarball of the package
LP

(type:
other
, platform:
any
) into the FTP home
directory.

8

Log on to PEM.

9

In PEM, go to
Top

>
Deployment Director
>
A
pplications Manager

>
Packages Repository
.

10

Open the
URLs

tab.

11

Click on the
Add new URL

button.

12

In the
URL

field, type the URL of your FTP directory.




Installing Windows PEM Management Node

35


13

Click on the
Submit

button.

14

Open the
Packages

tab.

15

Click on the
Add new package

button.

16

In the
File

field
, specify the path to the package
LP

(type:
other
, platform:
any
).

17

Click on the
Submit

button.



Installing Second UI Server

Beside the PEM UI server installed automatically on the MN, PEM needs another UI
server installed

on a separate node that meets the following requirements:

Density

20 000 accounts

Quantity

1

Operating System

Windows Server 2003 Standard Edition SP1

Software

To be installed by the Customer:



OS only

To be installed by SWsoft:



I湴nr湥t Inf潲m慴楯n Se
rvi捥猠cIIS) 㘮6



ISAPI R敷rit攠䙵el

CPU

2 x Xeon 2.8 GHz

RAM

4 GB

Disks

Array 1:



OS and software
-

2 x 80GB, SATA, RAID 1 (software
implementation)

Disk partitioning

Array 1:



C: All disk space
-

for OS and software

NICs

FrontNet, BackNet

To install
the Second UI server, perform the following steps:

1

Log on to the node as a Local or Domain Administrator via
rdesktop
.

2

Check that IIS 6.0 and WWW service are already installed on the node. If these
services are not installed, install them.

3

Install Windows
Slave PEM Agent on the node.

4

Log on to PEM WinMN as Administrator and install the PEM package
pem
-
ui_win
.
All the packages required for UI node will be automatically installed together with
pem
-
ui_win
.




36


Shared Hosting

(sometimes called Virtual Hosting) is a scope of web and mail services.
In spite of the fact that these services are
shared

between clients, each account is
completely
isolated and "unseen" for the others.

PEM provides a cheap hosting solution for small
-
to
-
medium sized businesses and
individuals. The main services you can offer to customers using PEM are:



Disk space for storing any kind of electronic data,



Several kinds
of E
-
mail solution including related features like forwarding,
autoresponders, spam filter, virus protection and more,



Access to web statistic and log files,