本文主要包含openstack rdo,openstack packstack,rdo,rdo远程桌面管理工具,rdo是什么意思等服务器相关知识,网友希望可以进行参考
Centos一键部署openstack RDO packstack
今天帮人部署,就写了个文档总结一下整个流程。
1.使用之前需要确认:硬件:6GB RAM或以上网络设置:[html]view plaincopy- $sudosystemctldisablefirewalld
- $sudosystemctlstopfirewalld
- $sudosystemctldisableNetworkManager
- $sudosystemctlstopNetworkManager
- $sudosystemctlenablenetwork
- $sudosystemctlstartnetwork
[python]view plaincopy
- $sudoyuminstallntp
配置环境变量
[html]view plaincopy
- $vim~/.bash_profile
- /etc/environment
添加如下配置到系统环境
[csharp]view plaincopy
- LANG=en_US.utf-8
- LC_ALL=en_US.utf-8
- $sudoyuminstall-ycentos-release-openstack-ocata
- sudoyuminstall-ycentos-release-openstack-mitaka
- 更新
- $sudoyumupdate-y
[html]view plaincopy
- $sudoyuminstall-yopenstack-packstack
- $sudopackstack--allinone
补充:也可以使用自己定义的文件:[html] view plain copy
- #EntertheselfsignedCAcertsubjectcommonname.
- CONFIG_SELFSIGN_CACERT_SUBJECT_CN=kube-os-m
- CONFIG_SELFSIGN_CACERT_SUBJECT_MAIL=admin@kube-os-m
- #ServicetobeusedastheAMQPbroker.Allowedvaluesare:rabbitmq
- #['rabbitmq']
- CONFIG_AMQP_BACKEND=rabbitmq
- #IPaddressoftheserveronwhichtoinstalltheAMQPservice.
- CONFIG_AMQP_HOST=192.168.57.166
- #Specify'y'toenableSSLfortheAMQPservice.['y','n']
- CONFIG_AMQP_ENABLE_SSL=n
- #Specify'y'toenableauthenticationfortheAMQPservice.['y',
- #'n']
- CONFIG_AMQP_ENABLE_AUTH=n
- #PasswordfortheNSScertificatedatabaseoftheAMQPservice.
- CONFIG_AMQP_NSS_CERTDB_PW=PW_PLACEHOLDER
- #UserforAMQPauthentication.
- CONFIG_AMQP_AUTH_USER=amqp_user
- #PasswordforAMQPauthentication.
- CONFIG_AMQP_AUTH_PASSWORD=PW_PLACEHOLDER
- #IPaddressoftheserveronwhichtoinstallMariaDB.IfaMariaDB
- #installationwasnotspecifiedinCONFIG_MARIADB_INSTALL,specify
- #theIPaddressofanexistingdatabaseserver(aMariaDBclustercan
- #alsobespecified).
- CONFIG_MARIADB_HOST=192.168.57.166
- #UsernamefortheMariaDBadministrativeuser.
- CONFIG_MARIADB_USER=root
- #PasswordfortheMariaDBadministrativeuser.
- CONFIG_MARIADB_PW=281fc220d9a344ab
- #PasswordtousefortheIdentityservice(keystone)toaccessthe
- #database.
- CONFIG_KEYSTONE_DB_PW=9c794805486d40f7
- #EnteryifcronjobforremovingsoftdeletedDBrowsshouldbe
- #created.
- CONFIG_KEYSTONE_DB_PURGE_ENABLE=True
- #DefaultregionnametousewhencreatingtenantsintheIdentity
- #service.
- CONFIG_KEYSTONE_REGION=RegionOne
- #TokentousefortheIdentityserviceAPI.
- CONFIG_KEYSTONE_ADMIN_TOKEN=0f3a77ed3fc34b78b4087ff44673c322
- #EmailaddressfortheIdentityservice'admin'user.Defaultsto
- CONFIG_KEYSTONE_ADMIN_EMAIL=root@localhost
- #UsernamefortheIdentityservice'admin'user.Defaultsto
- #'admin'.
- CONFIG_KEYSTONE_ADMIN_USERNAME=admin
- #PasswordtousefortheIdentityservice'admin'user.
- CONFIG_KEYSTONE_ADMIN_PW=cf3b1ac5fedc4e25
- #PasswordtousefortheIdentityservice'demo'user.
- CONFIG_KEYSTONE_DEMO_PW=45443be22c714b69
- #IdentityserviceAPIversionstring.['v2.0','v3']
- CONFIG_KEYSTONE_API_VERSION=v2.0
- #Identityservicetokenformat(UUIDorPKI).Therecommendedformat
- #fornewdeploymentsisUUID.['UUID','PKI']
- CONFIG_KEYSTONE_TOKEN_FORMAT=UUID
- #NameofservicetousetoruntheIdentityservice(keystoneor
- #httpd).['keystone','httpd']
- CONFIG_KEYSTONE_SERVICE_NAME=httpd
- #TypeofIdentityservicebackend(sqlorldap).['sql','ldap']
- CONFIG_KEYSTONE_IDENTITY_BACKEND=sql
- #URLfortheIdentityserviceLDAPbackend.
- CONFIG_KEYSTONE_LDAP_URL=ldap://192.168.57.166
- #UserDNfortheIdentityserviceLDAPbackend.Usedtobindtothe
- #LDAPserveriftheLDAPserverdoesnotallowanonymous
- #authentication.
- CONFIG_KEYSTONE_LDAP_USER_DN=
- #UserDNpasswordfortheIdentityserviceLDAPbackend.
- CONFIG_KEYSTONE_LDAP_USER_PASSWORD=
- #BasesuffixfortheIdentityserviceLDAPbackend.
- CONFIG_KEYSTONE_LDAP_SUFFIX=
- #QueryscopefortheIdentityserviceLDAPbackend.Use'one'for
- #onelevel/singleLevelor'sub'forsubtree/wholeSubtree('base'is
- #notactuallyusedbytheIdentityserviceandistherefore
- #deprecated).['base','one','sub']
- CONFIG_KEYSTONE_LDAP_QUERY_SCOPE=one
- #QuerypagesizefortheIdentityserviceLDAPbackend.
- CONFIG_KEYSTONE_LDAP_PAGE_SIZE=-1
- #UsersubtreefortheIdentityserviceLDAPbackend.
- CONFIG_KEYSTONE_LDAP_USER_SUBTREE=
- #UserqueryfilterfortheIdentityserviceLDAPbackend.
- CONFIG_KEYSTONE_LDAP_USER_FILTER=
- #UserobjectclassfortheIdentityserviceLDAPbackend.
- CONFIG_KEYSTONE_LDAP_USER_OBJECTCLASS=
- #UserIDattributefortheIdentityserviceLDAPbackend.
- CONFIG_KEYSTONE_LDAP_USER_ID_ATTRIBUTE=
- #UsernameattributefortheIdentityserviceLDAPbackend.
- CONFIG_KEYSTONE_LDAP_USER_NAME_ATTRIBUTE=
- #UseremailaddressattributefortheIdentityserviceLDAPbackend.
- CONFIG_KEYSTONE_LDAP_USER_MAIL_ATTRIBUTE=
- #User-enabledattributefortheIdentityserviceLDAPbackend.
- CONFIG_KEYSTONE_LDAP_USER_ENABLED_ATTRIBUTE=
- #Bitmaskintegerappliedtouser-enabledattributefortheIdentity
- #serviceLDAPbackend.Indicatethebitthattheenabledvalueis
- #storediniftheLDAPserverrepresents"enabled"asabitonan
- #integerratherthanaboolean.Avalueof"0"indicatesthemaskis
- #notused(default).Ifthisisnotsetto"0&quo

