服務器至少需要兩臺
一臺win2003(裝AU數據庫,你們下載的端里面有兩個mssql腳本,mssql_table.sql需要把注解刪掉才能創建表)
一臺linux as 4.0放主程式的及其他伺服的
在壓縮包里面最重要的文件是cpackage.feilvbin.tar.gz 里面包含了服務器所需要的全部文件
PERFECT WORLD
Installation Guide
IT Operations Manual
Version: 1.2
Date: March 20, 2007
完美世界
安装向导
IT操作手册
:1.2
日期:2007年5月20日
Level Up! Inc
Table of contents
目 录
前言
免责声明
保密信息
历史
硬件 软件要求
Game Server 组(集群)
AU Server 组(AU集群)
Patch Server 组(补丁集群)
Log Server(日志)
GM Server(管理员)
内容来自dedecms
Other Requirements附加要求
结构划分
定义(角色划分)
One Server Group Setup 第一组的安装
Two Server Group Setu 第二组的安装
Perfect World Package
完美世界资源包
Installation and Configuration
安装与配置
Game Server Group 集群
Configuration of Manager Server管理的配置
Configure Backup and Database Server 备份服务器和数据的配置
Edit the XML to allow the Manager to reach the other servers in the network
编辑配置XML文件,以便能够管理网络中的其他
Edit the Non-Disk Servers
编辑配置无盘
Publish the Game
发布
Provide Access to the Game Server Setup
控制支持的安装
AU Server Group
AU集群
Configure the AU Manager
配置AU管理
Configure AUTH
配置AUTH
Update configuration and install the package
更新配置 与安装软件包
Configure java in the AUTH and AU Manager
再AUTH AU管理器上配置java环境
Configure tomcat
本文来自织梦
配置tomcat
Configure the Account and Billing Database
配置Account 和 Billing 数据库
Reconfigure AU Manager and AUTH Servers
重新配置 AU 管理器和AUTH集群
Check the connection of AUTH and the Account and Billing Database
检查AUTH的连接 和Account 和 Billing数据库的连接
Patch Server Group
补丁集群
GM Server
管理员
LOG Server
日志
Operations
操作指南
Restarting the System
重启系统
MONITORING
监控系统
MAINTENANCE
维护
PATCHING
补丁
BACKUP
备份
Game
ESCALATIONS
调整
APPENDIX
附录
APPENDIX A. PERFECT WORLD PRE-TRAINING DOCUMENTS
附录A 完美世界预培训文档
APPENDIX B. PERFECT WORLD TRAINING DOCUMENTS
附录B 完美世界培训文档
APPENDIX C. POST TRAINING DOCUMENTS
附录C 后期培训文档
DAILY STATUS REPORT
日常状态报告
TECHNICAL SPECIFICATIONS
规范
织梦内容管理系统
SERVER DIAGRAM
图表
IP ASSIGNMENTS
IP分配
FIREWALL POLICIES
方案
Preface 4
Disclaimer 4
Privacy Information 4
Version History 4
Hardware and Software Requirements 4
Game Server Group 4
AU Server Group 5
Patch Server Group 6
Log Server 7
GM Server 7
Other Requirements: 7
Architecture 9
Server Definitions 9
One Server Group Setup 10
Two Server Group Setup 11
Perfect World Package 13
Installation and Configuration 14
Game Server Group 14
Configuration of Manager Server 14
Configure Backup and Database Server 18
Edit the XML to allow the Manager to reach the other servers in the network 19
内容来自dedecms
Edit the Non-Disk Servers 21
Publish the Game 21
Provide Access to the Game Server Setup 21
AU Server Group 22
Configure the AU Manager 22
Configure AUTH 26
Update configuration and install the package. 27
Configure java in the AUTH and AU Manager 28
Configure tomcat 30
Configure the Account and Billing Database 30
Reconfigure AU Manager and AUTH Servers 31
Check the connection of AUTH and the Account and Billing Database 31
Patch Server Group 31
GM Server 32
Log Server 34
Operations 36
Restarting the System 36
Monitoring 36
Maintenance 37
Patching 40
Backup 41
Game 41
织梦好,好织梦
Escalations 41
Appendix 41
Appendix A. Perfect World Pre-Training Documents 41
Appendix B. Perfect World Training Documents 41
Appendix C. Post Training Documents 41
Daily Status Report 41
Technical Specifications 41
Server Diagram 42
IP Assignments 42
Firewall Policies 42
Preface
前言
Disclaimer
免责声明
The information contained in this document is an exclusive property of Level Up! Inc. except as otherwise indicated. No part of this document may be reproduced, stored, distributed or used for any purposes without the prior written permission of Level Up! Inc.
本文件为Level Up! Inc专有之财产,非经书面许可,不准透露或使用本文件,亦不准复制或转变成任可其他形式使用。
Privacy Information
保密协议
The document may contain sensitive information. This information should not be given to any persons other than those who are involved in the project or who will become involved during the duration of the project.
本文来自织梦
此文档可能包含一些敏感信息。,除非此项目相关人员,这些信息不应该向其他任何人透漏。
Version History
历史
Ver Author作者 Description描述 Date日期 Validated by
校验 Date Validated
数据校验
1 Mona Liza Navarro Document creation
文档创建 02/07/2007
1.1 Mona Liza Navarro Modified Infrastructure Diagram
修改结构图
02/22/2007
1.2 Mona Liza Navarro Modified Infrastructure Diagram, Hardware Requirements, Installation Procedures after setting up the PW servers in PH
修改结构图 硬件要求
架设完美世界集群以后的安装流程 03/20/2007
织梦内容管理系统 Hardware and Software Requirements
硬件软件要求
These are the hardware and software requirements of Perfect World to run the game.
这是运行完美世界的软件 硬件要求
Game Server Group
集群
Game Manager
管理器
Hardware Requirements:
硬件要求
DELL 1950
2xDual Core 1.6Ghz/4MB/1066Mghz/ Intel Xeon5110 Processors
2GB Memory 533Mghz DDR -2 ECC
2x146Gig Hard Disk 10K SAS
PERC 5/i: SAS 3.0 Gb/s RAID controller with 256MB of battery-backup cache
DRAC
Dual Power Supply
Software Requirements:
软件要求
Perfect World Package (deployed via network; Perfect World proprietary)
完美世界软件包(部署VIA网络,完美世界所有权)
Link, Delivery and Game
连接 转发 与
Hardware Requirements:
硬件要求
DELL 1950 (Diskless)
2xDual Core 1.6Ghz/4MB/1066Mghz/ Intel Xeon5110 Processors
2GB Memory 533Mghz DDR -2 ECC
Single Power Supply
Software Requirements: Network Boot
软件要求:网络引导启动
dedecms.com Database and Backup
数据和备份
Hardware Requirements:
硬件要求
DELL 1950
2xDual Core 1.6Ghz/4MB/1066Mghz/ Intel Xeon5110 Processors
2GB Memory 533Mghz DDR -2 ECC
2x146Gig Hard Disk 10K SAS
PERC 5/i: SAS 3.0 Gb/s RAID controller with 256MB of battery-backup cache
Single Power Supply
Software Requirements: Network Boot
软件要求:网络引导启动
Spare Server
备用
Hardware Requirements:
硬件要求
DELL 1950
2xDual Core 1.6Ghz/4MB/1066Mghz/ Intel Xeon5110 Processors
2GB Memory 533Mghz DDR -2 ECC
2x146Gig Hard Disk 10K SAS
PERC 5/i: SAS 3.0 Gb/s RAID controller with 256MB of battery-backup cache
DRAC
Dual Power Supply
Software Requirements: None
软件要求:无
AU Server Group
AU集群
AU Manager
AU管理器
Hardware Requirements:
硬件要求
DELL 1950
2xDual Core 1.6Ghz/4MB/1066Mghz/ Intel Xeon5110 Processors
2GB Memory 533Mghz DDR -2 ECC
2x146Gig Hard Disk 10K SAS
copyright dedecms
PERC 5/i: SAS 3.0 Gb/s RAID controller with 256MB of battery-backup cache
RAID 1
DRAC 5
Dual Power Supply
Software Requirements: deployed via network (Perfect World proprietary)
软件要求:部署VIA网络(完美世界所有权)
AUTH
Hardware Requirements:
硬件要求
DELL 1950 (Diskless)
2xDual Core 1.6Ghz/4MB/1066Mghz/ Intel Xeon5110 Processors
2GB Memory 533Mghz DDR -2 ECC
Single Power Supply
Software Requirements: Network Boot
软件要求 网络引导
AUDB
Hardware Requirements:
硬件要求
HP DL 380
2x3.2Ghz Intel Xeon
2GB Memory
内容来自dedecms 2x36GB 15K USCSI (RAID 1)
4x72GB 15K USCSI (RAID 10)
RAID Controller
Dual Power Supply
Software Requirements:
软件要求
Windows 2003 Std R2
MS SQL 2000 Ent.
III. Patch Server Group 补丁f集群
Patch Server 1, Path Server 2, Patch Server 3 and Patch Server 4
补丁1---4
Hardware Requirements:
硬件要求
IBM x335
2x2.4 GHz CPU
2 GB RAM
2x36GB HDD
Integrated RAID Controller
RAID 1
Dual Power Supply
Software Requirements: Fedora Core 2
软件要求:Fedora Core 2
Patch Server 4
补丁4
Hardware Requirements:
硬件要求
HP DL320
2 x 3 GHz with Hyper Threading CPU
2x73 GB RAID1
2 GB RAM
Integrated RAID Controller
Dual Power Supply
Software Requirements: Fedora Core 2
软件要求:Fedora Core 2
Hardware Requirements:
硬件要求
copyright dedecms DL 380
2x3.2Ghz Intel Xeon
2GB Memory
2 x 36GB (RAID 1)
4 x 146 GB(RAID 5)
Integrated RAID Controller
Dual Power Supply
Software Requirements:
软件要求
Fedora Core 4 (use bundled php and mysql)用来绑定PHP mysql
Proprietary package (to be installed remotely by Perfect World)所有权软件包以路由方式通过完美世界安装
V. GM Server
Hardware Requirements:
硬件要求
IBM x335
2x2.4 GHz CPU
2GB Memory
3x36 GB HDD
Integrated RAID Controller
Dual Power Supply
Software Requirements:软件要求
Propriety package (deployed via network; from AUManager dump)所有权包 :从AUManager的存储中部署VIA网络,
VI. Other Requirements:其他要求
Hardware Requirements:
硬件要求
Switch (Production) – Cisco 3560 24T (External & Internal) 交换机-Cisco 3560 24T (局域网和互联网)
Switch (Test) – Cisco 2950 (External & Internal)交换机-Cisco 2950 (局域网和互联网)
内容来自dedecms Firewall – FG 3000
Software Requirements:
软件要求
OB License (AUDB) – Windows 2003 Std R2
DB License (AUDB) – MS SQL 2000 Ent.
Architecture体系结构
I. Server Definitions 角色定义
Game Server Group集群
The Game Server Group handles all the game related processing and data. It has 8 servers – game manager, delivery, 3 game servers, 1 backup game server, database, backup and link.
这个服务器集群处理游戏所有数据以及相关操作。有8个服务器:游戏管理服务器 转发服务器 ,3个游戏服务器, 1个备份服务器, 数据库服务器, 备份和连接
Game Manager – this server contains the OS of all the non-disk servers which manages the operations of all these servers. It also acts as a DHCP server in the internal network. Also acts as TFP and NFS server.
管理服务器-这个服务器包含所有无盘服务器的操作系统(无盘服务器使用这个系统),它管理所有服务器的操作。同时还扮演DHCP TFP NIFS的角色。
织梦内容管理系统 Delivery Server – handles the communications of the server within the network. This server has a public and private IP and has no disk.
转发服务器-处理所有内部网络的数据交换。这个有一个公共的和私有的IP并且是无盘的。
Game Servers – these servers will contain the maps of the game.
服务器-这些包含的地图资源。
Game Database – contains the character information and other game related data. This server has a hard disk.
游戏数据服务器-包含游戏人物信息和其他相关数据。这个需要硬盘。
Backup – contains the backup of the Game Database. This server is also the one responsible for checking the unique game character checking in the game. When this server is down, the users will not be able to create a new character.
备份服务器-包含游戏数据库的备份。此服务器同时也能响应去验证中人物的唯一性。当这个关闭时。用户将不能创建角色。
Link – this is the entry point of the players into the Game Network. It acts as an NAT and has a public and private IP.
织梦好,好织梦 连接-这是玩家进入世界的入口。他扮演者NAT的角色 同时还有公有和私有IP
AU Server Group AU集群
This group contains the information on account and billing. It also contains the java classes that will be used by the web services.
这个集群包含account 和 billing数据库的信息。同时包含java类环境以便提供网页服务
AU Manager – this server contains the OS of all the non-disk servers in this server group which manages the operations of all these servers.
AU服务器 - 这个服务器包含此服务器集群中所有无盘的操作系统,同时管理着他们的运行和操作
AUTH – entry point to the AU Server Group; It is used for login and to authenticate accounts during account creation
AUTH – AU 集群的入口处。同时被用于登陆并且在帐号创建期间验证帐号
AUDB – contains the account and billing database.
AUDB – 包含account 和billing数据库
Patch Server Group补丁集群
This group handles all the patches in different versions.
copyright dedecms
这个集群负责不同的所有补丁文件
Patch 1 – this server where the Chinese version of the patch is uploaded by PW. LU! should use the Chinese client to download the update. LU! will have this patch translated to English. FTP will be used for upload of data and server will be accessed using the domain name.
补丁服务器1-这个服务器是完美世界上传中中文版本补丁的地方。LU!应该使用中文客户端下载补丁。LU!把这个补丁转换成英文。FTP用来上传数据 ,通过域名被管理。
Patch 2 – this is where the translated version of the patch is uploaded by LU!. PW will download the translated patch from this server.
补丁2 - 这个服务用来放置LU上传的转换后的补丁。完美世界会从这里下载转化后的补丁文件
Patch 3 – this server is the client patch server where the final release of the patch is uploaded after testing. This server is open to the public because this will be accessed by the players.
copyright dedecms 补丁服务器3-这个服务器是客户端补丁服务器,用来放置测试以后的最终发行的补丁。这个服务器应该公开,因为所有的玩家将访问这个来获取补丁。
Patch 4 - this server is the test patch server. The translated patch downloaded from Patch Server 2 will be repackaged by PW and uploaded in this server. LU! will test the patch on this server and if testing is ok, the patch is moved to Patch Server 3.
补丁服务器4 - 这个服务器是测试补丁服务器。从补丁服务器2下载的,转化后的补丁包会被完美世界重新大包并上传到这个服务器。LU,将在这台服务器上测试这个补丁,如果测试通过 ,补丁会被转移到补丁3上面。
Log Server日志
This server contains all the logs that are being generated by the Game. From the Game Server, the log gets downloaded to this server and processed for migration to the database. This data is being used by the Log Application.
这个服务器包含所有产生的日志。从Game Server,产生的日志传输到这个 。并处理后存入数据库。这些数据是日志应用程序当前正在使用的。
本文来自织梦 GM Server
This server hosts the GM Tool that is being used by the Customer Support and IT for Game Administration.
这个有GM工具,被用于客户支持和管理
Test Server Group测试集群
This server group is a replica of the Game Server group only that this group is mainly for testing of Game updates.
这个集群是游戏服务集群的复制品,主要用于测试的更新数据
Spare Server 备用
This server can be used to substitute for any server in any of the groups.
这个服务器可以代替任何一个集群中的
II. One Server Group Setup
This is the proposed architecture for Perfect World setup.
这是建议的网络体系结构图
III. Two Server Group Setup
This is the proposed architecture for a two-server group setup.
这是建议的另一种网络体系结构图
This is basically the same as the One-Server group only that there is another group of Game Server Group (Game Server Group 2).
这个基本和第一种一样,只不过有另外一个服务集群罢了
内容来自dedecms
Perfect World Package 完美世界软件包
The main installation package of the Perfect World is cnet.feilvbin.tar.gz. It contains the following files:
完美世界主要的安装包是cnet.feilvbin.tar.gz,它包含如下文件
mssql_storedprocedure.sql – stored procedure used to create the SP for account/billing db
mssql_storedprocedure.sql-创建account/billing 数据库的存储过程脚本
mssql_table,sql – stored procedure used to create tables for account and billing DB
mssql_table,sql – 存贮过程用来为account 和billing数据库创建表
bash_profile – configuration file for the AU servers
bash_profile – AU 集群的配置文件
feilvbin.xml – the configuration file of the whole setup (game server and au server groups only)
feilvbin.xml – 整个安装的配置文件:仅仅是服务器和AU集群
java.tar.gz – archive used to install java in the servers
java.tar.gz-在中安装java的支持环境
本文来自织梦 ssl.tar.gz – archive used to install the certificates that will be used for access validation
ssl.tar.gz –安装用于验证的证书
jakarta-tomcat-5.5.9.aumanager.tar.gz – archive used to install tomcat in the servers
jakarta-tomcat-5.5.9.aumanager.tar.gz – 安装TOMCAT
aumanager.xml – configuration file for au setup
aumanager.xml – AU安装的配置文件
configfeilvbin (folder)
configfeilvbin文件夹
cpackage.feilvbin.tar.gz – archive file used to install the games 安装
GMServer.conf – contains the configuration for the GM server.包含GM server.的配置
gmopen.xml – contains the server list 包含服务列表
table.xml – configuration file of the Database server.数据库的配置文件
Other packages:其他软件包
nationalgm.rar – package of the GM Server Tool GM工具
Installation and Configuration 安装与配置
I. Game Server Group集群
To setup the Game Server Group, do the following:安装集群,按照如下步骤
copyright dedecms
Configuration of Manager Server配置Manager Server
Configuration of the Backup and Database Servers配置Backup and Database Servers
Edit the XML (feilvibn.xml)编辑(feilvibn.xml)
Configuration of the Non-disks Servers.配置无盘
Publish the Game 发布
Providing Access to the Game Server Setup提供控制权来安装Game Server
Configuration of Manager Server Manager Server的配置
Before starting with the configuration of the Game Manager Server, it is assumed that the dump file is already in a laptop and is connected to the internal network where the Manager server is.
在开始Game Manager Server配置之前,假定需要的文件已经在电脑里面拉,并且Manager server能够连接互联网
To configure the Manager Server, the user should do the following subtasks:
配置Manager Server,用户应该完成如下事情
Prepare package 准备软件包
RAID Configuration RAID配置
DRAC Configuration DRAC配置
BIOS Configuration BIOS配置
Server System Installation 系统的安装
dedecms.com Configuration of the Boot Loader 配置引导
Reconfigure BIOS to boot from hard disk 重新配置BISO从因潘启动
Prepare the package准备软件包
Before going into the details of the configuration, do the following first
在进入配置的细节之前,首先要做如下操作:
Copy package to the laptop. 拷贝软件包到电脑里
Set the IP of the laptop (VMWare) to 192.168.0.1. 设置电脑(VMWare这是一个虚拟机软件 怎么会用到虚拟机呢 不解) 的IP为 192.168.0.1.
Connect the laptop to the same network as the Game Server or connect it directly to the Manager.
把电脑连接到相同的网络中最为Game Server或者直接连上管理器
RAID Configuration RAID配置
a. Press CTRL+R to load the RAID BIOS configuration interface.
按CTRL+R加载RAID BISO配置界面
b. Select Controller 0. Press F2 then select ‘Reset Config’ to delete the existing configuration.
选择Controller 0. 按 F2 然后 ‘Reset Config’ 来删除已存在的配置
织梦好,好织梦
c. The interface will display ‘No configuration present!’. Press F2 and select ‘Create New VD’ to create a new configuration.
界面将显示‘No configuration present!’.;按F2 并且选择‘Create New VD’创建一个新的配置
d. The Virtual Disk Management screen will be loaded and do the following:
虚拟磁盘管理屏幕将被加载,做如下操作
i. On the RAID Level field, choose ‘RAID-1’ and Press ‘Enter’.在RAID Level区域选择‘RAID-1’并回车
ii. Cross out the squares corresponding to the two drives in this partition by pressing space bar. The first drive is the root, second drive is the swap and the third is export.在这个分区中通过按空格键转到正方形区域以符合这两个驱动器。第一个驱动器作为root,iii. 第二个最为swap 第三个作为export(其实就是LINUX分区说的真麻烦)
iv. First, set the Basic Settings for the Root.首先设置root
dedecms.com Root:
VD Size: 10000 MB 大小
VD Name: Root 名字
v. Cross out the ‘Advanced Setting’ and set the following values for the partition.
转到‘Advanced Setting’ 并且设置如下的参数
Element Size: 64 MB
Read Policy: Adaptive Read
Write Policy: Write Back
vi. Cross out Initialize by pressing spacebar.通过按空格键转到Initialize
vii. Create the next two partition by going to ‘Space Allocation’ under free space and press F2. Repeat steps iii to v. Use the following values for the corresponding partitions.创建接下来的两个分区,viii. 转到‘Space Allocation’的剩余空间,ix. 然后按F2创建分区,x. 重复xi. 3-5步骤,xii. 使用如下的设置设置相应的分区
Swap:
VD Size: 4096 MB
VD Name: Swap
Export:
VD Size: whatever the remaining space is 剩余的空间
copyright dedecms
VD Name: Export
xiii. Press Esc and click OK to save.按ESC 和OK保存
e. Press CTRL+ALT+DEL to reboot the server. 重启服f. 务器
DRAC Configuration DRAC 配置
Go to the Remote Access Configuration by pressing CTRL+E after reboot.重启后通过按CTRL+E转到路由控制配置
Change the values of the following:改变如下数值
IPMI Over Lan – On
NIC Selection – Dedicated
LAN Parameters局域网参数
Ethernet IP Address (specify the internal IP; refer to the IP assignments in the Appendix制定互内部网IP,参考俘虏的IP分配)
Default Gateway (specify the internal IP of the gateway制定内部网的网关)
Host Name String (input ‘Manager’输入‘Manager’)
LAN User Configuration局域网用户配置
Enter Username: root
Enter Password: 密码
Confirm Password: 密码
Press Escape and Save Changes and Exit. The server will reboot.按Escape并保存后退出,服务将重启
织梦内容管理系统
Note: While doing the configuration, take note of the IP addresses that are being assigned to the servers. These will be needed later in the modification of the XML.
注意:当配置这个的时候,记下被分配给的IP地址。这些信息在稍后的配置中会使用到-修改XML的时候
BIOS Configuration
After reboot, press F2 to go to the BIOS Configuration Screen and do the following:
重启系统后 F2 进入BISO设置 做如下操作
Go to ‘Memory Information’ and choose ‘System Memory Testing’. Set the value of this to Disabled.转到‘Memory Information’(也就是内存信息)并选择‘System Memory Testing’.(系统内存测试)把值设置成Disabled
Go to ‘Boot Sequence’. Uncheck everything except Embedded with NIC…转到‘Boot Sequence’也就是引导顺序,只选Embedded with NIC选项 其他的都不要选
Go to ‘Integrated Devices’ and do the following:转到‘Integrated Devices’做如下操作
dedecms.com
a. Set the value of the Embedded NIC1 enabled with PXE to true.设置Embedded NIC1为enabled,b. PXE 设置 true
c. Take note of the MAC Addresses of Gb NIC1 and Gb NIC2. These MAC Addresses will be used to update the XML file. Edit the ‘IDE CD-ROM Controller set’ to Off.记录下Gb NIC1 和 Gb NIC2的MAC地址。这些信息在更新XML的时候会使用到
Go to ‘Serial Communication’ set the value to On without Console Redirection.转到‘Serial Communication’,设置成On without Console Redirection.
Go to ‘External Serial Connector’ set to Remote Access Device.转到‘External Serial Connector’设置路由控制器
Go to ‘System Security’ set to AC Power Recovery On.转到‘System Security’(系统)设置AC Power Recovery On
Go to ‘Report Keyboard Errors’ set to Do not Report.转到‘Report Keyboard Errors’ 设置成Do not Report.
Save the Changes and Exit.保存并退出
Server System Installation 系统的安装
本文来自织梦
After the configuration of the server, the system will now be installed. After reboot, login to the server using root and follow the procedures below to install:
当配置服务器以后,系统就已经被安装拉。重启后,登陆,使用root身份进行接下来的安装操作
Create partitions and Format Directories.分区的创建与格式化路径
Before creating the partitions, check if there are any existing partitions. To do this type this command cat /proc/partitions. This will display the virtual directories and the partitions for each directory. The mapping of the virtual directories are as follows:
创建分区以前,检查一下,如果有存在的分区的话。输入如下命令:cat /proc/partitions。将显示虚拟路径和每分路径的分区。虚拟路径的映射规则如下所示