Parallels H-Sphere 3.5 User guide

Category
Software
Type
User guide
Revision 1.0
Parallels H-Sphere 3.5 System
Administrator Guide
Parallels H-Sphere 3.5
Legal and Copyright Notice
ISBN: N/A
Parallels Holdings, Ltd.
c/o Parallels International GmbH
Vordergasse 59
CH-Schaffhausen
Switzerland
Phone: +41-526320-411
Fax: +41-52672-2010
© Copyright 2011,
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 4
Typographical Conventions ......................................................................................................... 18
Preface 18
Feedback ..................................................................................................................................... 19
About This Guide 20
Pre-configuration Wizard 21
Parallels H-Sphere config.xml ..................................................................................................... 23
Elements and Attributes .................................................................................................... 23
Software Used in Parallels H-Sphere 25
Integrated Third Party Products ................................................................................................... 26
Supplementary Software ............................................................................................................. 28
Used Libraries and Technologies ................................................................................................ 29
Update of Operating Systems 30
Updating FreeBSD Kernel ........................................................................................................... 31
Updating Linux ............................................................................................................................. 31
Linux Up2Date ................................................................................................................... 33
Linux Apt-Get..................................................................................................................... 33
Network Address Translation (NAT) 34
Configuring Newly Installed H-Sphere with NAT Support ........................................................... 35
Enabling NAT Support on a Live System .................................................................................... 36
Configuring NAT Firewall ............................................................................................................. 36
Migrating IPs with NAT ................................................................................................................ 37
NTP Time Servers ....................................................................................................................... 38
Server Time Synchronization 38
Control Panel Server Crons ......................................................................................................... 39
Cron Scripts 39
Web Server Crons ....................................................................................................................... 40
DNS Server Cron ......................................................................................................................... 40
Mail Server Crons ........................................................................................................................ 41
PostgreSQL/MySQL Server ........................................................................................................ 41
Traffic Calculation 42
Checking Traffic via Parallels H-Sphere Control Panel ............................................................... 43
Checking Traffic on Physical Servers .......................................................................................... 43
Processing Traffic by Crons ........................................................................................................ 44
HTTP traffic ....................................................................................................................... 44
User FTP traffic ................................................................................................................. 44
Virtual FTP traffic ............................................................................................................... 44
Mail traffic .......................................................................................................................... 44
Parsing Traffic by TrafficLoader .................................................................................................. 45
Changing IPs on Systems Without NAT ...................................................................................... 46
Preface 5
IP Migration (Changing IPs) 46
IP Migration Pre-requisites ................................................................................................ 47
IP Migration Map File ........................................................................................................ 48
IP Migration Map XML File ...................................................................................... 49
Creating ipmigration.xml Manually .................................................................................... 49
Creating ipmigration.xml by Parallels H-Sphere IP Migrator ............................................. 49
IP Migration Step by Step .................................................................................................. 50
Running the IP Migrator Script ................................................................................ 51
Step 1. Changing Physical Server IPs ............................................................................................ 52
Step 2. Preparing IP Migration Map ............................................................................................ 52
Step 3. Reposting configs ............................................................................................................. 53
Step 4. Final Check ....................................................................................................................... 53
Step 5. Changing System and Logical IPs ..................................................................................... 55
Changing External IPs on Systems with NAT ............................................................................. 56
Changing Internal IPs on Systems With NAT .............................................................................. 57
Configuring Parallels H-Sphere to Work on Two Sets of IPs ...................................................... 57
Restarting Services 58
Restarting Parallels H-Sphere Control Panel .............................................................................. 60
Restarting Parallels H-Sphere Database..................................................................................... 60
Restarting Web Server ................................................................................................................ 61
Restarting PostgreSQL Server .................................................................................................... 61
Restarting Mail Server ................................................................................................................. 62
Linux: ....................................................................................................................... 62
FreeBSD: ................................................................................................................ 62
Preface 6
Restarting MySQL Server ............................................................................................................ 62
Restarting Named ........................................................................................................................ 63
Control Panel Server 64
Understanding Control Panel Server Configuration .................................................................... 65
Installed Software .............................................................................................................. 65
Interaction Between Servers ............................................................................................. 66
Location of CP Files and Directories ................................................................................. 66
The Parallels H-Sphere Configuration File ........................................................................ 67
Control Panel Apache Server Configuration ..................................................................... 67
Control Panel Back-End Servlet Engine ........................................................................... 67
Reseller Configuration ....................................................................................................... 67
Reseller SSL Configuration ............................................................................................... 68
CP SSL Configuration ....................................................................................................... 68
CP Apache Log Files ......................................................................................................... 68
CP Traffic Calculation ........................................................................................................ 69
The Parallels H-Sphere System Database ....................................................................... 69
The System Database Settings ......................................................................................... 69
Logging into the System Database ................................................................................... 69
VACUUM Utility ................................................................................................................. 70
CP Mail Queue .................................................................................................................. 70
Logging in as the cpanel User ..................................................................................................... 71
Logging into Parallels H-Sphere System Database .................................................................... 71
Launching Control Panel Cron Jobs ............................................................................................ 71
CP Cron XML Configuration Files ..................................................................................... 72
Background Job Manager ................................................................................................. 72
Configuring Tomcat ..................................................................................................................... 72
Tomcat Configuration Files ............................................................................................... 73
Tomcat Log File ................................................................................................................. 73
Restarting Tomcat ............................................................................................................. 73
Customizing Tomcat Environment Variables .................................................................... 73
Running Java Command Line Tools ........................................................................................... 75
DNSCreator ....................................................................................................................... 76
IPMigratorFast ................................................................................................................... 77
PhysicalCreator ................................................................................................................. 78
PostApacheConfigs ........................................................................................................... 79
PostFTPConfigs ................................................................................................................ 79
ServerAliasesRenamer ..................................................................................................... 80
ChangeLServerId .............................................................................................................. 81
MIVAEmpresaFix............................................................................................................... 81
KeyPairGenerator .............................................................................................................. 82
PGPEncrypter.................................................................................................................... 82
PGPMessageSigner .......................................................................................................... 82
PGPMessageVerify ........................................................................................................... 83
RepostResellerSSLConfigs ............................................................................................... 83
ServiceZoneRenamer ....................................................................................................... 84
BillingEraser ...................................................................................................................... 84
SetQuota ........................................................................................................................... 85
UrchinReconfig .................................................................................................................. 85
OffLogs .............................................................................................................................. 86
Reset Balance ................................................................................................................... 87
RegenerateIpsFile ............................................................................................................. 87
LicenseExtractor ................................................................................................................ 88
MailRelayCorrector ............................................................................................................ 89
Securing Your CP Server with SSL ............................................................................................. 90
Disabling HTTP Access ..................................................................................................... 92
Switching Between IP and Domain Name ........................................................................ 93
Upgrading Java ............................................................................................................................ 93
Supported Versions ........................................................................................................... 93
Preface 7
Linux ........................................................................................................................ 93
FreeBSD ................................................................................................................. 93
Upgrade Procedure ........................................................................................................... 94
Automatically By Means of Parallels H-Sphere Update Script ............................... 94
Manually from Java 1.4.2 SDK by Sun Microsystems (Linux Only) ....................... 94
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 .......................................................................... 103
1. Tomcat Optimization ......................................................................................... 103
2. NFU Cache Optimization .................................................................................. 103
Optimizing Parallels H-Sphere System Database ........................................................... 105
Converting Bigint to Int4 ........................................................................................ 105
Updating Moddb .................................................................................................... 106
Performing VACUUM ............................................................................................ 107
Optimizing Postgres .............................................................................................. 108
Moving Transaction Logs to a Separate Hard Drive .................................................................. 109
Upgrading Postgres to the Latest Version ............................................................ 110
Troubleshooting ............................................................................................................... 110
Changing CP URL ..................................................................................................................... 110
Changing IP Address to Domain Name in CP URL ........................................................ 111
Changing Parallels H-Sphere Port .................................................................................. 111
Changing Entire CP URL ................................................................................................ 112
Setting Multiple Alternative CP URL's ............................................................................. 113
Migrating Control Panel Server ................................................................................................. 114
Generating SSH Keys for Parallels H-Sphere Servers ............................................................. 116
Encrypting Trouble Tickets ........................................................................................................ 117
Generating PGP Public Key and PGP Private Key ......................................................... 117
Enabling PGP Encryption In Your Support Center.......................................................... 118
Encrypting Texts With PGP Public Key ........................................................................... 118
Using Encrypted Parts in Trouble Tickets ....................................................................... 118
Customizing Domain Registration Lookup Script ...................................................................... 119
Web Server 121
Understanding Web Server Configuration ................................................................................. 122
Core services: ....................................................................................................... 122
Additional software: ............................................................................................... 122
Security schemes: ................................................................................................. 122
FTP Server ...................................................................................................................... 123
User FTP ............................................................................................................... 124
Log File ....................................................................................................................................... 124
Configuration ............................................................................................................................. 124
Download/Upload Permissions ................................................................................................. 124
User FTP Traffic Calculation ....................................................................................................... 124
Virtual FTP ............................................................................................................ 125
Log File ....................................................................................................................................... 125
Configuration ............................................................................................................................. 125
Virtual FTP Traffic Calculation .................................................................................................... 126
FTP Over SSL/TLS ............................................................................................... 126
Preface 8
SSL Implementation on Unix Web Servers ..................................................................... 127
Dedicated SSL................................................................................................................. 127
Shared SSL ..................................................................................................................... 127
Third Party Log Analyzers Integrated in Parallels H-Sphere .......................................... 128
Webalizer .............................................................................................................. 129
ModLogAn ............................................................................................................. 130
AWStats ................................................................................................................ 131
Urchin .................................................................................................................... 131
WebShell ......................................................................................................................... 132
WebShell CGI Mode ............................................................................................. 132
MnoGoSearch ................................................................................................................. 133
MnoGoSearch Configuration Scripts .................................................................... 133
mnogosearch-init ....................................................................................................................... 133
mnogosearch-set ....................................................................................................................... 134
MnoGoSearch frontend ......................................................................................... 134
Parallels H-Sphere Jail .................................................................................................... 135
Utilities ................................................................................................................... 135
File Managers ....................................................................................................... 135
Scripts ................................................................................................................... 136
Preventing Manipulation with Logs Directory Permissions........................................................ 137
Altering Virtual Host Configuration ............................................................................................ 138
Calculating Web Traffic.............................................................................................................. 139
Using Third-Party Log Analyzers for Traffic Calculation ................................................. 140
Log Rotation .......................................................................................................... 140
Calculating Parallels H-Sphere Built-In Traffic ................................................................ 141
Traffic Log ............................................................................................................. 141
Analyzing Logs ...................................................................................................... 141
TrafficLoader ......................................................................................................... 141
Adding Directories for User Homes ........................................................................................... 142
Installing Ruby on Rails ............................................................................................................. 142
Installing Chili!Soft ASP ............................................................................................................. 143
WORKFLOW ................................................................................................................... 143
Installing mod_perl ..................................................................................................................... 150
Installing Zend Optimizer ........................................................................................................... 151
Mail System 154
Understanding Parallels H-Sphere Mail .................................................................................... 155
Mail Package ................................................................................................................... 155
Included Software ............................................................................................................ 155
Webmails ......................................................................................................................... 156
Enabling SqWebMail ............................................................................................. 156
Setting SMTP Server for IMP ................................................................................ 157
Enabling/Disabling ImapProxy .............................................................................. 157
Localizing Webmails ............................................................................................. 158
ImapProxy ............................................................................................................. 159
IMAP Server .................................................................................................................... 159
Starting IMAP Server ............................................................................................ 160
Configuring IMP with IMAP ................................................................................... 160
Preface 9
Choosing Remote Web and MySQL Logical Servers for Horde Webmail Frontend ................. 161
Changing Mail Server Roles ...................................................................................................... 162
Blocking IPs on Mail Servers ..................................................................................................... 163
Adding Qmail Settings to IP/Subnet .......................................................................................... 164
Bouncing Mail ............................................................................................................................ 164
1. Separate IP for Sending Bounced Mail ....................................................................... 165
2. Processing Error Responses ....................................................................................... 165
3. Bounced Message Delivery ......................................................................................... 166
Configuring Qmail ...................................................................................................................... 166
Antivirus and Antispam Filters (SpamAssassin and ClamAV) ........................................ 167
Updating Virus Patterns ........................................................................................ 168
Enabling Antivirus and Antispam .......................................................................... 168
Configuring ClamAV and SpamAssassin at the Server Level .............................. 168
Restarting ClamAV and SpamAssassin ................................................................ 168
Updating ClamAV Database ................................................................................. 169
User Settings ......................................................................................................... 169
Integrated Antispam Addons ........................................................................................... 169
Qmail Server Settings ..................................................................................................... 170
Mail Client Headers ............................................................................................... 178
Autoresponder Settings......................................................................................... 178
Bounce Message Customization .......................................................................... 179
Mail Protocols ........................................................................................................ 179
SPF (Sender Policy Framework) .......................................................................... 180
SRS (Sender Rewriting Scheme) ......................................................................... 181
Command Line Qmail Configuration ............................................................................... 181
Syslog Facility/Level Configuration For rblsmtpd ............................................................ 182
SMTP Log ........................................................................................................................ 183
Mail Client and ESMTP Destination Server .................................................................... 183
Qmail-spp Support .......................................................................................................... 184
Configuration Details ............................................................................................. 184
Qmail TLS Support .......................................................................................................... 185
Integrated Plugins ........................................................................................................... 185
Rblspp Plugin ........................................................................................................ 185
Choosing Remote MySQL Logical Server for SpamAssassin................................................... 186
SPF and SRS ............................................................................................................................ 187
SPF (Sender Policy Framework) ..................................................................................... 188
DNS TXT Records ................................................................................................ 188
SMTP Server ......................................................................................................... 189
SRS (Sender Re-write Scheme) ..................................................................................... 189
Updating SpamAssassin Rulesets Automatically ...................................................................... 189
Sa-update Script .............................................................................................................. 190
Rules Du Jour Script ....................................................................................................... 191
Initialization Script ................................................................................................. 191
Configuration File .................................................................................................. 192
Preface 10
Migrating Mail Server/IP ............................................................................................................ 194
Moving Mail Domains ................................................................................................................ 197
Calculating Mail Traffic .............................................................................................................. 199
Mail Traffic Log ................................................................................................................ 199
POP3 and IMAP Traffic ................................................................................................... 200
Web Mailing List Traffic ................................................................................................... 201
SpamGuard Setup ..................................................................................................................... 201
DNS Server 202
DNS Config Files ....................................................................................................................... 203
Parallels H-Sphere DNS Zones ....................................................................................... 203
Custom DNS Zones ........................................................................................................ 203
Reverse DNS ................................................................................................................... 204
Restarting Named ...................................................................................................................... 204
Bind 9.3 ...................................................................................................................................... 205
New Features .................................................................................................................. 205
Restarting Bind ................................................................................................................ 205
Using rndc ....................................................................................................................... 206
Managing DNS Zones ........................................................................................... 206
rndc Config File ..................................................................................................... 206
Preface 11
Adding DNS Servers.................................................................................................................. 207
Configuring Single DNS ............................................................................................................. 207
Installing and Configuring MyDNS ............................................................................................. 209
Installation ....................................................................................................................... 209
Uninstallation ................................................................................................................... 209
Migrating DNS from Bind to MyDNS ......................................................................................... 210
Moving DNS ............................................................................................................................... 211
Removing Broken DNS Zones .................................................................................................. 213
Removing User Domain Zone ......................................................................................... 215
Removing Service Domain Zone..................................................................................... 216
Using DNS Creator .................................................................................................................... 217
Installing MySQL Server ............................................................................................................ 218
MySQL Server 218
Step 1. Checking for MySQL on Your Box ...................................................................... 219
Step 2. Downloading MySQL .......................................................................................... 219
Step 3. Installing MySQL ................................................................................................. 219
Step 4. Configuring MySQL ............................................................................................. 220
Step 5. Adding MySQL Server to Parallels H-Sphere ..................................................... 220
Backing Up MySQL Database ................................................................................................... 220
Running Parallels H-Sphere MySQL Scripts ............................................................................. 221
Getting Remote Access to MySQL Logical Server .................................................................... 222
Enabling Linked Tables in phpMyAdmin ................................................................................... 223
Changing MySQL Root Password ............................................................................................. 224
Option 1 ........................................................................................................................... 224
Option 2 ........................................................................................................................... 225
Moving MySQL .......................................................................................................................... 226
Step 1. Preparing Servers ............................................................................................... 226
Step 2. Moving MySQL Content ...................................................................................... 226
Step 3. Updating System Database ................................................................................ 226
Step 4. Updating Resellers' Server Aliases ..................................................................... 227
Step 5. Synchronizing MySQL Content ........................................................................... 227
Step 6. Finalizing the Migration ....................................................................................... 227
Step 7. Checking Functionality ........................................................................................ 227
Moving MySQL Accounts .......................................................................................................... 228
Installing PostgreSQL Server .................................................................................................... 230
PostgreSQL Server 230
Step 1. Checking for PostgreSQL ................................................................................... 231
Step 2. Downloading PostgreSQL................................................................................... 231
Step 3. Installing PostgreSQL ......................................................................................... 232
Step 4. Configuring PostgreSQL ..................................................................................... 232
Backing Up PostgreSQL Database ........................................................................................... 233
Using VACUUM Utility ............................................................................................................... 233
Running PostgreSQL Scripts ..................................................................................................... 234
Changing Postgres User Password ........................................................................................... 235
Localizing PostgreSQL .............................................................................................................. 236
Configuring Parallels H-Sphere to Use Non-Default MySQL/PostgreSQL Versions ................ 236
Choosing Remote Web Logical Servers for phpMyAdmin/phpPgAdmin Frontends ................. 238
Downgrading Postgres .............................................................................................................. 239
Windows Servers 240
Winbox Directory Structure ........................................................................................................ 241
HSphere .......................................................................................................................... 241
HShome ........................................................................................................................... 242
HSlogfiles ........................................................................................................................ 243
Preface 12
Restarting Winbox Service ........................................................................................................ 243
Restarting IIS ............................................................................................................................. 244
Enabling Winbox Shared SSL ................................................................................................... 244
Integrating Winbox Shared SSL ...................................................................................... 245
IIS 6.0 .................................................................................................................... 245
Updating Winbox Shared SSL ......................................................................................... 245
IIS 6.0 .................................................................................................................... 245
Winbox Statistics ....................................................................................................................... 246
Statistics Modules ........................................................................................................... 246
Services.Stats.dll ................................................................................................... 246
WaWrapper.exe .................................................................................................... 247
Awstats_updateall.pl ............................................................................................. 247
Module Log Files ................................................................................................... 248
Setting Up SharePoint to Use MSSQL Server .......................................................................... 248
Preinstallation Requirements .......................................................................................... 248
Installing and Configuring SharePoint ............................................................................. 250
Step 1. Installing MSSQL Server .......................................................................... 250
Step 2. Selecting Authentication Mode for SQL Server ........................................ 250
Step 3. Installing SharePoint ................................................................................. 251
Step 4. Configure Parallels H-Sphere to Use SharePoint .................................... 252
Adding ODBC Resource ............................................................................................................ 252
Interface ........................................................................................................................... 253
odbc-getdrivers.asp ............................................................................................... 253
odbc-getparams.asp ............................................................................................. 254
odbc-createdatasrc.asp......................................................................................... 254
odbc-updatedatasrc.asp........................................................................................ 255
odbc-deletedatasrc.asp ......................................................................................... 255
Configuration ................................................................................................................... 256
Configuring ColdFusion ............................................................................................................. 258
Specifying default ASP.NET version ......................................................................................... 259
Enabling ASP.NET 4.0 .............................................................................................................. 260
Moving Log Files ........................................................................................................................ 261
Removing Old Log Files ............................................................................................................ 261
Moving User Homes .................................................................................................................. 263
Changing hsadmin Login and Password ................................................................................... 263
Winbox IP Migration................................................................................................................... 264
Step 1. Bind Target IPs on Winbox ................................................................................. 264
Step 2. Add Double Bindings on IIS ................................................................................ 265
Step 3. Create Migration XML ......................................................................................... 265
Step 4. Run the Migration ................................................................................................ 266
Step 5. Remove Old IP Bindings on IIS .......................................................................... 266
Winbox Security Scheme .......................................................................................................... 267
Accounts Hierarchy ......................................................................................................... 267
IIS Security Management ................................................................................................ 268
NTFS permissions ........................................................................................................... 269
Windows 2003/2008 .............................................................................................. 269
Relevant to both platforms .................................................................................... 269
Preface 13
FrontPage Server Extensions Management Notes ......................................................... 269
ASP.NET Management Notes ......................................................................................... 270
Migration Notes ............................................................................................................... 270
Recovery Notes ............................................................................................................... 271
Calculating Winbox Traffic ......................................................................................................... 271
Microsoft SQL Server 272
Installing Microsoft SQL 2005 Server ........................................................................................ 273
Moving MS SQL Databases Across Servers ............................................................................. 274
Moving MS SQL Databases to a New Location ........................................................................ 275
Virtual rivate Servers 279
Configuring MRTG ..................................................................................................................... 280
Managing MRTG Service ................................................................................................ 280
Dedicated Servers 280
Configuration Directory and File ...................................................................................... 281
Scripts Processing Data .................................................................................................. 281
RRD Files ........................................................................................................................ 281
The Problem with Calculating Large (>100mbps) Bandwidth Traffic .............................. 281
Common Packages ................................................................................................................... 283
System Packages 283
hsphere-info: Collecting Information About Parallels H-Sphere Servers into XML Configs284
hsphere-update Package ................................................................................................ 285
upackages Syntax ........................................................................................................... 285
Parallels H-Sphere Perl Modules .................................................................................... 287
Supported Perl Versions ....................................................................................... 288
Parallels H-Sphere Apache ............................................................................................. 289
Web Service Packages ......................................................................................... 289
Support of Apache 2.2.x and 1.3.x ........................................................................ 290
Tuning Web Service from the CP Interface .......................................................... 291
Apache Settings ......................................................................................................................... 291
PHP Settings ............................................................................................................................... 292
Fastcgi Settings .......................................................................................................................... 293
Apache Modules ................................................................................................... 294
Apache Configuration ............................................................................................ 297
Web Statistics Software ........................................................................................ 299
Apache 2.2.x ......................................................................................................... 299
Apache 1.3.x ......................................................................................................... 299
Apache Logs and Web Traffic Calculation in Parallels H-Sphere ........................ 299
Log Rotate Config File .......................................................................................... 299
Apache Suexec ..................................................................................................... 300
Parallels H-Sphere PHP .................................................................................................. 300
Configuring PHP from the Interface ...................................................................... 301
PHP Components ................................................................................................. 301
Ldap ...................................................................................................................... 301
Pear ....................................................................................................................... 301
Pecl ....................................................................................................................... 301
Objects in PHP 5 ................................................................................................... 301
PHP Test Page ..................................................................................................... 302
Customizing php.ini Configuration File ................................................................. 302
Preface 14
PHP Modules Installed with Parallels H-Sphere PHP Packages.......................... 302
PHP Modules Default Location ............................................................................. 306
Enabling/Disabling PHP Modules ......................................................................... 306
php.info ................................................................................................................. 306
Configuring PHP Safe Mode ................................................................................. 307
Adding PHP Extensions ........................................................................................ 308
Compilation Requirements ........................................................................................................ 308
Adding New Extensions ............................................................................................................. 309
Adding PEAR Modules ............................................................................................................... 309
Adding PECL Modules ................................................................................................................ 309
Enabling/Disabling Built-in PHP Modules .................................................................................. 310
Parallels SiteStudio Packages ................................................................................................... 310
Load Balancing 311
Load Balancers................................................................................................................ 313
Supported NAS................................................................................................................ 313
Load Balanced Cluster .................................................................................................... 313
Implementation of Load Balanced Cluster in Parallels H-Sphere ............................................. 314
Load Balanced Cluster in CP .......................................................................................... 315
Distribution of Requests Across Load Balanced Cluster ................................................ 315
Shared Content ............................................................................................................... 315
Specific Master/Slave Content ........................................................................................ 316
Synchronization Between Master and Slave Servers ..................................................... 316
Traffic Calculation ............................................................................................................ 317
Load Balanced Cluster Map ............................................................................................ 318
NAT Configuration for Load Balanced Clusters .............................................................. 319
Load Balancing Support in Parallels H-Sphere ......................................................................... 320
Installing Load Balanced Web/Mail Clusters in Parallels H-Sphere .......................................... 321
Step 1. Install and Configure Load Balancer ................................................................... 322
Step 2. Prepare NAS ....................................................................................................... 322
NetApp Hardware .................................................................................................. 322
Generic Linux NFS ................................................................................................ 323
RedHat GFS .......................................................................................................... 325
Step 3. Prepare Master and Slave Web/Mail Boxes ....................................................... 326
Step 4. Install Parallels H-Sphere to Load Balanced Parallels H-Sphere Clusters ........ 328
Quota Managers ........................................................................................................................ 329
Migratable Resources ..................................................................................................... 330
Resources Migration 330
Migration Procedure .................................................................................................................. 331
Step 1. Create XML File Containing User Data .............................................................. 331
Creating User Migration XMLs in Parallels H-Sphere ........................................... 332
DTD Structure of Reseller XML Migration File ........................................................................... 334
Data Type Definitions ...................................................................................................... 334
DTD Chart ....................................................................................................................... 334
Attributes Description ...................................................................................................... 334
Creating User Migration XMLs Outside Parallels H-Sphere ................................. 336
Files ................................................................................................................................. 336
XML Validation ................................................................................................................ 336
Step 2. Create XML File Containing Reseller Plan Data ................................................ 337
Migrating Plans with XML...................................................................................... 338
Plan Extractor ............................................................................................................................. 339
Preface 15
Plan Creator ............................................................................................................................... 339
XML Document Structure .......................................................................................................... 340
XML Elements and Attributes .................................................................................................... 341
Preface 16
Step 3. Prepare The Target Control Panel ...................................................................... 343
Step 4. Create Reseller Plans ......................................................................................... 343
Step 5. Create Resellers ................................................................................................. 343
Step 6. Create End Users ............................................................................................... 344
Troubleshooting ............................................................................................................... 344
Backup and Recovery 345
Backing Up Parallels H-Sphere Control Panel Server .............................................................. 346
System DB Dump ............................................................................................................ 347
Parallels H-Sphere Backup and Recovery List ......................................................................... 347
Recovering Parallels H-Sphere Control Panel .......................................................................... 349
Step 1. Prepare for the Recovery .................................................................................... 349
Step 2. Recover System Data ......................................................................................... 349
Files and Directories To Be Recovered .......................................................................... 350
Recovering Unix Hosted Parallels H-Sphere Servers ............................................................... 351
Step 1. Prepare Crashed Server for Recovery ............................................................... 352
Step 2. Run Parallels H-Sphere Updater ........................................................................ 352
Step 3. Run the Recovery Tool ....................................................................................... 352
Step 4. Restore User Content ......................................................................................... 353
Restoring Files and Directories from Backup ............................................................................ 354
Restoring the Parallels H-Sphere System Database From Backup .......................................... 354
Restoring the Parallels H-Sphere Database on a Server with PostgreSQL Not Installed356
Restoring the Parallels H-Sphere Database Content if PostgreSQL Is Installed: ........... 357
Fixing Crashed Parallels H-Sphere Database ........................................................................... 358
Backing Up Winbox ................................................................................................................... 359
Backing Up the Metabase ............................................................................................... 360
Backing Up MS SQL Databases ..................................................................................... 360
Backing Up User Content ................................................................................................ 360
Recovering Winbox .................................................................................................................... 361
Step 1. Back Up User Content ........................................................................................ 362
Step 2. Install Parallels H-Sphere ................................................................................... 362
Step 3. Set Up Dedicated IPs .......................................................................................... 362
Step 4. Prepare Target Winbox for Physical Creator ...................................................... 363
Step 5. Run PhysicalCreator on the CP Box ................................................................... 363
Step 6. Restore Content from Backup ............................................................................ 364
Step 7. Install Shared SSL .............................................................................................. 364
Step 8. Set Correct NTFS Permissions and Owner for the Home Directory .................. 365
Recovering Winbox Quota ......................................................................................................... 366
Miva Installation for *nix ............................................................................................................. 367
Requirements .................................................................................................................. 367
Miva 367
Miva Empresa Installation ............................................................................................... 368
Miva Merchant Installation ............................................................................................... 371
Miva Installation for Windows .................................................................................................... 372
Updating Miva 4 to Miva 5 ......................................................................................................... 373
Urchin 374
Urchin 4 and 5 Installation on Unix ............................................................................................ 375
Urchin 4 and 5 Installation on Windows .................................................................................... 377
Urchin 4 And Urchin 5 Database Utilities .................................................................................. 378
Urchin Database Utilities ................................................................................................. 378
Urchin Database Tables .................................................................................................. 378
RealServer 382
Preface 17
RealServer Installation for Unix ................................................................................................. 383
RealServer Installation for Windows .......................................................................................... 388
RealServer Config File Example ............................................................................................... 388
Softaculous 396
Softaculous Installation for Unix ................................................................................................ 397
In this chapter:
Typographical Conventions ............................................................................... 18
Feedback .......................................................................................................... 19
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 19
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
guide's title, chapter and section titles, and the fragment of text in which you have found
an error.
Welcome to the Parallels H-Sphere System Administrator Guide. It aims at system
administrators and explains how to install, configure and maintain Parallels H-Sphere
and its components.
C H A P T E R 2
About This Guide
  • 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

Parallels H-Sphere 3.5 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