Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##############################################################################
- #
- # xsDeploy AIO Configuration Template
- #
- # This template can be used with xsDeploy to deploy a High Availability (HA)
- # xStream instance with an external Active Directory (AD) identity service.
- # Each primary section is lists required, optional, and advanced configuration
- # options where available.
- #
- # For a basic installation from scratch, configure:
- #
- # xsDeploy Configuration --> Required Parameters
- # xStream Environment Configuration --> Required Parameters
- #
- # xsDeploy requires a target vCenter instance for use with the deployed
- # xStream environment. xStream further requires an AD/LDAP infrastructure for
- # identity management. xsDeploy provides options for integrating with an
- # existing Active Directory/LDAP infrastructure or deploying an embedded
- # OpenLDAP server.
- #
- ##############################################################################
- #
- # xsDeploy Configuration
- #
- [xsdeploy]
- #
- # Required Parameters
- #
- SSHPASS='Acit2015!'
- REPO='https://yum:jens7iNs@downloadxstream.virtustream.com/ZXZhbAo/' ### PROVIDE REPOSITORY INFORMATION ###
- RELEASE='4.1.0' ### PROVIDE RELEASE TAG ###
- DOMAIN=""
- ENV_ID='__RANDOM__'
- # Component host IP addresses;
- # Hosts are installed in order they are defined in an array.
- # Mongo slaves must be installed first so master is last server in an array!
- # For PostgreSQL servers explicit server role is specified after a comma.
- # Role may be warehouses for xOpt (vs_data_wh) or BPM (bpm_wh).
- # Other hosts will have they role assigned according to the group.
- # Servers with multiple roles must be explicitly listed in multiple groups.
- MONGO_HOSTS="10.1.100.21,10.1.100.20,10.1.100.19"
- PGSQL_HOSTS="10.1.100.24:vs_data_wh,10.1.100.25:bpm_wh"
- RMQ_HOSTS="10.1.100.28,10.1.100.29"
- HAP_HOSTS="10.1.100.17,10.1.100.18"
- RID_HOSTS="10.1.100.26,10.1.100.27"
- APP_HOSTS="10.1.100.30,10.1.100.31"
- UI_HOSTS="10.1.100.32,10.1.100.33"
- CONSOLE_HOSTS="10.1.100.15,10.1.100.16"
- # Component host names;
- # Hosts are installed in order they are defined in an array.
- # Mongo slaves must be installed first so master is last server in an array!
- MONGO_NAMES="MENASA014MDB003,MENASA014MDB002,MENASA014MDB001"
- PGSQL_NAMES="MENASA014PGS001,MENASA014PGS002"
- RMQ_NAMES="MENASA014RMQ001,MENASA014RMQ002"
- HAP_NAMES="MENASA014HAP001,MENASA014HAP002"
- RID_NAMES="MENASA014RID001,MENASA014RID002"
- APP_NAMES="MENASA014XAP001,MENASA014XAP002"
- UI_NAMES="MENASA014XWS001,MENASA014XWS001"
- CONSOLE_NAMES="MENASA014CON001,MENASA014CON002"
- #
- # Optional Parameters
- #
- ### If START_INSTALL is set to False -s y parameter must be used.
- START_INSTALL=True
- ### If GENERATE_YAML is set to False -g y parameter must be used
- ### to refresh dynamic configuration files.
- GENERATE_YAML=True
- INSTALL=False ### -i parameter activates install
- UPGRADE=False ### -i parameter activates upgrade
- FORCE_UPGRADE=False
- UPDATE_XS=False ### --update_xs activates xStream package update
- UPDATE_OS=False ### --update_os parameter full OS package update, including xStream
- USE_SSHPASS=True
- LEAVE_SSH_KEYS=True
- VERBOSITY='info' ### Update to debug for troubleshooting purposes. Will create LOTS of output!
- PUPPET_RELEASE='http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm'
- PUPPET_APPLY_OPTIONS=''
- EPEL_RELEASE='epel-release-6-8.noarch.rpm'
- EPEL_REPO='http://dl.fedoraproject.org/pub/epel/6/x86_64/'
- PREREQ_PKGS='openssh-clients puppet'
- LOCAL_PREREQ_PKGS='wget openssh-clients fabric python-argparse'
- SAVE_CONFIG=False
- WORKDIR='.'
- #
- # Advanced Parameters
- #
- AIO=False
- #OLD_RELEASE=""
- USE_STATIC_HOSTS=True
- AIO_HOST=""
- AIO_NAME=""
- LDAP_HOSTS=""
- LDAP_NAMES=""
- FORCE_HOSTNAME=False
- FORCE_RESOLVER=False
- FORCE_PREINSTALL=False
- FORCE_EXCHANGE=False
- ##############################################################################
- #
- # xStream Environment Configuration
- #
- [xscommon]
- #
- # Required Parameters
- #
- # Master password for various service user accounts used internally by the xStream.
- # Separate account passwords can be customized by setting an adcanced section variable.
- install__master_pwd = 'Password1'
- #
- # vCenter connection information
- vs_xstream__vc_host = '10.1.21.20' ### PROVIDE THE VCENTER HOST IP ADDRESS ###
- vs_xstream__vc_admin = 'administrator@vsphere.local' ### PROVIDE A VCENTER ADMIN ACCOUNT USER NAME ###
- vs_xstream__vc_password = 'Acit2015!' ### PROVIDE A VCENTER ADMIN ACCOUNT PASSWORD ###
- # xsDeploy supports integration with an existing Active Directory
- # infrastructure or the deployment of an OpenLDAP instance for
- # managing identity. To use an existing AD infrastructure, configure
- # the variables in the AD configuration section below. To deploy
- # and use an embedded OpenLDAP server, set the vs_xstream__openldap_conn
- # variable to True, comment the variables in the AD section below, and
- # uncomment and configure the variable in the OpenLDAP configuration section.
- vs_xstream__ad_host = '10.1.100.11' ### PROVIDE THE AD IDENTITY SERVICE IP ADDRESS ###
- # Due to limitation in the current implementation, xsDeploy still requires
- # plain-text password values for some accounts, even if SHA hashes of each
- # LDAP/AD password is provided.
- # This applies to the following accounts:
- # vs_xstream__ad_admin, vs_xstream__admin_user_name, vs_xstream__config_user, vs_xstream__rid_admin
- # vs_ldap__ldap_root
- vs_xstream__ad_ou = 'OU=Users,OU=vsmena,OU=Customers,DC=vsmena,DC=cloud'
- vs_xstream__ad_admin = '!portal_ad'
- vs_xstream__ad_domain = 'vsmena.cloud'
- vs_xstream__ad_password = 'Password1'
- vs_xstream__ad_search = 'OU=Customers,DC=vsmena,DC=cloud'
- vs_xstream__ad_secure = True
- #
- # Required configuration parameters for internal OpenLDAP server configuration
- # Set to False if external LDAP/AD identity service is to be used.
- vs_ldap__openldap_on_aio = False
- vs_xstream__openldap_conn = False
- #
- # xStream configuration parameters
- vs_xstream__config_user = '1a@vsmena.cloud'
- vs_xstream__config_pass = 'Password1'
- vs_xstream__admin_user_name = '1a@vsmena.cloud'
- vs_xstream__admin_user_pass = 'Password1'
- vs_xstream__rid_admin = '!portal_resourceid'
- vs_xstream__rid_domain = 'vsmena.cloud'
- vs_xstream__rid_password = 'Password1'
- vs_xstream__rid_path = 'resourceIdManagement'
- vs_xstream__rid_customer = 'A001'
- vs_xstream__rid_location = '01' # RID location is limited to two characters only!
- vs_xstream__rid_country = 'SA'
- vs_xstream__srv_req_mail = 'root@xs.vsmena.cloud'
- vs_xstream__tenant_name = 'VSMENA'
- vs_xstream__region_name = 'DR'
- vs_xstream__region_code = '1'
- vs_xstream__site_name = 'DRDC'
- vs_xstream__site_code = '1'
- vs_xstream__hypervisor_name = 'DRDC1'
- vs_xstream__hypervisor_code = '1'
- vs_xstream__smtp = '127.0.0.1'
- # Do not set vs_resolver__domain_name_servers variable unless you want to trigger /etc/resolv.conf update!
- # File will be overwritten with below defined values.
- #vs_resolver__domain_name_servers = [ '8.8.8.8', '8.8.4.4' ]
- #vs_resolver__domain_search = [ 'xsportal.local' ]
- #vs_resolver__domain_name = [ 'xsportal.local' ]
- #
- # Optional Parameters
- #
- vs_datawarehouse__do_install = True
- # Customize component credentials by uncommenting the parameters below; these
- # credentials will override the value defined in install__master_pwd.
- #install__mongo_admin_pwd =
- #install__mongo_localuser_pwd =
- #install__mongo_xstreamuser_pwd =
- #install__mongo_riduser_pwd =
- #install__rabbit_admin_pwd =
- #install__vs_data_wh_pentaho_pwd =
- #install__vs_data_wh_xstream_ro_pwd =
- ##############################################################################
- #
- # Certificate Configuration (Optional)
- #
- # If you want to use statically generated SSL certificates set vs_xstream__cert_file_key
- # variable below to False and insert BASE64 encoded PRIVATE KEY and CERTIFICATE content
- # into vs_xstream__cert_file_key and vs_xstream__cert_file_crt apropriately.
- vs_xstream__cert_generate = True
- vs_xstream__cert_file_key =
- -----BEGIN PRIVATE KEY-----
- BASE64 encoded PRIVATE KEY content
- -----END PRIVATE KEY-----
- vs_xstream__cert_file_crt =
- -----BEGIN CERTIFICATE-----
- BASE64 encoded CERTIFICATE content
- -----END CERTIFICATE-----
- ##############################################################################
- #
- # Unused Roles, can be omitted.
- #
- [role-ui]
- [role-mongodb]
- [role-rabbitmq]
- [host-aio]
- [host-ldap1]
- [host-ldap2]
- [host-app1]
- [host-app2]
- [host-hap1]
- [host-hap2]
- [host-mdb1]
- [host-mdb2]
- [host-mdb3]
- [host-rid1]
- [host-rid2]
- [host-rmq1]
- [host-rmq2]
- [host-web1]
- [host-web2]
- [host-con1]
- [host-con2]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement