CAKE Centos 7

0. 硬體需求

兩張網卡
  一張對內,接一台對內switch
  一張對外,接一台對外switch
 

1. 安裝 CentOS 7 

CentOS-7.0-1406-x86_64-DVD.iso
 
[LOCALIZATION]
  DATE & TIME (Asia/Taipei timezone)

[SOFTWARE]
  SOFTWARE SELECTION (Basic Web Server)

[SYSTEM]
  INSTALLATION DESTINATION (Custom partitioning selected)

DATA
  /mnt/storage 897.68 GiB (centos-mnt_storage)
  /home 476.84 GiB (centos-home)

SYSTEM
  /boot 488 MiB (sda1)
  / 476.84 GiB (centos-root)
  swap 11.18 GiB (centos-swap)

  NETWORK & HOST NAME (Not connected)
 

2. 安裝 CAKE starbucks

# 跟 dhcp server 要一個對外 IP
dhclient <NIC>

 
git clone root@140.92.25.187:/opt/cake
cd cake/installer-of-c7-pkgs-for-cake/bin
sh main.sh >> run.log &
tail -f run.log

 

3.1 設定 center

cp cake/upgradeTest/post-installer.sh .
. post-installer.sh

 
Role: C+N
選擇 mgmt 網卡
mgmt IP / network mask
192.168.10.10 / 255.255.255.0
 
startx

service starterd start
service cakeweb start

 

3.2 設定node

cp cake/upgradeTest/post-installer.sh .
. post-installer.sh

 
Role: N
選擇 mgmt 網卡
mgmt IP / network mask
192.168.10.11 / 255.255.255.0
 
consoleTool

# 修改center IP
# 192.168.10.10

service starterd start

 

備註

service NetwokManger stop
systemctl restart orbited.service
# systemctl restart vsftpd.service
ftp local
除非特別註明,本頁內容採用以下授權方式: Creative Commons Attribution-ShareAlike 3.0 License