Parallels H-Sphere 3.1 User guide

Category
Software
Type
User guide
Parallels
®
H-Sphere
Legal and Copyright Notice
ISBN: N/A
Parallels
660 SW 39
th
Street
Suite 205
Renton, Washington 98057
USA
Phone: +1 (425) 282 6400
Fax: +1 (425) 282 6444
© Copyright 2008,
Parallels, Inc.
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.
Product and service names mentioned herein are the trademarks of their respective owners.
Contents
Preface 12
Typographical Conventions ......................................................................................................... 12
Feedback ..................................................................................................................................... 13
About This Guide 14
Pre-configuration Wizard 15
Parallels H-Sphere config.xml ..................................................................................................... 18
Elements and Attributes .................................................................................................... 18
Software Used in Parallels H-Sphere 20
Integrated Third Party Products ................................................................................................... 20
Supplementary Software ................................................................................................... 22
Used Libraries and Technologies ...................................................................................... 23
Update of Operating Systems 24
Updating FreeBSD Kernel ........................................................................................................... 25
Updating Linux ............................................................................................................................. 25
Linux Up2Date ................................................................................................................... 27
Linux Apt-Get ..................................................................................................................... 27
Network Address Translation (NAT) 28
Configuring Newly Installed H-Sphere with NAT Support ........................................................... 29
Enabling NAT Support on a Live System .................................................................................... 30
Configuring NAT Firewall ............................................................................................................. 31
Migrating IPs with NAT ................................................................................................................ 31
Server Time Synchronization 32
NTP Time Servers ....................................................................................................................... 32
Cron Scripts 33
Control Panel Server Crons ......................................................................................................... 33
Web Server Crons ....................................................................................................................... 34
DNS Server Cron ......................................................................................................................... 34
Mail Server Crons ........................................................................................................................ 35
PostgreSQL/MySQL Server ......................................................................................................... 35
Traffic Calculation 36
Checking Traffic via Parallels H-Sphere Control Panel ............................................................... 37
Checking Traffic on Physical Servers .......................................................................................... 37
Processing Traffic by Crons ......................................................................................................... 38
Preface 4
HTTP traffic ........................................................................................................................ 38
User FTP traffic .................................................................................................................. 38
Virtual FTP traffic ............................................................................................................... 38
Mail traffic .......................................................................................................................... 38
Parsing Traffic by TrafficLoader ................................................................................................... 39
IP Migration (Changing IPs) 40
Changing IPs on Systems Without NAT ...................................................................................... 40
IP Migration Pre-requisites ................................................................................................ 41
IP Migration Map File ......................................................................................................... 42
Creating ipmigration.xml Manually .................................................................................... 43
Creating ipmigration.xml by Parallels H-Sphere IP Migrator ............................................. 44
IP Migration Step by Step .................................................................................................. 44
Changing External IPs on Systems with NAT ............................................................................. 54
Changing Internal IPs on Systems With NAT .............................................................................. 55
Configuring Parallels H-Sphere to Work on Two Sets of IPs ...................................................... 55
Restarting Services 56
Restarting Parallels H-Sphere Control Panel .............................................................................. 58
Restarting Parallels H-Sphere Database ..................................................................................... 58
Restarting Web Server................................................................................................................. 59
Restarting PostgreSQL Server .................................................................................................... 59
Restarting Mail Server ................................................................................................................. 61
Restarting MySQL Server ............................................................................................................ 61
Restarting Named ........................................................................................................................ 62
Control Panel Server 63
Understanding Control Panel Server Configuration .................................................................... 64
Installed Software .............................................................................................................. 64
Interaction Between Servers ............................................................................................. 65
Location of CP Files and Directories ................................................................................. 65
The Parallels H-Sphere Configuration File ........................................................................ 66
Control Panel Apache Server Configuration ..................................................................... 66
Control Panel Back-End Servlet Engine ............................................................................ 66
Reseller Configuration ....................................................................................................... 66
Reseller SSL Configuration ............................................................................................... 67
CP SSL Configuration ....................................................................................................... 67
CP Apache Log Files ......................................................................................................... 67
CP Traffic Calculation ........................................................................................................ 68
The Parallels H-Sphere System Database ........................................................................ 68
The System Database Settings ......................................................................................... 68
Logging into the System Database.................................................................................... 68
VACUUM Utility ................................................................................................................. 69
CP Mail Queue .................................................................................................................. 69
Logging in as the cpanel User ..................................................................................................... 70
Logging into Parallels H-Sphere System Database .................................................................... 70
Launching Control Panel Cron Jobs ............................................................................................ 70
CP Cron XML Configuration Files ..................................................................................... 71
Background Job Manager ................................................................................................. 71
Configuring Tomcat ...................................................................................................................... 71
Tomcat Configuration Files ................................................................................................ 72
Tomcat Log File ................................................................................................................. 72
Restarting Tomcat ............................................................................................................. 72
Customizing Tomcat Environment Variables .................................................................... 73
Running Java Command Line Tools ............................................................................................ 74
Preface 5
DNSCreator ....................................................................................................................... 75
IPMigratorFast ................................................................................................................... 76
PhysicalCreator ................................................................................................................. 77
PostApacheConfigs ........................................................................................................... 78
PostFTPConfigs................................................................................................................. 78
ServerAliasesRenamer ...................................................................................................... 79
ChangeLServerId............................................................................................................... 80
MIVAEmpresaFix ............................................................................................................... 80
KeyPairGenerator .............................................................................................................. 81
PGPEncrypter .................................................................................................................... 81
PGPMessageSigner .......................................................................................................... 81
PGPMessageVerify ........................................................................................................... 82
RepostResellerSSLConfigs ............................................................................................... 82
ServiceZoneRenamer ........................................................................................................ 83
BillingEraser ....................................................................................................................... 83
SetQuota ............................................................................................................................ 84
UrchinReconfig .................................................................................................................. 84
OffLogs .............................................................................................................................. 85
Reset Balance ................................................................................................................... 86
RegenerateIpsFile ............................................................................................................. 86
LicenseExtractor ................................................................................................................ 87
VPSConvertor24_25 .......................................................................................................... 87
MailRelayCorrector ............................................................................................................ 88
Securing Your CP Server with SSL ............................................................................................. 89
Disabling HTTP Access ..................................................................................................... 91
Switching Between IP and Domain Name ......................................................................... 92
Upgrading Java ............................................................................................................................ 92
Supported Versions ........................................................................................................... 92
Upgrade Procedure ........................................................................................................... 93
Converting Parallels H-Sphere System Database from MS SQL to PgSQL ............................... 95
Step 1. Convert Database from MSSQL Server to MySQL .............................................. 96
Step 2. Convert Database from MySQL Server to PgSQL................................................ 97
Upgrading System Postgres ........................................................................................................ 98
Converting Parallels H-Sphere Database To UNICODE ........................................................... 100
Accelerating Control Panel ........................................................................................................ 103
Parallels H-Sphere Java-related Issues .......................................................................... 104
Optimizing Parallels H-Sphere System Database ........................................................... 105
Troubleshooting ............................................................................................................... 111
Changing CP URL ..................................................................................................................... 111
Changing IP Address to Domain Name in CP URL ........................................................ 112
Changing Parallels H-Sphere Port .................................................................................. 112
Changing Entire CP URL ................................................................................................. 113
Setting Multiple Alternative CP URL‟s ............................................................................. 114
Migrating Control Panel Server .................................................................................................. 115
Generating SSH Keys for Parallels H-Sphere Servers .............................................................. 117
Encrypting Trouble Tickets ........................................................................................................ 118
Generating PGP Public Key and PGP Private Key ......................................................... 118
Enabling PGP Encryption In Your Support Center .......................................................... 119
Encrypting Texts With PGP Public Key ........................................................................... 119
Using Encrypted Parts in Trouble Tickets ....................................................................... 120
Web Server 121
Understanding Web Server Configuration ................................................................................. 122
FTP Server ...................................................................................................................... 123
SSL Implementation on Unix Web Servers ..................................................................... 128
Dedicated SSL ................................................................................................................. 128
Shared SSL ..................................................................................................................... 128
Third Party Log Analyzers Integrated in Parallels H-Sphere ........................................... 129
Preface 6
WebShell ......................................................................................................................... 133
MnoGoSearch .................................................................................................................. 134
Parallels H-Sphere Jail .................................................................................................... 136
Preventing Manipulation with Logs Directory Permissions ........................................................ 138
Altering Virtual Host Configuration ............................................................................................. 138
Calculating Web Traffic .............................................................................................................. 140
Using Third-Party Log Analyzers for Traffic Calculation ................................................. 141
Calculating Parallels H-Sphere Built-In Traffic ................................................................ 143
Adding Directories for User Homes ........................................................................................... 144
Installing Ruby on Rails ............................................................................................................. 144
Installing Chili!Soft ASP ............................................................................................................. 145
WORKFLOW ................................................................................................................... 145
Installing mod_perl ..................................................................................................................... 153
Installing Zend Optimizer ........................................................................................................... 154
Mail System 156
Understanding Parallels H-Sphere Mail..................................................................................... 157
Mail Package ................................................................................................................... 158
Included Software ............................................................................................................ 158
Webmails ......................................................................................................................... 159
IMAP Server .................................................................................................................... 162
Choosing Remote Web and MySQL Logical Servers for Horde Webmail Frontend ................. 164
Changing Mail Server Roles ...................................................................................................... 165
Blocking IPs on Mail Servers ..................................................................................................... 166
Adding Qmail Settings to IP/Subnet .......................................................................................... 167
Bouncing Mail ............................................................................................................................ 167
1. Separate IP for Sending Bounced Mail ....................................................................... 168
2. Processing Error Responses ....................................................................................... 168
3. Bounced Message Delivery ......................................................................................... 169
Configuring Qmail ...................................................................................................................... 169
Antivirus and Antispam Filters (SpamAssassin and ClamAV) ........................................ 170
Integrated Antispam Addons ........................................................................................... 173
Qmail Server Settings ...................................................................................................... 174
Command Line Qmail Configuration ............................................................................... 186
Syslog Facility/Level Configuration For rblsmtpd ............................................................ 186
SMTP Log ........................................................................................................................ 187
Mail Client and ESMTP Destination Server ..................................................................... 188
Qmail-spp Support ........................................................................................................... 189
Qmail TLS Support .......................................................................................................... 190
Integrated Plugins ............................................................................................................ 190
Choosing Remote MySQL Logical Server for SpamAssassin ................................................... 191
SPF and SRS ............................................................................................................................. 192
SPF (Sender Policy Framework) ..................................................................................... 193
SRS (Sender Re-write Scheme) ...................................................................................... 195
Updating SpamAssassin Rulesets Automatically ...................................................................... 195
Sa-update Script .............................................................................................................. 196
Rules Du Jour Script ........................................................................................................ 196
Migrating Mail Server/IP............................................................................................................. 200
Moving Mail Domains................................................................................................................. 203
Calculating Mail Traffic............................................................................................................... 204
Mail Traffic Log ................................................................................................................ 206
POP3 and IMAP Traffic ................................................................................................... 207
Web Mailing List Traffic ................................................................................................... 207
SpamGuard Setup ..................................................................................................................... 208
DNS Server 209
DNS Config Files ....................................................................................................................... 210
Preface 7
Parallels H-Sphere DNS Zones ....................................................................................... 210
Custom DNS Zones ......................................................................................................... 211
Reverse DNS ................................................................................................................... 211
Restarting Named ...................................................................................................................... 212
Bind 9.3 ...................................................................................................................................... 212
New Features .................................................................................................................. 213
Restarting Bind ................................................................................................................ 213
Using rndc ........................................................................................................................ 214
Adding DNS Servers .................................................................................................................. 215
Configuring Single DNS ............................................................................................................. 215
Installing and Configuring MyDNS ............................................................................................. 217
Installation ........................................................................................................................ 217
Uninstallation ................................................................................................................... 218
Migrating DNS from Bind to MyDNS .......................................................................................... 218
Moving DNS ............................................................................................................................... 219
Removing Broken DNS Zones ................................................................................................... 221
Removing User Domain Zone ......................................................................................... 223
Removing Service Domain Zone ..................................................................................... 224
Using DNS Creator .................................................................................................................... 225
MySQL Server 226
Installing MySQL Server ............................................................................................................ 226
Step 1. Checking for MySQL on Your Box ...................................................................... 227
Step 2. Downloading MySQL .......................................................................................... 227
Step 3. Installing MySQL ................................................................................................. 227
Step 4. Configuring MySQL ............................................................................................. 228
Step 5. Adding MySQL Server to Parallels H-Sphere ..................................................... 228
Backing Up MySQL Database ................................................................................................... 228
Running Parallels H-Sphere MySQL Scripts ............................................................................. 229
Getting Remote Access to MySQL Logical Server .................................................................... 230
Enabling Linked Tables in phpMyAdmin.................................................................................... 231
Changing MySQL Root Password ............................................................................................. 232
Option 1 ........................................................................................................................... 232
Option 2 ........................................................................................................................... 233
Moving MySQL .......................................................................................................................... 234
Step 1. Preparing Servers ............................................................................................... 234
Step 2. Moving MySQL Content ...................................................................................... 234
Step 3. Updating System Database ................................................................................ 235
Step 4. Updating Resellers‟ Server Aliases ..................................................................... 235
Step 5. Synchronizing MySQL Content ........................................................................... 235
Step 6. Finalizing the Migration ....................................................................................... 236
Step 7. Checking Functionality ........................................................................................ 237
Moving MySQL Accounts .......................................................................................................... 237
PostgreSQL Server 239
Installing PostgreSQL Server .................................................................................................... 239
Step 1. Checking for PostgreSQL ................................................................................... 240
Step 2. Downloading PostgreSQL ................................................................................... 240
Step 3. Installing PostgreSQL ......................................................................................... 241
Step 4. Configuring PostgreSQL ..................................................................................... 241
Backing Up PostgreSQL Database ........................................................................................... 242
Using VACUUM Utility ............................................................................................................... 242
Running PostgreSQL Scripts ..................................................................................................... 243
Changing Postgres User Password ........................................................................................... 244
Localizing PostgreSQL .............................................................................................................. 245
Configuring Parallels H-Sphere to Use Non-Default MySQL/PostgreSQL Versions ................ 245
Choosing Remote Web Logical Servers for phpMyAdmin/phpPgAdmin Frontends ................. 247
Preface 8
Downgrading Postgres............................................................................................................... 248
Windows Servers 250
MSI Packages ............................................................................................................................ 251
Download and Installation ............................................................................................... 252
Packages Requiring Third-party Software ....................................................................... 253
Dependencies Tree ......................................................................................................... 253
Winbox Directory Structure ........................................................................................................ 254
HSphere ........................................................................................................................... 255
HShome ........................................................................................................................... 256
HSlogfiles ......................................................................................................................... 257
Restarting Winbox Service ........................................................................................................ 257
Restarting IIS ............................................................................................................................. 258
Enabling Winbox Shared SSL ................................................................................................... 258
Integrating Winbox Shared SSL ...................................................................................... 259
Updating Winbox Shared SSL ......................................................................................... 260
Winbox Statistics ........................................................................................................................ 261
Statistics Modules ............................................................................................................ 262
Installing WebShell .................................................................................................................... 264
Installing FrontPage 5.0 ............................................................................................................. 264
Setting Up SharePoint to Use MSSQL Server .......................................................................... 265
Preinstallation Requirements ........................................................................................... 265
Installing and Configuring SharePoint ............................................................................. 266
Adding ODBC Resource ............................................................................................................ 269
Interface ........................................................................................................................... 270
Configuration ................................................................................................................... 273
Configuring ColdFusion ............................................................................................................. 275
Enabling ASP.NET 2.0............................................................................................................... 276
Moving Log Files ........................................................................................................................ 277
Removing Old Log Files............................................................................................................. 278
Moving User Homes .................................................................................................................. 279
Maintaining HShome.................................................................................................................. 279
Changing hsadmin Login and Password ................................................................................... 281
Winbox IP Migration ................................................................................................................... 282
Step 1. Bind Target IPs on Winbox ................................................................................. 282
Step 2. Add Double Bindings on IIS ................................................................................ 283
Step 3. Create Migration XML ......................................................................................... 284
Step 4. Run the Migration ................................................................................................ 285
Step 5. Remove Old IP Bindings on IIS .......................................................................... 285
Uninstalling Winbox ................................................................................................................... 286
Winbox Security Scheme ........................................................................................................... 288
Accounts Hierarchy ......................................................................................................... 289
IIS Security Management ................................................................................................ 290
NTFS permissions ........................................................................................................... 291
FrontPage Server Extensions Management Notes ......................................................... 292
ASP.NET Management Notes ......................................................................................... 292
Migration Notes................................................................................................................ 292
Recovery Notes ............................................................................................................... 293
Migrating Serv-U to MS-FTP ..................................................................................................... 293
Step 1. Create a User Account and User FTP Accounts in IIS FTP ............................... 294
Step 2. Reset NTFS Permissions .................................................................................... 296
Step 3. Recover Winbox quota ........................................................................................ 297
Step 4. Reset Anonymous Access for All User Domains in IIS ....................................... 298
Preparing Servers for MS Exchange Hosting (Hosted Messaging and Collaboration 3.0) ....... 299
Step 1. Install Required Software on the Servers ........................................................... 300
Step 2. Deploy Hosted Messaging and Collaboration ..................................................... 302
Step 3. Install WS Exchange Provider Adapter Namespace .......................................... 313
Step 4. Create Reseller Organization Unit ...................................................................... 314
Preface 9
Preparing Servers for MS Exchange Hosting (Hosted Messaging and Collaboration 3.5) ....... 316
Step 1. Install Required Software on the Servers ........................................................... 317
Step 2. Deploy Hosted Messaging and Collaboration ..................................................... 319
Step 3. Install WS Exchange Provider Adapter Namespace .......................................... 325
Step 4. Create Reseller Organization Unit ...................................................................... 326
Calculating Winbox Traffic ......................................................................................................... 328
Creating Mail Plan on MPS Server ............................................................................................ 329
MS SQL Server 332
Installing Microsoft SQL 2000 Server ........................................................................................ 333
Installing Microsoft SQL 2005 Server ........................................................................................ 334
Moving MS SQL Databases Across Servers ............................................................................. 335
Moving MS SQL Databases to a New Location ........................................................................ 336
Method 1 .......................................................................................................................... 336
Method 2 .......................................................................................................................... 336
Virtual Private Servers 341
Configuration Parameters .......................................................................................................... 341
VPS Scripts ................................................................................................................................ 343
Perl Modules Used by VPS Scripts ................................................................................. 344
VPS Configuration ........................................................................................................... 345
Create VPS ...................................................................................................................... 346
Migrate VPS ..................................................................................................................... 348
Delete VPS ...................................................................................................................... 349
VPS Cron Scripts ............................................................................................................. 350
VPS Configuration Scripts ............................................................................................... 354
View List of Installed VPS‟s ............................................................................................. 357
Install/Uninstall Additional Packages ............................................................................... 358
Check VPS Files for Changes ......................................................................................... 360
VPS IP Migration Tool ..................................................................................................... 362
VPS Network Configuration Tools ................................................................................... 363
Device Management ........................................................................................................ 365
Backing Up VPS Content ........................................................................................................... 368
Adding VPS Network Gateways ................................................................................................ 369
VPS Subnet XML Configuration ...................................................................................... 370
Parallels H-Sphere VPS Configuration Parameters .................................................................. 371
VPS Templates .......................................................................................................................... 377
Creating and Modifying VPS Templates ......................................................................... 378
Default Templates............................................................................................................ 380
VPS Limits ................................................................................................................................. 384
Hints On Handling VPS Limits ......................................................................................... 385
Changing VPS Solution ............................................................................................................. 386
Changing Solution from Parallels H-Sphere Control Panel ............................................. 386
Changing Solution from Console ..................................................................................... 387
Changing Solution from Parallels H-Sphere Control Panel ............................................. 388
Configuring VPS Host ................................................................................................................ 389
Customizing Operating System Distributive URLs .................................................................... 393
Dedicated Servers 394
Configuring MRTG ..................................................................................................................... 395
Managing MRTG Service ................................................................................................ 395
Configuration Directory and File ...................................................................................... 395
Scripts Processing Data .................................................................................................. 395
RRD Files ........................................................................................................................ 396
The Problem with Calculating Large (>100mbps) Bandwidth Traffic .............................. 396
Preface 10
System Packages 397
Common Packages .................................................................................................................... 397
hsphere-info: Collecting Information About Parallels H-Sphere Servers into XML Configs398
hsphere-update Package ................................................................................................ 399
upackages Syntax ........................................................................................................... 399
Parallels H-Sphere Perl Modules .................................................................................... 400
Parallels H-Sphere Apache ............................................................................................. 405
Parallels H-Sphere PHP .................................................................................................. 416
Parallels SiteStudio Packages ................................................................................................... 426
Load Balancing 427
Load Balancers ................................................................................................................ 429
Supported NAS ................................................................................................................ 429
Load Balanced Cluster .................................................................................................... 429
Implementation of Load Balanced Cluster in Parallels H-Sphere ............................................. 430
Load Balanced Cluster in CP .......................................................................................... 431
Distribution of Requests Across Load Balanced Cluster ................................................. 431
Shared Content................................................................................................................ 431
Specific Master/Slave Content ........................................................................................ 432
Synchronization Between Master and Slave Servers ..................................................... 432
Traffic Calculation ............................................................................................................ 433
Load Balanced Cluster Map ............................................................................................ 434
NAT Configuration for Load Balanced Clusters .............................................................. 435
Load Balancing Support in Parallels H-Sphere ......................................................................... 436
Installing Load Balanced Web/Mail Clusters in Parallels H-Sphere .......................................... 436
Step 1. Install and Configure Load Balancer ................................................................... 437
Step 2. Prepare NAS ....................................................................................................... 438
Step 3. Prepare Master and Slave Web/Mail Boxes ....................................................... 443
Step 4. Install Parallels H-Sphere to Load Balanced Parallels H-Sphere Clusters ......... 445
Quota Managers ........................................................................................................................ 446
Resources Migration 447
Migratable Resources ...................................................................................................... 447
Migration Procedure ................................................................................................................... 448
Step 1. Create XML File Containing User Data ............................................................... 448
Data Type Definitions ...................................................................................................... 451
DTD Chart ........................................................................................................................ 451
Attributes Description ...................................................................................................... 452
Files ................................................................................................................................. 453
XML Validation................................................................................................................. 454
Step 2. Create XML File Containing Reseller Plan Data ................................................. 454
Step 3. Prepare The Target Control Panel ...................................................................... 460
Step 4. Create Reseller Plans ......................................................................................... 460
Step 5. Create Resellers ................................................................................................. 460
Step 6. Create End Users ................................................................................................ 461
Troubleshooting ............................................................................................................... 461
Backup and Recovery 462
Backing Up Parallels H-Sphere Control Panel Server ............................................................... 463
System DB Dump ............................................................................................................ 464
Parallels H-Sphere Backup and Recovery List .......................................................................... 464
Recovering Parallels H-Sphere Control Panel .......................................................................... 466
Step 1. Prepare for the Recovery .................................................................................... 466
Preface 11
Step 2. Recover System Data ......................................................................................... 466
Files and Directories To Be Recovered ........................................................................... 467
Recovering Unix Hosted Parallels H-Sphere Servers ............................................................... 468
Step 1. Prepare Crashed Server for Recovery ................................................................ 468
Step 2. Run Parallels H-Sphere Updater ........................................................................ 469
Step 3. Run the Recovery Tool ....................................................................................... 469
Step 4. Restore User Content ......................................................................................... 469
Restoring Files and Directories from Backup ............................................................................ 470
Restoring the Parallels H-Sphere System Database From Backup .......................................... 470
Restoring the Parallels H-Sphere Database on a Server with PostgreSQL Not Installed472
Restoring the Parallels H-Sphere Database Content if PostgreSQL Is Installed: ........... 473
Fixing Crashed Parallels H-Sphere Database ........................................................................... 474
Backing Up Winbox .................................................................................................................... 476
Backing Up the Metabase ............................................................................................... 476
Backing Up MS SQL Databases ..................................................................................... 476
Backing Up User Content ................................................................................................ 477
Recovering Winbox .................................................................................................................... 477
Step 1. Back Up User Content ........................................................................................ 478
Step 2. Install Parallels H-Sphere .................................................................................... 478
Step 3. Set Up Dedicated IPs .......................................................................................... 479
Step 4. Prepare Target Winbox for Physical Creator ...................................................... 479
Step 5. Run PhysicalCreator on the CP Box ................................................................... 480
Step 6. Restore Content from Backup ............................................................................. 481
Step 7. Install Shared SSL .............................................................................................. 482
Step 8. Set Correct NTFS Permissions and Owner for the Home Directory ................... 483
Recovering Winbox Quota ......................................................................................................... 484
Miva 485
Miva Installation for *nix ............................................................................................................. 485
Requirements .................................................................................................................. 485
Miva Empresa Installation ............................................................................................... 486
Miva Merchant Installation ............................................................................................... 489
Miva Installation for Windows .................................................................................................... 490
Updating Miva 4 to Miva 5 ......................................................................................................... 490
Urchin 491
Urchin4 & Urchin5 Installation for Unix ...................................................................................... 492
Urchin4 & Urchin5 Installation for Windows............................................................................... 494
Urchin 4 And Urchin 5 Database Utilities ................................................................................... 495
Urchin Database Utilities ................................................................................................. 495
Urchin Database Tables .................................................................................................. 495
RealServer 499
RealServer Installation for Unix ................................................................................................. 500
RealServer Installation for Windows .......................................................................................... 506
RealServer Config File Example ................................................................................................ 506
In this chapter:
Typographical Conventions ............................................................................... 12
Feedback .......................................................................................................... 13
Typographical Conventions
Before you start using this guide, it is important to understand the documentation
conventions used in it.
The following kinds 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 System 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 called wildcard
character search.
Monospace
The names of
commands, files,
directories, and domain
names.
The license file is located
in the
http://docs/common/
licenses directory.
C H A P T E R 1
Preface
Preface 13
Preformatted
On-screen computer
output in your command-
line sessions; source
code in XML, C++, or
other programming
languages.
# ls al /files
total 14470
Preformatted
Bold
What you type,
contrasted with on-screen
computer output.
# cd /root/rpms/php
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 using the online form at
http://www.parallels.com/en/support/usersdoc/. Please include in your report the
guides title, chapter and section titles, and the fragment of text in which you have found
an error.
Welcome to the H-Sphere Sysadmin Guide. It aims at system administrators and
explains how to install, configure and maintain H-Sphere and its components.
C H A P T E R 2
About This Guide
This document explains how to shape your Parallels H-Sphere cluster, add boxes and
hosting services and configure basic Parallels H-Sphere settings after Control Panel
installation.
C H A P T E R 3
Pre-configuration Wizard
16 Pre-configuration Wizard
Parallels H-Sphere Pre-Configuration Wizard writes the cluster configuration into the
specially formatted config.xml (on page 18) file (download sample config.xml
from http://hsphere.parallels.com/HSdocumentation/xmls/config.xml). The Configuration
File form on the main page enables you to:
Import: You upload the prepared XML file from a local machine to Parallels
H-Sphere and later reconfigure Parallels H-Sphere in the wizard.
Export: export config.xml with your Parallels H-Sphere cluster configuration to
your local machine.
Restore to Default: choose this option to recreate config.xml and to restart
configuring Parallels H-Sphere cluster in the wizard.
To complete the pre-configuration wizard:
1 Click the Edit General Settings icon on the right corner of the General
Settings caption and fill in the data on the page that appears:
System Domain: Specify the service domain name here.
One Server Installation: check this box if you need a single server installation.
Use NAT IP mapping: Check this box if you implement NAT (on page 28) on your
Parallels H-Sphere.
Press Submit and return to the main page of the wizard.
2 If you choose multiple server installation mode, you will see the Add
Physical Server icon on the right corner of the Physical Servers caption.
Click this icon and proceed to the form for adding new physical
servers and services.
Here you set physical server name, IP, root password to connect to, and choose
which hosting services (CP, Web, mail, DNS, MySQL, PostgreSQL) will be installed
there.
Note: At the moment, VPS, Windows, MRTG are not installed via Parallels
H-Sphere pre-configuration wizard.
Choose Use defaults for this server to apply default names for Parallels H-Sphere
logical servers on this server. By default, they are named webN, mailN, nsN, mailN,
mysqlN, respectively.
3 After you have added physical servers into Parallels H-Sphere cluster,
you will see them on the main page of the wizard.
Click the Edit icon in front of a physical server in the list and edit logical server
parameters. More on Logical Servers read in Parallels H-Sphere Service
Administrator Guide.
4 After you have done with Parallels H-Sphere configuration, press
Proceed Installation Wizard.
5 You will be taken to the Confirm Installation page. To complete
installation via CP web interface, click Yes, continue
6 On the page that appears check the servers you want to be
updated/installed and click Start.
To see the update log, click the server name link.
Pre-configuration Wizard 17
7 When update is finished and the light turns green, click Proceed to
complete installation.
8 On the page that appears, click Return to Admin CP.
You will be taken to the administrator control panel where you can maintain your
hosting business.
In this chapter:
Parallels H-Sphere config.xml............................................................................ 18
18 Pre-configuration Wizard
Parallels H-Sphere config.xml
The config.xml file is used in Parallels H-Sphere Pre-configuration Wizard (on page 15).
It contains Parallels H-Sphere cluster configuration: physical servers with their IPs and
root passwords to install Parallels H-Sphere to, and logical servers to be installed on
these boxes.
During regular Parallels H-Sphere installation, config.xml is formed in Parallels
H-Sphere Pre-Configuration wizard in admin CP and is temporarily stored in the
~cpanel/.settings directory. After completing Parallels H- Sphere installation in
the postinstall mode, installer removes this file. However, the postinstall mode
wont continue if config.xml is missing or is different from the one used at the
installation.
When installer runs in the install mode, it is required that you specify location of the
correctly formed config.xml. See Appendix B. Installation Script Options of Parallels
H-Sphere Control Panel Installation Guide.
Elements and Attributes
In the following chart xml elements are marked in bold and their attributesin italics.
physicalServers - a list of Parallels H-Sphere physical servers, each of them
described as physicalServer with attributes:
id - id of the physical server
name - name of the physical server
password - root password to the physical server Each physicalServer contains ip
and logicalServers elements:
ip - server IP with attribute:
type - type of the physical server
Element ip contains such child elements:
addr - IP address
ipExt - external IP for NAT mapping
Note: If Parallels H-Sphere does not use NAT, this child element is redundant.
mask - IP mask
logicalServers - a list of Parallels H-Sphere logical servers each of them described
as logicalServer with attributes:
group - group of the logical server
id -id of the logical server
name - name of the logical server
Pre-configuration Wizard 19
Each logicalServer element contains ips element - a list of IPs, each of them
described as ip with the following child elements:
addr - IP address
ipExt - external IP for NAT mapping
Note: If Parallels H-Sphere does not use NAT this child element is redundant.
mask - IP mask
systemzone - a Parallels H-Sphere DNS zone
hsversion - a Parallels H-Sphere version
This chapter lists various types of software used in Parallels H-Sphere.
Integrated Third Party Products
Even though we integrate or use the below products in Parallels H-Sphere, we do not
assume any responsibility for bugs in their source code. Should you have any problems
with these products, please contact the developers. The packages are listed in the
alphabetical order.
BS Counter http://www.stanback.net/programming/bscounter
This is a web hit counter/tracker written in Perl, features include: blocking of multiple
hits from the same user, insertion of commas, text-based or graphical modes, supports
multiple counters from the same script, and tracks users browsers, operating systems,
locations, top 20 referrers, and top 20 search engine keywords. (requires SSI OR
GD.pm)
ezmlm http://www.ezmlm.org
ezmlm is a modern mailing list manager. Its purpose is to efficiently send a message to
a large number of recipients with minimal delay. It allows automated additions and
subtractions from the subscriber database. In addition, it may keep an archive of
messages. It can also impose restrictions on what may be sent or retrieved and by
whom. Some mailing list managers keep a database of subscriber information and
tailor the message specifically for each subscriber. ezmlm sends the same message to
all subscribers. This is much more efficient. The benefits to the user are that on
average posts to ezmlm lists reach subscribers much faster than they would with other
mailing list manager.
FormMail http://www.scriptarchive.com/formmail.html
FormMail is a generic WWW form to e-mail gateway, which will parse the results of
any form and send them to the specified user. This script has many formatting and
operational options, most of which can be specified through the form, meaning you
dont need any programming knowledge or multiple scripts for multiple forms. This also
makes FormMail a perfect system-wide solution for allowing users form-based user
feedback capabilities without the risks of allowing freedom of CGI access.
Miva Merchant http://www.miva.com
Miva Merchant is a dynamic browser based storefront development and management
system that allows merchants to create and administrate multiple online stores from
anywhere in the world.
C H A P T E R 4
Software Used in Parallels H-Sphere
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476
  • Page 477 477
  • Page 478 478
  • Page 479 479
  • Page 480 480
  • Page 481 481
  • Page 482 482
  • Page 483 483
  • Page 484 484
  • Page 485 485
  • Page 486 486
  • Page 487 487
  • Page 488 488
  • Page 489 489
  • Page 490 490
  • Page 491 491
  • Page 492 492
  • Page 493 493
  • Page 494 494
  • Page 495 495
  • Page 496 496
  • Page 497 497
  • Page 498 498
  • Page 499 499
  • Page 500 500
  • Page 501 501
  • Page 502 502
  • Page 503 503
  • Page 504 504
  • Page 505 505
  • Page 506 506
  • Page 507 507
  • Page 508 508
  • Page 509 509
  • Page 510 510
  • Page 511 511
  • Page 512 512
  • Page 513 513
  • Page 514 514
  • Page 515 515
  • Page 516 516
  • Page 517 517

Parallels H-Sphere 3.1 User guide

Category
Software
Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI