Advertisement
Guest User

xsdeploy.conf

a guest
Apr 7th, 2016
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.70 KB | None | 0 0
  1. ##############################################################################
  2. #
  3. # xsDeploy AIO Configuration Template
  4. #
  5. # This template can be used with xsDeploy to deploy a High Availability (HA)
  6. # xStream instance with an external Active Directory (AD) identity service.
  7. # Each primary section is lists required, optional, and advanced configuration
  8. # options where available.
  9. #
  10. # For a basic installation from scratch, configure:
  11. #
  12. # xsDeploy Configuration --> Required Parameters
  13. # xStream Environment Configuration --> Required Parameters
  14. #
  15. # xsDeploy requires a target vCenter instance for use with the deployed
  16. # xStream environment. xStream further requires an AD/LDAP infrastructure for
  17. # identity management. xsDeploy provides options for integrating with an
  18. # existing Active Directory/LDAP infrastructure or deploying an embedded
  19. # OpenLDAP server.
  20. #
  21.  
  22. ##############################################################################
  23. #
  24. # xsDeploy Configuration
  25. #
  26.  
  27. [xsdeploy]
  28.  
  29. #
  30. # Required Parameters
  31. #
  32.  
  33. SSHPASS='Acit2015!'
  34. REPO='https://yum:jens7iNs@downloadxstream.virtustream.com/ZXZhbAo/' ### PROVIDE REPOSITORY INFORMATION ###
  35. RELEASE='4.1.0' ### PROVIDE RELEASE TAG ###
  36. DOMAIN=""
  37. ENV_ID='__RANDOM__'
  38.  
  39. # Component host IP addresses;
  40. # Hosts are installed in order they are defined in an array.
  41. # Mongo slaves must be installed first so master is last server in an array!
  42. # For PostgreSQL servers explicit server role is specified after a comma.
  43. # Role may be warehouses for xOpt (vs_data_wh) or BPM (bpm_wh).
  44. # Other hosts will have they role assigned according to the group.
  45. # Servers with multiple roles must be explicitly listed in multiple groups.
  46. MONGO_HOSTS="10.1.100.21,10.1.100.20,10.1.100.19"
  47. PGSQL_HOSTS="10.1.100.24:vs_data_wh,10.1.100.25:bpm_wh"
  48. RMQ_HOSTS="10.1.100.28,10.1.100.29"
  49. HAP_HOSTS="10.1.100.17,10.1.100.18"
  50. RID_HOSTS="10.1.100.26,10.1.100.27"
  51. APP_HOSTS="10.1.100.30,10.1.100.31"
  52. UI_HOSTS="10.1.100.32,10.1.100.33"
  53. CONSOLE_HOSTS="10.1.100.15,10.1.100.16"
  54.  
  55.  
  56. # Component host names;
  57. # Hosts are installed in order they are defined in an array.
  58. # Mongo slaves must be installed first so master is last server in an array!
  59. MONGO_NAMES="MENASA014MDB003,MENASA014MDB002,MENASA014MDB001"
  60. PGSQL_NAMES="MENASA014PGS001,MENASA014PGS002"
  61. RMQ_NAMES="MENASA014RMQ001,MENASA014RMQ002"
  62. HAP_NAMES="MENASA014HAP001,MENASA014HAP002"
  63. RID_NAMES="MENASA014RID001,MENASA014RID002"
  64. APP_NAMES="MENASA014XAP001,MENASA014XAP002"
  65. UI_NAMES="MENASA014XWS001,MENASA014XWS001"
  66. CONSOLE_NAMES="MENASA014CON001,MENASA014CON002"
  67.  
  68. #
  69. # Optional Parameters
  70. #
  71. ### If START_INSTALL is set to False -s y parameter must be used.
  72. START_INSTALL=True
  73. ### If GENERATE_YAML is set to False -g y parameter must be used
  74. ### to refresh dynamic configuration files.
  75. GENERATE_YAML=True
  76. INSTALL=False ### -i parameter activates install
  77. UPGRADE=False ### -i parameter activates upgrade
  78. FORCE_UPGRADE=False
  79. UPDATE_XS=False ### --update_xs activates xStream package update
  80. UPDATE_OS=False ### --update_os parameter full OS package update, including xStream
  81.  
  82. USE_SSHPASS=True
  83. LEAVE_SSH_KEYS=True
  84.  
  85. VERBOSITY='info' ### Update to debug for troubleshooting purposes. Will create LOTS of output!
  86. PUPPET_RELEASE='http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm'
  87. PUPPET_APPLY_OPTIONS=''
  88. EPEL_RELEASE='epel-release-6-8.noarch.rpm'
  89. EPEL_REPO='http://dl.fedoraproject.org/pub/epel/6/x86_64/'
  90. PREREQ_PKGS='openssh-clients puppet'
  91. LOCAL_PREREQ_PKGS='wget openssh-clients fabric python-argparse'
  92. SAVE_CONFIG=False
  93. WORKDIR='.'
  94.  
  95. #
  96. # Advanced Parameters
  97. #
  98.  
  99. AIO=False
  100. #OLD_RELEASE=""
  101. USE_STATIC_HOSTS=True
  102. AIO_HOST=""
  103. AIO_NAME=""
  104. LDAP_HOSTS=""
  105. LDAP_NAMES=""
  106.  
  107. FORCE_HOSTNAME=False
  108. FORCE_RESOLVER=False
  109. FORCE_PREINSTALL=False
  110. FORCE_EXCHANGE=False
  111.  
  112. ##############################################################################
  113. #
  114. # xStream Environment Configuration
  115. #
  116.  
  117. [xscommon]
  118.  
  119. #
  120. # Required Parameters
  121. #
  122.  
  123. # Master password for various service user accounts used internally by the xStream.
  124. # Separate account passwords can be customized by setting an adcanced section variable.
  125. install__master_pwd = 'Password1'
  126.  
  127. #
  128. # vCenter connection information
  129.  
  130. vs_xstream__vc_host = '10.1.21.20' ### PROVIDE THE VCENTER HOST IP ADDRESS ###
  131. vs_xstream__vc_admin = 'administrator@vsphere.local' ### PROVIDE A VCENTER ADMIN ACCOUNT USER NAME ###
  132. vs_xstream__vc_password = 'Acit2015!' ### PROVIDE A VCENTER ADMIN ACCOUNT PASSWORD ###
  133.  
  134. # xsDeploy supports integration with an existing Active Directory
  135. # infrastructure or the deployment of an OpenLDAP instance for
  136. # managing identity. To use an existing AD infrastructure, configure
  137. # the variables in the AD configuration section below. To deploy
  138. # and use an embedded OpenLDAP server, set the vs_xstream__openldap_conn
  139. # variable to True, comment the variables in the AD section below, and
  140. # uncomment and configure the variable in the OpenLDAP configuration section.
  141.  
  142. vs_xstream__ad_host = '10.1.100.11' ### PROVIDE THE AD IDENTITY SERVICE IP ADDRESS ###
  143.  
  144. # Due to limitation in the current implementation, xsDeploy still requires
  145. # plain-text password values for some accounts, even if SHA hashes of each
  146. # LDAP/AD password is provided.
  147. # This applies to the following accounts:
  148. # vs_xstream__ad_admin, vs_xstream__admin_user_name, vs_xstream__config_user, vs_xstream__rid_admin
  149. # vs_ldap__ldap_root
  150. vs_xstream__ad_ou = 'OU=Users,OU=vsmena,OU=Customers,DC=vsmena,DC=cloud'
  151. vs_xstream__ad_admin = '!portal_ad'
  152. vs_xstream__ad_domain = 'vsmena.cloud'
  153. vs_xstream__ad_password = 'Password1'
  154. vs_xstream__ad_search = 'OU=Customers,DC=vsmena,DC=cloud'
  155. vs_xstream__ad_secure = True
  156.  
  157. #
  158. # Required configuration parameters for internal OpenLDAP server configuration
  159.  
  160. # Set to False if external LDAP/AD identity service is to be used.
  161. vs_ldap__openldap_on_aio = False
  162. vs_xstream__openldap_conn = False
  163.  
  164. #
  165. # xStream configuration parameters
  166.  
  167. vs_xstream__config_user = '1a@vsmena.cloud'
  168. vs_xstream__config_pass = 'Password1'
  169. vs_xstream__admin_user_name = '1a@vsmena.cloud'
  170. vs_xstream__admin_user_pass = 'Password1'
  171.  
  172. vs_xstream__rid_admin = '!portal_resourceid'
  173. vs_xstream__rid_domain = 'vsmena.cloud'
  174. vs_xstream__rid_password = 'Password1'
  175. vs_xstream__rid_path = 'resourceIdManagement'
  176. vs_xstream__rid_customer = 'A001'
  177. vs_xstream__rid_location = '01' # RID location is limited to two characters only!
  178. vs_xstream__rid_country = 'SA'
  179.  
  180. vs_xstream__srv_req_mail = 'root@xs.vsmena.cloud'
  181. vs_xstream__tenant_name = 'VSMENA'
  182. vs_xstream__region_name = 'DR'
  183. vs_xstream__region_code = '1'
  184. vs_xstream__site_name = 'DRDC'
  185. vs_xstream__site_code = '1'
  186. vs_xstream__hypervisor_name = 'DRDC1'
  187. vs_xstream__hypervisor_code = '1'
  188.  
  189. vs_xstream__smtp = '127.0.0.1'
  190. # Do not set vs_resolver__domain_name_servers variable unless you want to trigger /etc/resolv.conf update!
  191. # File will be overwritten with below defined values.
  192. #vs_resolver__domain_name_servers = [ '8.8.8.8', '8.8.4.4' ]
  193. #vs_resolver__domain_search = [ 'xsportal.local' ]
  194. #vs_resolver__domain_name = [ 'xsportal.local' ]
  195.  
  196. #
  197. # Optional Parameters
  198. #
  199.  
  200. vs_datawarehouse__do_install = True
  201.  
  202. # Customize component credentials by uncommenting the parameters below; these
  203. # credentials will override the value defined in install__master_pwd.
  204.  
  205. #install__mongo_admin_pwd =
  206. #install__mongo_localuser_pwd =
  207. #install__mongo_xstreamuser_pwd =
  208. #install__mongo_riduser_pwd =
  209. #install__rabbit_admin_pwd =
  210. #install__vs_data_wh_pentaho_pwd =
  211. #install__vs_data_wh_xstream_ro_pwd =
  212.  
  213. ##############################################################################
  214. #
  215. # Certificate Configuration (Optional)
  216. #
  217.  
  218. # If you want to use statically generated SSL certificates set vs_xstream__cert_file_key
  219. # variable below to False and insert BASE64 encoded PRIVATE KEY and CERTIFICATE content
  220. # into vs_xstream__cert_file_key and vs_xstream__cert_file_crt apropriately.
  221. vs_xstream__cert_generate = True
  222.  
  223. vs_xstream__cert_file_key =
  224. -----BEGIN PRIVATE KEY-----
  225. BASE64 encoded PRIVATE KEY content
  226. -----END PRIVATE KEY-----
  227.  
  228. vs_xstream__cert_file_crt =
  229. -----BEGIN CERTIFICATE-----
  230. BASE64 encoded CERTIFICATE content
  231. -----END CERTIFICATE-----
  232.  
  233.  
  234.  
  235. ##############################################################################
  236. #
  237. # Unused Roles, can be omitted.
  238. #
  239.  
  240. [role-ui]
  241. [role-mongodb]
  242. [role-rabbitmq]
  243. [host-aio]
  244. [host-ldap1]
  245. [host-ldap2]
  246. [host-app1]
  247. [host-app2]
  248. [host-hap1]
  249. [host-hap2]
  250. [host-mdb1]
  251. [host-mdb2]
  252. [host-mdb3]
  253. [host-rid1]
  254. [host-rid2]
  255. [host-rmq1]
  256. [host-rmq2]
  257. [host-web1]
  258. [host-web2]
  259. [host-con1]
  260. [host-con2]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement