Вы находитесь на странице: 1из 39

ASPEN Cloud Installation

Guide for CCP (Phase 1)


--This guide applies to Option C

Power-All Networks Limited


Dec 2nd, 2011
Version 1.9.4

Aspen cloud installation guide


Description

Format description
Change according to the actual information,the font is
green. egnetmask=your_mask the subnet mask is
255.255.255.0then filled in as:
netmask=255.255.255.0

Division of labor
According to the document, IDC technicians install the
system,and configure network Extranet can access to
each server,port 22
When it is done ,transfer to Powerall for configuration
checking.
And then IDC technician will change the network topology
and checked by Powerall again.

Aspen cloud installation guide


Process

1. Rack hardware
2. Establish network connection
3. Configuration switch
4. Installing preparation
5. Build a RAID Array, raid 5 or raid 6
6. Motherboard set VT Enable in BIOS
7. Configuration iDRAC6 (integrated Dell Remote Access Card)
8. System Integration testing
9. Install system(Firewall)
10. Install system(Cserver)
11. Configure servers (check configuration by Powerall)
12. Reconstruct network

Aspen cloud installation guide


Rack hardware

Put the switches, servers on Rack


According to the topology diagram on the
next page to build up the whole physical
network environment.
NOTEThe location of switches could be changed according to Rack
capacity.

Aspen cloud installation guide


Establish network connection

Aspen cloud installation guide


Establish network connection

Notice:

Port1 of each switch connect to Internet (redundancy)


We left port 2 of each switch in case the link-aggregation demand.
( aggregate port 1 and port 2 )
Each Firewall Server utilize 4 Ethernet ports. Eth1 and eth2 used for
bonding in VLAN2, eth0 in VLAN1 and eth3 for heartbeat with the
other firewall.
Each Cloud Server utilize both Ethernet ports to build a redundant
binding (named bond0).
*IP Addresses distribution rules:
gateway:xxx.xxx.xxx.1 Sw1:xxx.xxx.xxx.2 Sw2:xxx.xxx.xxx.3
fw:xxx.xxx.xxx.4 fw2:xxx.xxx.xxx.5
Other servers follow the same steps,but other servers NIC setting will be changed later;
*sw1,sw2 could be placed in the Rack according to Rack capacity.

Aspen cloud installation guide


Switch configuration

Configurate h3c s5100 Switch with the following commands

<h3c>system
*NOTEItalics is switch's command
[h3c]sysname sw1
*NOTECommands for sw2 is sysname sw2
[sw1] interface Vlan-interface1
[sw1-vlan-interface1] ip address your_ip your_mask *NOTE:configurate sw1 to
remote control ip address

[sw1-vlan-interface1] quit
[sw1] ip route-static 0.0.0.0 0.0.0.0 your_gateway
[sw1] user-interface aux 0
[sw1-ui-aux0] authentication-mode password
[sw1-ui-aux0] user privilege level 3
[sw1-ui-aux0] set authentication password cipher password
[sw1-ui-aux0] history-command max-size 20
[sw1-ui-aux0] idle-timeout 5 0
[sw1-ui-aux0] screen-length 30
[sw1-ui-aux0] quit

Aspen cloud installation guide


Switch configuration

[sw1]local-user admin
[sw1-luser-admin] password cipher password
[sw1-luser-admin] service-type ssh level 3
[sw1-luser-admin] quit
[sw1] public-key local create rsa
[sw1] public-key local create dsa
[sw1] user-interface vty 0 4
[sw1-ui-vty0-4] authentication-mode scheme
[sw1-ui-vty0-4] protocol inbound ssh
[sw1-ui-vty0-4] quit

[sw1]ip http shutdown

*NOTEShutdown the WEB server

Aspen cloud installation guide


Switch configuration

[sw1] ssh server enable


[sw1] ssh user admin authentication-type all
[sw1] ssh user admin service-type stelnet
[sw1] ssh user admin authentication-type password
[sw1] save safely main
[sw1]quit
<sw1>quit
Use pc to test SSH in sw
Reboot switch and reconfirm configuration

NOTEName the saving configuration with date ,eg:20091118.cfg;


NOTEItalics is switch's command
NOTEthose command was by h3c s5100-EI as template,maybe will be different in different
swtich,CD-ROM included,depending on the switch to configure the switch.And compression file
inside the CD-ROM send to Austin Liu: xinqiang@powerallnetworks.com

Aspen cloud installation guide


OS Preparation

Download the 2 ISO images below, check their md5 to ensure them are
error-free, then burn them to blank DVD disks respectively. (Note: the 2 ISO,
one for cloud firewall, the other for cloud server.)

ftp://imgsetup:powerall@ftp.goodvm.com/cloudinstall/CentOS_5.4_cloud.iso
( Used for cloud Server, R710. )
md5sum: ffc97cf0e7ae7016e20f96bf497cb687 CentOS_5.4_cloud.iso

ftp://imgsetup:powerall@ftp.goodvm.com/cloudinstallcustom/CENTOS_5.4_
CLOUD_R210_2_500G_SD.iso
md5: ce7f093037e2a725a4f5fc0d4e0f698e
CENTOS_5.4_CLOUD_R210_2_500G_SD.iso
( Used for cloud firewall, R210 )

Please ensue CPU virtualization ( Intel-VT or AMD-V ) is enable in BIOS before


the installation.

Aspen cloud installation guide


Build a RAID Array, raid 5 or raid 6

Firewall server does not need to build hard disk array.


(NOTEThe scripts in the installation DVD will make soft raid 1 in Dell R210 when
install firewall system);

Build RAID on Cserver


1. If the Cserver&Cstorage only have 6 x 2TB SATA HD inside, please build RAID5 or
RAID6 on all 6 HDs. After RAID built successfully, divide the unique array space into two
partitions which named virtualization disk in Dell Servers, the 1st Virtualization disk is
500G for OS, left space for Data.
2. If the Cserver has 2 x 1TB SAS HD and 4 x 2TB SATA HD. Please build RAID1 on both
SAS HD and build RAID5 on all the other 4 SATA HD. After RAID built successfully,
divide the SAS array (RAID1) space into two partitions which named virtualization disk
in Dell Servers, the 1st Virtualization disk is 500G for OS, left space for Data.

Reboot server

NOTEPlug your Keyboardmousemonitor into the unit's Console Ports,then


configuration servers.

Aspen cloud installation guide


Motherboard set VT Enable in BIOS

1.Inter the server BIOS settings


appendixdell server reference

Aspen cloud installation guide


Motherboard set VT Enable in BIOS

access to Processor Setting Screen: Virtualization


Technology EnabledNOTEall servers are required to open
BIOS,VT function disable this feature system will not can run xen3.3.1
exampleIntel @Virtualization TechnologyEnabled

*NOTEBrand Model server settings in different ways on different servers see the
user manual

Make sure date and time correct

Aspen cloud installation guide


Other Setting in BIOS

SATA Setting > SATA Controller > AHCI Mode(this item


is just for Dell R210 and others which only has 2 HDs in
each.
Booting Settings > Boot Sequence > 1. DVDROM 2. HD
Integrated Devices > Embedded Gb NIC > Enable (not
with PXE)
System Security > AC Power Recovery > On

Report keyboard Errors > Not Report


Press <Ctrl><E> when prompted during POST to start
configure the iDRAC6 port. (refer to the <Dell iDRAC6 configuration
guide> for detail steps, click the super link to download the guide.)

Aspen cloud installation guide


Environmental Test for System Integration

1. Equipments Working Status Check


Check LED light of each equipment, to ensure all
LED status are normalNo Error, No Warning.
2. Network TestAfter server power on, to check each
Ethernet port of all servers to make sure they are
working on 1000Mbps.
And check the corresponding ports on switch side to
make sure all the working ports are working on
1000Mbps as well ( Green light )

3. Try to control each server via iDRAC6.

Aspen cloud installation guide


System installation(Firewall)

Start the server from the corresponding DVD, youll see the
installation menu if everything goes well.

Aspen cloud installation guide


System installation(Firewall)

*NOTEWhen displaying following prompt, please press


the combination key Alt+F3 (to switch to the 3rd tty for
some configuration.)

Aspen cloud installation guide


System installation(Firewall)

*NOTE1Please fill in the actual situation


*NOTE2Use the direction keys, Back space key and Tab key to
modify the information according to your real cloud info.

Aspen cloud installation guide


System installation(Firewall)

Aspen cloud installation guide


System installation(Firewall)

Aspen cloud installation guide


System installation(Firewall)

Aspen cloud installation guide


System installation(Firewall)

After finishing above setting, the further installation will be finished in


several minutes.

Aspen cloud installation guide


System installation(Firewall)

*NOTEPress Alt+F1 function key after the tips in following attachment

Aspen cloud installation guide


System installation(Firewall)

*NOTEPress type Enter when the screen below displayed.


And Do not forget to remove the CD disk before reboot.

Aspen cloud installation guide


Basic Configuration (Firewall)

If the system installation is smooth going with no error. Try to login the system with the account
below.
username : root
password : cloud2010IDC

Modify the specific file, configure Ip address, netmask, gateway items.


Replace the following private IP with public IP address which has been assigned for the cloud.
[root@xxx ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
IPADDR=x.x.x.x
NETMASK=x.x.x.x
GATEWAY=x.x.x.x
BOOTPROTO=none
USERCTL=no

Modify the file below, configure DNS. ( Please do not use your local DNS server. )
[root@xxx ~]# cat /etc/resolv.conf
nameserver 203.131.233.141
nameserver 203.131.233.151

Make sure the 2 R210 can be accessed from Internet via the new IP Addresses.

Aspen cloud installation guide


System installation(Cserver)

Aspen cloud installation guide


System installation(Cserver)

*NOTEWhen displaying following, press Alt+F3


function key

Aspen cloud installation guide


System installation(Cserver)

*NOTE1Please fill in the actual situation


*NOTE2Use the directiion keys,Back space key and Tab key to
modify the information in form

Aspen cloud installation guide


System installation(Cserver)

Aspen cloud installation guide


System installation(Cserver)

Aspen cloud installation guide


System installation(Cserver)

Aspen cloud installation guide


System installation(Cserver)

After finishing above setting, the further installation will be


finished in several minutes.

Aspen cloud installation guide


System installation(Cserver)

*NOTEPress Alt+F1 function key after the tips in following attachment

Aspen cloud installation guide


System installation(Cserver)

*NOTEPress type Enter when the screen below displayed.


And Do not forget to remove the CD disk before reboot.

Aspen cloud installation guide


Basic Configuration (Cserver)

If the system installation is smooth going with no error. Try to login the system with the
account below:
username : root
password : cloud2010IDC

Modify the specific file, configure IP address, netmask, gateway items.


[root@xxxx ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
ONBOOT=yes
BOOTPROTO=none
IPADDR=10.10.1.xx
NETMASK=255.255.0.0
NO_ALIASROUTING=yes
GATEWAY=10.10.1.1
TYPE=Bridge

Modify the file below, configure DNS. ( Please do not your local DNS Server.)
[root@xxx ~]# cat /etc/resolv.conf
nameserver 203.131.233.141
nameserver 203.131.233.151

Aspen cloud installation guide


Server configuration (remote completed by Powerall)

After finishing all the servers installation, please fill the <>sent the
configure info. such as IP, DNS and so on to
xinqiang@powerallnetworks.com .

Email : xinqiang@powerallnetworks.com
Phone 86-0755-86593733

Power-All ShenZhen Team will check the configuration of all


equipments and make further configration and testing. Any
question needs your support remotely, we will contact you directly.

After finishing configuration check, he will give you some


feedback and cooperate with you on the next jobs.

Aspen cloud installation guide


Establish connection
After finishing configuration, connect cables as the topology following and
labeling, make sure that all the LED on the switch is in green light.
Installation guide maybe be upgraded depending on the actual installation
environment

Aspen cloud installation guide


Appendix (apply to CCP option-C, 2 x R710 & 2 x R210 & 2 x Switch)

Power-All Networks Ltd. Cloud Center Network Connection Topology with iDRAC6.

Aspen cloud installation guide


Appendix (with KVM)

Power-All Networks Ltd. Cloud Center Network Connection Flexible Topology.