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