Advertisement
Guest User

Untitled

a guest
Jun 6th, 2016
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.00 KB | None | 0 0
  1. ## Configuration File:
  2.  
  3. #########################################################
  4. # User Defined Configuration File.
  5. # Information in this file is specific to the user setup.
  6. ########################################################
  7.  
  8. ## The file has two main sections:
  9. ## Section-1: The first section is the physical setup information.
  10. ## The section requires information about your servers like
  11. ## server cimc ip address, Networking info, some cobbler settings, and
  12. ## identify your server roles.
  13. ## Section-2: This section has openstack installation specific information.
  14. ## The installer will abstract all but a few key pieces of configuration
  15. ## that you will need to provide.
  16.  
  17.  
  18. #######################################################
  19. # SECTION-1 : Physical Setup Information.
  20. #######################################################
  21.  
  22. #######################################################
  23. # Registry credentials
  24. #######################################################
  25. REGISTRY_USERNAME: installer
  26. REGISTRY_PASSWORD: B4c0n
  27. REGISTRY_EMAIL: mercury-installer@cisco.com
  28.  
  29. ## Provide the CIMC (Cisco Integrated Management Interface)
  30. ## Username/password. The information is needed for bare metal install
  31. CIMC-COMMON:
  32. cimc_username: "admin"
  33. cimc_password: "Cisco123"
  34.  
  35. ## Cobbler specific information.
  36. ## host_profile: Cobbler host profile to use to install.
  37. ## kickstart: The cobbler kickstart file
  38. ## cobbler_username: username to access cobbler server.
  39. ## cobbler_password: password to access cobbler server.
  40. ## admin_username: Not sure what this is.
  41. ## admin_ssh_keys: This is a generated key which will be put on the hosts.
  42. ## This is needed for the next install step, using Ansible.
  43. COBBLER:
  44. host_profile: RHEL7.2-x86_64
  45. pxe_timeout: 35 # Optional parameter (in minutes)
  46. cobbler_username: cobbler
  47. cobbler_password: cobbler # Optional parameter (dynamically generated if not specified)
  48. admin_username: root
  49. #admin_passwod_hash should be the output from:
  50. # python -c "import crypt; print crypt.crypt('<plaintext password>')"
  51. admin_password_hash: me.5UXyK9.PH6
  52. #admin_ssh_keys: # Optional parameter
  53. # - ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAoMrVHLwpDJX8j2DiE55WtJ5NWdiryP5+FjvPEZcjLdtdWaWA7WlevwDNfvsmByxdP6EBaeskmyyU9B8ZJr1uClIN/sT6yD3gw6IkQ73Y6bl1kZxu/ZlcUUSNY4RVjSAz52/oLKs6n3wqKnn7rQuLGEZDvXnyLbqMoxHdc4PDFWiGXdlg5DIVGigO9KUncPK cisco@cisco-server
  54. kickstart:
  55. control: control-flexflash-c220m4.ks
  56. compute: compute-flexflash-c220m4.ks
  57. block_storage: storage-flexflash-c240m4.ks
  58.  
  59. ## Define ELK password for logging
  60. ## elk_password: password for Kibana and Elasticsearch Access
  61. ## rotation: Data rotation in Elasticsearch
  62. ## frequency: Rotation will happen based on specified frequency
  63. ## size: Additional rotation will happen for any daily log index exceeding specified size
  64. elk_password: elk # Optional parameter (dynamically generated if not specified)
  65. elk_rotation_frequency: "monthly"
  66. elk_rotation_size: 2
  67.  
  68. ## Define VTS specific Parameters
  69. ## Remove the below line if VTS is not part of the installation
  70. ## Note VTS related paramaters must be indented.
  71. VTS_PARAMETERS:
  72.  
  73. ## Define VTS credentials
  74. ## VTS_USERNAME: Username for VTS access
  75. ## VTS_PASSWORD: Will be autogenerated and is not added here.
  76. ## At the current time one username and password is used for all vts components
  77. VTS_USERNAME: '<vts_username>' # Required parameter when VTS enabled
  78.  
  79. ## VTS User Input Values
  80. ## BL_SWITCH_PORT_NUMBER0: The slot and port number for active Nexus9K port added to the inventory
  81. ## BL_SWITCH_PORT_NUMBER1: The slot and port number for backup Nexus9K port added to the inventory
  82. ## BL_SWITCH_USERNAME: Username for Nexus9K switches that are part of the VTS inventory
  83. ## BL_SWITCH_PASSWORD: Password for Nexus9K switches that are part of the VTS inventory
  84. ## BGP_ASN_NUMBER: The ASN number advertised by the VTS solution
  85. ## BGP_LOOPBACK_NUM: The loopback number to be used for BGP connections with peers
  86. ## BGP_LOOPBACK_IP: The loopback ip address to be used for BGP connections with peers
  87. ## VTS_VNI_RANGE: The range of VNI values the operator wants to use for the VXLAN encapsulated packets
  88. ## VTS_VTC_API_IP: The IP address of the VTC on the API network for external access
  89. ## VTS_NCS_IP: The IP address the VTF's will use to register. This is only required for EFT
  90. ## when the control components are installed outside of Mercury.
  91. ## These are the username and passwords for any switches that VTS will push config to
  92. ## vts components
  93. BL_SWITCH_PORT_NUMBER0: '<1/2>' # Required parameter only needed when VTS enabled
  94. BL_SWITCH_PORT_NUMBER1: '<1/2>' # Required parameter only needed when VTS enabled
  95. BL_SWITCH_USERNAME: '<switch_username>' # Required parameter only needed when VTS enabled
  96. BL_SWITCH_PASSWORD: '<switch_password>' # Required parameter only needed when VTS enabled
  97. BGP_ASN_NUMBER: '<bgp_asn_number>' # Required parameter when VTS is enabled
  98. BGP_LOOPBACK_NUM: '<bgp_loopback_num>' # Required parameter when VTS is enabled
  99. BGP_LOOPBACK_IP: '<bgp_loopback_ip>' # Required parameter when VTS is enabled
  100. VTS_VNI_RANGE: 1002:1004 # Required parameter when VTS is enabled
  101. VTS_VTC_API_IP: '<vtc_ip_on_api>' # Required parameter when VTS is enabled
  102. #TODO JAJ - remove VTS_NCS_IP after EFT
  103. VTS_NCS_IP: '<vts_ncs_ip>' # Optional required only for EFT
  104.  
  105. ## Define your networking.
  106. ## System level settings:
  107. ## domain_name:
  108. ## ntp_servers:
  109. ## domain_name_servers:
  110.  
  111. NETWORKING:
  112. domain_name: your.domain.com
  113. ## Max. NTP servers = 4
  114. ntp_servers:
  115. - 1.ntp.esl.cisco.com
  116. # max. DNS servers = 3
  117. domain_name_servers:
  118. - 171.70.168.183
  119. http_proxy_servers:
  120. - "proxy.esl.cisco.com:8080"
  121. https_proxy_servers:
  122. - "proxy.esl.cisco.com:8080"
  123.  
  124. networks:
  125. -
  126. vlan_id: 860
  127. subnet: 172.29.86.0/26
  128. gateway: 172.29.86.1
  129. segments:
  130. - api
  131. -
  132. vlan_id: 846
  133. ## Needs to be an external routable network
  134. subnet: 172.29.84.192/28
  135. gateway: 172.29.84.193
  136. pool:
  137. - 172.29.84.197 to 172.29.84.201
  138. segments:
  139. - management
  140. - provision
  141. -
  142. ## LinuxBridge-VxLAN / VTS-VXLAN requires valid VLAN-id
  143. ## OVS-VLAN requires VLAN-id as "None"
  144. vlan_id: 3001
  145. subnet: 169.254.0.0/16
  146. gateway: 192.254.0.1
  147. pool:
  148. - 169.254.0.3 to 169.254.255.254
  149. segments:
  150. - tenant
  151.  
  152. ## optional network 'provider", needs to be routable
  153. -
  154. vlan_id: 860
  155. segments:
  156. - provider
  157.  
  158.  
  159. ## Specify your server roles.
  160. ROLES:
  161. control:
  162. ## total of 3
  163. - control-server-1
  164. - control-server-2
  165. compute:
  166. ## min of 1
  167. - compute-server-1
  168. - compute-server-2
  169. ## block_storage:
  170. ## total of 3
  171. ## - storage-server-1
  172. ## - storage-server-2
  173. ## - storage-server-3
  174. ## object_storage:
  175. ## networker:
  176.  
  177.  
  178. ## Server common
  179. ## Provide the username (default: root)
  180. ## What is this 'root' username for'
  181. ## can this be changed to something different than 'root"
  182. SERVER_COMMON:
  183. server_username: root
  184.  
  185. ## Server information:
  186. ## The only two configuration items required are the
  187. ## 'cimc_ip' under 'cimc_info' and the 'rack_id' under 'rack_info'.
  188. ## The 'rack_id' is mandatory for control servers as it is used during service orchestration
  189. ## to place HA services on controllers in different Racks to provide redundancy.
  190. ##
  191. ## The following 'cimc_info' information is entirely optional.
  192. ## cimc_username, cimc_password, boot_drive
  193. ## Default boot drive is SDCARD (Flexflash)
  194. ## Default vnic_SLOT is the first slot in UCS
  195.  
  196. SERVERS:
  197. control-server-1:
  198. cimc_info: {'cimc_ip': '10.23.223.124’}
  199. rack_info: {'rack_id': 'RackA'}
  200.  
  201. control-server-2:
  202. cimc_info: {'cimc_ip': '10.23.223.125’}
  203. rack_info: {'rack_id': 'RackA'}
  204.  
  205. compute-server-1:
  206. cimc_info: {'cimc_ip': '10.23.223.126'}
  207. rack_info: {'rack_id': 'RackA'}
  208. compute-server-2:
  209. cimc_info: {'cimc_ip': '10.23.223.127'}
  210. rack_info: {'rack_id': 'RackA'}
  211.  
  212. ## .....
  213.  
  214. #####################################################
  215. # SECTION-2 : Openstack Installation Information.
  216. #####################################################
  217.  
  218. ## Admin Credentials.
  219. ADMIN_USER: admin
  220. ADMIN_TENANT_NAME: admin
  221. ADMIN_USER_PASSWORD: password
  222.  
  223. ###############################################
  224. # HA Proxy
  225. ################################################
  226. ## external_lb_vip_address has to be part of API subnet
  227. external_lb_vip_address: 172.29.86.52
  228. #external_lb_vip_fqdn: <host or DNS name matching external_lb_vip_address>
  229. VIRTUAL_ROUTER_ID: 52
  230. external_lb_vip_tls: False
  231. #external_lb_vip_tls: True
  232. #external_lb_vip_cert: /root/openstack-configs/haproxy.pem
  233. #external_lb_vip_cacert: /root/openstack-configs/haproxy-ca.crt
  234.  
  235. ## internal_lb_vip_address has to be part of mgmt/provision subnet
  236. ## and outside of the mgmt/provision IP pool defined in NETWORKING section
  237. internal_lb_vip_address: 172.29.84.202
  238.  
  239. #################################################
  240. # NEUTRON
  241. #################################################
  242.  
  243. # Note : use phys_ext as physical_network name when creating an external network
  244. ## Option 1: LinuxBridge-VXLAN
  245. MECHANISM_DRIVERS: linuxbridge
  246. TENANT_NETWORK_TYPES: "VXLAN"
  247.  
  248. # for Provider networks, just specifying the provider in the segments under
  249. # the NETWORKING section is enough.
  250. # Note : use phys_prov as physical_network name when creating a provider network
  251.  
  252. ## Option 2: OVS-VLAN
  253. #MECHANISM_DRIVERS: openvswitch
  254. #TENANT_NETWORK_TYPES: "VLAN"
  255.  
  256. # For Tenant VLAN range, list of ranges separated by comma of form start:end
  257. # is given
  258. # TENANT_VLAN_RANGES: 1002:1004,2003:2005
  259.  
  260. ## Option 3: VTS-VXLAN
  261. # Note: The MECHANISM_DRIVERS setting is used to enable the usage scenario for
  262. # the Cisco Virtual Topology System (VTS). It does not configure the
  263. # the actual values used for the Neutron ML2 mechanism_drivers setting.
  264. # As a result of setting this value to 'vts', the appropriate settings
  265. # will be configured for the VTS solution. VTS requires
  266. # TENANT_NETWORK_TYPES to be VLAN even though they run VXLAN.
  267. #MECHANISM_DRIVERS: vts
  268. #TENANT_NETWORK_TYPES: "VLAN"
  269.  
  270. # for Provider networks, just specifying the provider in the segments under
  271. # the NETWORKING section is enough.
  272. # Note : use phys_prov as physical_network name when creating a provider network
  273.  
  274. #################################################
  275. # Glance
  276. #################################################
  277.  
  278. ## Glance store Configuration
  279. ## STORE_BACKEND must be set to ceph
  280. STORE_BACKEND: ceph
  281. GLANCE_RBD_POOL: images # This depends on the pool reserved for images on your ceph cluster
  282. GLANCE_CLIENT_KEY: AQBATEVVYFUDFRAArbWAL5BN4yTJGdKPVwVs+A==
  283.  
  284. #################################################
  285. # CINDER
  286. #################################################
  287.  
  288. ## Cinder Volume choice
  289. ## VOLUME_DRIVER must be ceph
  290. VOLUME_DRIVER: ceph
  291. CINDER_RBD_POOL: volumes # This depends on the pool reserved for volumes on your ceph cluster
  292. CINDER_CLIENT_KEY: AQAoTEVVMAErAxAAwxV7/dJvc+pBQRho7Ui0Bg==
  293.  
  294. #################################################
  295. # Centralized CEPH
  296. ##################################################
  297. ## These properties will be used by either glance or cinder playbooks if ceph is
  298. ## selected as backend store. The decision to select ceph for either glance or cinder
  299. ## can be made independent.
  300. ## Below configs not required for dedicated ceph
  301. CLUSTER_ID: e2a597ff-105d-4266-b322-4887ff19212a # Centralized Ceph cluster ID
  302. MON_HOSTS: 172.29.74.26,172.29.74.27 # Comma separated list of monitor IPs
  303. MON_MEMBERS: sj19-lab-ceph01,sj19-lab-ceph02 # Comma separated list of monitor hostnames
  304. SECRET_UUID: 01caf8ee-21d9-4486-84fd-79b353270b56
  305. NOVA_RBD_POOL: vms
  306.  
  307. #############################################
  308. # NFV Hosts
  309. #############################################
  310. ## CPU Pinning and Huge Page support will be enabled on the hosts defined below.
  311. ## Note: Use special word "ALL" (case insensitive) to configure all compute nodes
  312. ## as NFV Hosts.
  313. ## The VTS option requires NFV_HOSTS: ALL
  314. #NFV_HOSTS: ALL
  315. #NFV_HOSTS: ['compute-server-1']
  316.  
  317. ##############################################
  318. # VM Throughput Validation
  319. ##############################################
  320. ## VMTP Configuration is optional. Needed only if VMTP run is executed
  321. VMTP_VALIDATION:
  322. EXT_NET:
  323. NET_NAME: external
  324. NET_SUBNET: 172.29.84.208/28
  325. NET_IP_START: 172.29.84.212
  326. NET_IP_END: 172.29.84.222
  327. NET_GATEWAY: 172.29.84.209
  328. DNS_SERVER: 171.70.168.183
  329.  
  330. ## Optional Services:
  331. ## Provide a list as appropriate
  332. #OPTIONAL_SERVICE_LIST:
  333. # - heat
  334. # - cloudpulse
  335.  
  336. NUMA_SUPPORT: False
  337.  
  338.  
  339. ###################################
  340. ## NFVIMON Info
  341. ## NFVIMON config is optional, only needed when customer has NFVIMON
  342. ###################################
  343. #PODNAME: <PODNAME: No space allowed>
  344.  
  345. #NFVIMON:
  346. # image: <nfvimon image path in build node>
  347. # MASTER:
  348. # hostname: <nfvimon master hostname>
  349. # password: <nfvimon master password>
  350. # admin_ip: <nfvimon master admin_ip>
  351. # WORKER:
  352. # hostname: <nfvimon worker hostname>
  353. # password: <nfvimon worker password>
  354. # admin_ip: <nfvimon worker admin_ip>
  355. # management_ip: <nfvimon worker management_ip>
  356. # DISPATCHER:
  357. # rabbitmq_username: <nfvimon rabbitmq username>
  358.  
  359. ######Optional only needed when NFVIMON is there
  360. #TORSWITCHINFO:
  361. # TORSWITCHA:
  362. # hostname: <TOR switch A hostname>
  363. # username: <TOR switch A username>
  364. # password: <TOR switch A password>
  365. # ssh_ip: <TOR switch A ssh ip>
  366. # ssn_num: <TOR switch A ssn num>
  367.  
  368. # TORSWITCHB:
  369. # hostname: <TOR switch B hostname>
  370. # username: <TOR switch B username>
  371. # password: <TOR switch B password>
  372. # ssh_ip: <TOR switch B ssh ip>
  373. # ssn_num: <TOR switch B ssn num>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement