1. RDO GRE setting
  2. Network setting
  3. gate way is 172.28.0.1 , eth0 connect to router.
  4. cat /etc/sysconfig/network-scripts/ifcfg-eth0
  5. DEVICE=eth0
  6. ONBOOT=yes
  7. HWADDR=00:E0:81:D8:43:BE
  8. TYPE=Ethernet
  9. BOOTPROTO=none
  10. IPADDR=172.28.1.10
  11. NETMASK=255.255.0.0
  12. cat /etc/sysconfig/network-scripts/ifcfg-eth1
  13. DEVICE=eth1
  14. ONBOOT=yes
  15. HWADDR="00:E0:81:D8:43:BF"
  16. TYPE=Ethernet
  17. BOOTPROTO=none
  18. IPADDR=10.1.1.10
  19. NETMASK=255.255.255.0
  20. the answer files
  21. [general]
  22. # Path to a Public key to install on servers. If a usable key has not
  23. # been installed on the remote servers the user will be prompted for a
  24. # password and this key will be installed so the password will not be
  25. # required again
  26. CONFIG_SSH_KEY=
  27. # Set to 'y' if you would like Packstack to install MySQL
  28. CONFIG_MYSQL_INSTALL=y
  29. # Set to 'y' if you would like Packstack to install OpenStack Image
  30. # Service (Glance)
  31. CONFIG_GLANCE_INSTALL=y
  32. # Set to 'y' if you would like Packstack to install OpenStack Block
  33. # Storage (Cinder)
  34. CONFIG_CINDER_INSTALL=y
  35. # Set to 'y' if you would like Packstack to install OpenStack Compute
  36. # (Nova)
  37. CONFIG_NOVA_INSTALL=y
  38. # Set to 'y' if you would like Packstack to install OpenStack
  39. # Networking (Neutron)
  40. CONFIG_NEUTRON_INSTALL=y
  41. # Set to 'y' if you would like Packstack to install OpenStack
  42. # Dashboard (Horizon)
  43. CONFIG_HORIZON_INSTALL=y
  44. # Set to 'y' if you would like Packstack to install OpenStack Object
  45. # Storage (Swift)
  46. CONFIG_SWIFT_INSTALL=y
  47. # Set to 'y' if you would like Packstack to install OpenStack
  48. # Metering (Ceilometer)
  49. CONFIG_CEILOMETER_INSTALL=y
  50. # Set to 'y' if you would like Packstack to install Heat
  51. CONFIG_HEAT_INSTALL=y
  52. # Set to 'y' if you would like Packstack to install the OpenStack
  53. # Client packages. An admin "rc" file will also be installed
  54. CONFIG_CLIENT_INSTALL=y
  55. # Comma separated list of NTP servers. Leave plain if Packstack
  56. # should not install ntpd on instances.
  57. CONFIG_NTP_SERVERS=172.28.0.1
  58. # Set to 'y' if you would like Packstack to install Nagios to monitor
  59. # openstack hosts
  60. CONFIG_NAGIOS_INSTALL=y
  61. # Comma separated list of servers to be excluded from installation in
  62. # case you are running Packstack the second time with the same answer
  63. # file and don't want Packstack to touch these servers. Leave plain if
  64. # you don't need to exclude any server.
  65. EXCLUDE_SERVERS=
  66. # The IP address of the server on which to install MySQL
  67. CONFIG_MYSQL_HOST=172.28.1.10
  68. # Username for the MySQL admin user
  69. CONFIG_MYSQL_USER=root
  70. # Password for the MySQL admin user
  71. CONFIG_MYSQL_PW=8f01cb805b604b42
  72. # The IP address of the server on which to install the QPID service
  73. CONFIG_QPID_HOST=172.28.1.10
  74. # The IP address of the server on which to install Keystone
  75. CONFIG_KEYSTONE_HOST=172.28.1.10
  76. # The password to use for the Keystone to access DB
  77. CONFIG_KEYSTONE_DB_PW=4c31354e408b46a9
  78. # The token to use for the Keystone service api
  79. CONFIG_KEYSTONE_ADMIN_TOKEN=628ada3c5b4a470494a59c7dc9eb6292
  80. # The password to use for the Keystone admin user
  81. CONFIG_KEYSTONE_ADMIN_PW=admin
  82. # The password to use for the Keystone demo user
  83. CONFIG_KEYSTONE_DEMO_PW=2b87d463e5d0413e
  84. # Kestone token format. Use either UUID or PKI
  85. CONFIG_KEYSTONE_TOKEN_FORMAT=PKI
  86. # The IP address of the server on which to install Glance
  87. CONFIG_GLANCE_HOST=172.28.1.10
  88. # The password to use for the Glance to access DB
  89. CONFIG_GLANCE_DB_PW=a9dee8532be14906
  90. # The password to use for the Glance to authenticate with Keystone
  91. CONFIG_GLANCE_KS_PW=8379eae013304584
  92. # The IP address of the server on which to install Cinder
  93. CONFIG_CINDER_HOST=172.28.1.10
  94. # The password to use for the Cinder to access DB
  95. CONFIG_CINDER_DB_PW=2d5f1772fe104bc2
  96. # The password to use for the Cinder to authenticate with Keystone
  97. CONFIG_CINDER_KS_PW=ad0693d7382c4f37
  98. # The Cinder backend to use, valid options are: lvm, gluster, nfs
  99. CONFIG_CINDER_BACKEND=lvm
  100. # Create Cinder's volumes group. This should only be done for testing
  101. # on a proof-of-concept installation of Cinder. This will create a
  102. # file-backed volume group and is not suitable for production usage.
  103. CONFIG_CINDER_VOLUMES_CREATE=n
  104. # Cinder's volumes group size. Note that actual volume size will be
  105. # extended with 3% more space for VG metadata.
  106. CONFIG_CINDER_VOLUMES_SIZE=20G
  107. # A single or comma separated list of gluster volume shares to mount,
  108. # eg: ip-address:/vol-name
  109. CONFIG_CINDER_GLUSTER_MOUNTS=
  110. # A single or comma seprated list of NFS exports to mount, eg: ip-
  111. # address:/export-name
  112. CONFIG_CINDER_NFS_MOUNTS=
  113. # The IP address of the server on which to install the Nova API
  114. # service
  115. CONFIG_NOVA_API_HOST=172.28.1.10
  116. # The IP address of the server on which to install the Nova Cert
  117. # service
  118. CONFIG_NOVA_CERT_HOST=172.28.1.10
  119. # The IP address of the server on which to install the Nova VNC proxy
  120. CONFIG_NOVA_VNCPROXY_HOST=172.28.1.10
  121. # A comma separated list of IP addresses on which to install the Nova
  122. # Compute services
  123. CONFIG_NOVA_COMPUTE_HOSTS=172.28.1.10
  124. # The IP address of the server on which to install the Nova Conductor
  125. # service
  126. CONFIG_NOVA_CONDUCTOR_HOST=172.28.1.10
  127. # The password to use for the Nova to access DB
  128. CONFIG_NOVA_DB_PW=239a0974c22e4424
  129. # The password to use for the Nova to authenticate with Keystone
  130. CONFIG_NOVA_KS_PW=8f7d9f13682e4b35
  131. # The IP address of the server on which to install the Nova Scheduler
  132. # service
  133. CONFIG_NOVA_SCHED_HOST=172.28.1.10
  134. # The overcommitment ratio for virtual to physical CPUs. Set to 1.0
  135. # to disable CPU overcommitment
  136. CONFIG_NOVA_SCHED_CPU_ALLOC_RATIO=16.0
  137. # The overcommitment ratio for virtual to physical RAM. Set to 1.0 to
  138. # disable RAM overcommitment
  139. CONFIG_NOVA_SCHED_RAM_ALLOC_RATIO=1.5
  140. # Private interface for Flat DHCP on the Nova compute servers
  141. CONFIG_NOVA_COMPUTE_PRIVIF=eth1
  142. # The list of IP addresses of the server on which to install the Nova
  143. # Network service
  144. CONFIG_NOVA_NETWORK_HOSTS=172.28.1.10
  145. # Nova network manager
  146. CONFIG_NOVA_NETWORK_MANAGER=nova.network.manager.FlatDHCPManager
  147. # Public interface on the Nova network server
  148. CONFIG_NOVA_NETWORK_PUBIF=eth0
  149. # Private interface for network manager on the Nova network server
  150. CONFIG_NOVA_NETWORK_PRIVIF=eth1
  151. # IP Range for network manager
  152. CONFIG_NOVA_NETWORK_FIXEDRANGE=192.168.32.0/22
  153. # IP Range for Floating IP's
  154. CONFIG_NOVA_NETWORK_FLOATRANGE=10.3.4.0/22
  155. # Name of the default floating pool to which the specified floating
  156. # ranges are added to
  157. CONFIG_NOVA_NETWORK_DEFAULTFLOATINGPOOL=nova
  158. # Automatically assign a floating IP to new instances
  159. CONFIG_NOVA_NETWORK_AUTOASSIGNFLOATINGIP=n
  160. # First VLAN for private networks
  161. CONFIG_NOVA_NETWORK_VLAN_START=100
  162. # Number of networks to support
  163. CONFIG_NOVA_NETWORK_NUMBER=1
  164. # Number of addresses in each private subnet
  165. CONFIG_NOVA_NETWORK_SIZE=255
  166. # The IP addresses of the server on which to install the Neutron
  167. # server
  168. CONFIG_NEUTRON_SERVER_HOST=172.28.1.10
  169. # The password to use for Neutron to authenticate with Keystone
  170. CONFIG_NEUTRON_KS_PW=d0b93df4a2e14391
  171. # The password to use for Neutron to access DB
  172. CONFIG_NEUTRON_DB_PW=ce1b30176c3248da
  173. # A comma separated list of IP addresses on which to install Neutron
  174. # L3 agent
  175. CONFIG_NEUTRON_L3_HOSTS=172.28.1.10
  176. # The name of the bridge that the Neutron L3 agent will use for
  177. # external traffic, or 'provider' if using provider networks
  178. CONFIG_NEUTRON_L3_EXT_BRIDGE=br-ex
  179. # A comma separated list of IP addresses on which to install Neutron
  180. # DHCP agent
  181. CONFIG_NEUTRON_DHCP_HOSTS=172.28.1.10
  182. # The name of the L2 plugin to be used with Neutron
  183. CONFIG_NEUTRON_L2_PLUGIN=openvswitch
  184. # A comma separated list of IP addresses on which to install Neutron
  185. # metadata agent
  186. CONFIG_NEUTRON_METADATA_HOSTS=172.28.1.10
  187. # A comma separated list of IP addresses on which to install Neutron
  188. # metadata agent
  189. CONFIG_NEUTRON_METADATA_PW=06f3807582594213
  190. # The type of network to allocate for tenant networks
  191. CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=local
  192. # A comma separated list of VLAN ranges for the Neutron linuxbridge
  193. # plugin
  194. CONFIG_NEUTRON_LB_VLAN_RANGES=
  195. # A comma separated list of interface mappings for the Neutron
  196. # linuxbridge plugin
  197. CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=
  198. # Type of network to allocate for tenant networks
  199. CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=gre
  200. # A comma separated list of VLAN ranges for the Neutron openvswitch
  201. # plugin
  202. CONFIG_NEUTRON_OVS_VLAN_RANGES=
  203. # A comma separated list of bridge mappings for the Neutron
  204. # openvswitch plugin
  205. CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=
  206. # A comma separated list of colon-separated OVS bridge:interface
  207. # pairs. The interface will be added to the associated bridge.
  208. CONFIG_NEUTRON_OVS_BRIDGE_IFACES=
  209. # A comma separated list of tunnel ranges for the Neutron openvswitch
  210. # plugin
  211. CONFIG_NEUTRON_OVS_TUNNEL_RANGES=1:1000
  212. # Override the IP used for GRE tunnels on this hypervisor to the IP
  213. # found on the specified interface (defaults to the HOST IP)
  214. CONFIG_NEUTRON_OVS_TUNNEL_IF=eth1
  215. # The IP address of the server on which to install the OpenStack
  216. # client packages. An admin "rc" file will also be installed
  217. CONFIG_OSCLIENT_HOST=172.28.1.10
  218. # The IP address of the server on which to install Horizon
  219. CONFIG_HORIZON_HOST=172.28.1.10
  220. # To set up Horizon communication over https set this to "y"
  221. CONFIG_HORIZON_SSL=n
  222. # PEM encoded certificate to be used for ssl on the https server,
  223. # leave blank if one should be generated, this certificate should not
  224. # require a passphrase
  225. CONFIG_SSL_CERT=
  226. # Keyfile corresponding to the certificate if one was entered
  227. CONFIG_SSL_KEY=
  228. # The IP address on which to install the Swift proxy service
  229. # (currently only single proxy is supported)
  230. CONFIG_SWIFT_PROXY_HOSTS=172.28.1.10
  231. # The password to use for the Swift to authenticate with Keystone
  232. CONFIG_SWIFT_KS_PW=b50c9679f11a489e
  233. # A comma separated list of IP addresses on which to install the
  234. # Swift Storage services, each entry should take the format
  235. # <ipaddress>[/dev], for example 127.0.0.1/vdb will install /dev/vdb
  236. # on 127.0.0.1 as a swift storage device(packstack does not create the
  237. # filesystem, you must do this first), if /dev is omitted Packstack
  238. # will create a loopback device for a test setup
  239. CONFIG_SWIFT_STORAGE_HOSTS=172.28.1.10
  240. # Number of swift storage zones, this number MUST be no bigger than
  241. # the number of storage devices configured
  242. CONFIG_SWIFT_STORAGE_ZONES=1
  243. # Number of swift storage replicas, this number MUST be no bigger
  244. # than the number of storage zones configured
  245. CONFIG_SWIFT_STORAGE_REPLICAS=1
  246. # FileSystem type for storage nodes
  247. CONFIG_SWIFT_STORAGE_FSTYPE=ext4
  248. # Whether to provision for demo usage and testing
  249. CONFIG_PROVISION_DEMO=n
  250. # The CIDR network address for the floating IP subnet
  251. CONFIG_PROVISION_DEMO_FLOATRANGE=172.24.4.224/28
  252. # Whether to configure tempest for testing
  253. CONFIG_PROVISION_TEMPEST=n
  254. # The uri of the tempest git repository to use
  255. CONFIG_PROVISION_TEMPEST_REPO_URI=https://github.com/openstack/tempest.git
  256. # The revision of the tempest git repository to use
  257. CONFIG_PROVISION_TEMPEST_REPO_REVISION=master
  258. # Whether to configure the ovs external bridge in an all-in-one
  259. # deployment
  260. CONFIG_PROVISION_ALL_IN_ONE_OVS_BRIDGE=n
  261. # The IP address of the server on which to install Heat service
  262. CONFIG_HEAT_HOST=172.28.1.10
  263. # The password used by Heat user to authenticate against MySQL
  264. CONFIG_HEAT_DB_PW=00daaf52b0de4cd2
  265. # The password to use for the Heat to authenticate with Keystone
  266. CONFIG_HEAT_KS_PW=0769af82dcdd4db0
  267. # Set to 'y' if you would like Packstack to install Heat CloudWatch
  268. # API
  269. CONFIG_HEAT_CLOUDWATCH_INSTALL=y
  270. # Set to 'y' if you would like Packstack to install Heat
  271. # CloudFormation API
  272. CONFIG_HEAT_CFN_INSTALL=y
  273. # The IP address of the server on which to install Heat CloudWatch
  274. # API service
  275. CONFIG_HEAT_CLOUDWATCH_HOST=172.28.1.10
  276. # The IP address of the server on which to install Heat
  277. # CloudFormation API service
  278. CONFIG_HEAT_CFN_HOST=172.28.1.10
  279. # The IP address of the server on which to install Ceilometer
  280. CONFIG_CEILOMETER_HOST=172.28.1.10
  281. # Secret key for signing metering messages.
  282. CONFIG_CEILOMETER_SECRET=7011da42649143f3
  283. # The password to use for Ceilometer to authenticate with Keystone
  284. CONFIG_CEILOMETER_KS_PW=d56e413dbadf472b
  285. # To subscribe each server to EPEL enter "y"
  286. CONFIG_USE_EPEL=n
  287. # A comma separated list of URLs to any additional yum repositories
  288. # to install
  289. CONFIG_REPO=
  290. # The IP address of the server on which to install the Nagios server
  291. CONFIG_NAGIOS_HOST=172.28.1.10
  292. # The password of the nagiosadmin user on the Nagios server
  293. CONFIG_NAGIOS_PW=nagiosadmin