-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall-paramrc.sh
95 lines (95 loc) · 2.69 KB
/
install-paramrc.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#!/bin/bash
#
# OpenStack Installation script (parameter definition)
#
export INSTALL_TYPE=full
export NETWORK_TYPE=classic_ovs
export PASSWD_TYPE=studypass
#
# There are two kinds of installation: full or compact.
# Full has 2 compute node, while compact has only 1 compute.
# There are also two types of network: classic_ovs or dvr_ovs.
# classic_ovs has no HA capability. dvr_ovs represents the
# distributed virtual router HA capability.
# The password is either "randompass" or "studypass" (default).
# The "randompass" produces randomly generated passwords for
# openstack components while "studypass" generates readable
# password for learning and debugging.
#
export OPS_LOGIN_NAME=openstack
export OPS_LOGIN_PASS=openstack
export OPS_TIMEZONE=Asia\\/Ho_Chi_Minh
#
export OPS_MYSQL_PASS=mysqlpassword
export DEMO_PASS=demopassword
export ADMIN_PASS=adminpassword
#
export HYPERVISOR=qemu
#export HYPERVISOR=kvm
#
export INIT_IMAGE_LOCATION=http:\\/\\/download.cirros-cloud.net\\/0.4.0\\/cirros-0.4.0-x86_64-disk.img
export INIT_IMAGE_NAME=cirros
#
# The domainname of every node
# export DOMAINNAME=www.ctu.edu.vn
#
# ntp servers
#
export NTP_SERVER0=0.asia.pool.ntp.org
export NTP_SERVER1=1.asia.pool.ntp.org
export NTP_SERVER2=2.asia.pool.ntp.org
export NTP_SERVER3=3.asia.pool.ntp.org
#
# Management Network
#
export MANAGEMENT_NETWORK=192.168.1.0
export MANAGEMENT_NETWORK_NETMASK=255.255.255.0
export MANAGEMENT_BROADCAST_ADDRESS=192.168.1.255
export DNS_IP=203.113.188.1
#
# This GATEWAY_IP define the IP addr of the gateway of
# the management network on every node.
#
export GATEWAY_IP=192.168.1.1
#
#
# ---- controller host ----
#
export CONTROLLER_IP=192.168.1.10
export CONTROLLER_IP_NIC=enp0s3
#
# ---- network host ----
#
export NETWORK_IP=192.168.1.20
export NETWORK_IP_NIC=enp0s3
#
export DATA_TUNNEL_NETWORK_NODE_IP=10.0.1.21
export DATA_TUNNEL_NETWORK_NODE_IP_NIC=enp0s8
export DATA_TUNNEL_NETWORK_ADDRESS=10.0.1.0
export DATA_TUNNEL_NETWORK_NETMASK=255.255.255.0
export VLAN_NETWORK_NODE_IP_NIC=enp0s9
#
export EXTERNAL_CIDR=192.168.1.0\\/24
export EXTERNAL_CIDR_NIC=enp0s10
export EXTERNAL_GATEWAY_IP=192.168.1.1
#
# For DVR, the EXTERNAL_CIDR* of network node is the same for every compute node.
#
export START_FLOATING_IP=192.168.1.160
export END_FLOATING_IP=192.168.1.200
#
# ---- compute host ----
#
export COMPUTE_IP=192.168.1.31
export COMPUTE_IP_NIC=enp0s3
export DATA_TUNNEL_COMPUTE_NODE_IP=10.0.1.31
export DATA_TUNNEL_COMPUTE_NODE_IP_NIC=enp0s8
export VLAN_COMPUTE_NODE_IP_NIC=enp0s9
#
# ---- compute1 host ----
#
export COMPUTE1_IP=192.168.1.32
export COMPUTE1_IP_NIC=enp0s3
export DATA_TUNNEL_COMPUTE1_NODE_IP=10.0.1.32
export DATA_TUNNEL_COMPUTE1_NODE_IP_NIC=enp0s8
export VLAN_COMPUTE1_NODE_IP_NIC=enp0s9