현재 Oracle Solaris 릴리스로 업그레이드한 후 나머지 단계를 수행하여 OpenStack Kilo로의 업그레이드를 완료합니다.
평가를 위한 단일 노드 OpenStack 구성이 있음
Horizon 구성에서 SSL을 사용하지 않음
다음 예를 참조하십시오.
# SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https') # CSRF_COOKIE_SECURE = True # SESSION_COOKIE_SECURE = True
사용 중인 프로토콜에 해당하는 샘플 단편만 복사해야 합니다. 다음 명령 중 하나를 실행합니다.
HTTP를 사용 중인 경우 다음과 같이 합니다.
# cp /etc/apache2/2.4/samples-conf.d/openstack-dashboard-http.conf /etc/apache2/2.4/conf.d
TLS를 사용 중인 경우 다음과 같이 합니다.
# cp /etc/apache2/2.4/samples-conf.d/openstack-dashboard-tls.conf /etc/apache2/2.4/conf.d
% FHC read buffer has been disabled by default in later versions of %RabbitMQ. [ {rabbit, [ {fhc_read_buffering, false}, {loopback_users, []} ]} ].
Keystone이 실행 중인 노드에서 다음 단계를 수행합니다. 샘플 출력은 실행하는 각 명령에 대해 포함되어 있습니다.
controller# openstack --os-url http://$CONTROLLER_ADMIN_NODE:35357/v2.0 \ --os-token ADMIN \ service create --name cinderv2 \ --description "Cinder Volume Service v2" volumev2 +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | Cinder Volume Service v2 | | enabled | True | | id | 2ee6fefbdcdc4f06bcb0e36e0e4dd9c3 | | name | cinderv2 | | type | volumev2 | +-------------+----------------------------------+
controller# openstack --os-url http://$CONTROLLER_ADMIN_NODE:35357/v2.0 \ --os-token ADMIN endpoint create \ --region RegionOne \ --publicurl "http://$CONTROLLER_ADMIN_NODE:8776/v2/\$(tenant_id)s" \ --adminurl "http://$CONTROLLER_ADMIN_NODE:8776/v2/\$(tenant_id)s" \ --internalurl "http://$CONTROLLER_ADMIN_NODE:8776/v2/\$(tenant_id)s" cinderv2 +--------------+------------------------------------------+ | Field | Value | +--------------+------------------------------------------+ | adminurl | http://controller-node:8776/v2/$(tenant_id)s | | id | 1b8cd962b12342429cdedb0c7e5d0440 | | internalurl | http://controller-node:8776/v2/$(tenant_id)s | | publicurl | http://controller-node:8776/v2/$(tenant_id)s | | region | RegionOne | | service_id | 2ee6fefbdcdc4f06bcb0e36e0e4dd9c3 | | service_name | cinderv2 | | service_type | volumev2 | +--------------+------------------------------------------+
controller# openstack --os-url http://$CONTROLLER_ADMIN_NODE:35357/v2.0 --os-token ADMIN endpoint list +----------------------------------+-----------+--------------+----------------+ | ID | Region | Service Name | Service Type | +----------------------------------+-----------+--------------+----------------+ | 6891354066f84268968c8498f5f6d51b | RegionOne | neutron | network | | 03121908d41e4efa98748fde8ca6d057 | RegionOne | heat | orchestration | | b69e4f0373ff4a8f9560dc2644d891ba | RegionOne | glance | image | | 1e6c7f52dcd34a27b7ccac98918f19f1 | RegionOne | ec2 | ec2 | | e3236915a3dd4098b9e8e0853b5a5af2 | RegionOne | keystone | identity | | fe8870c3e6ac4b529aa7ce7563fc24a4 | RegionOne | heat-cfn | cloudformation | | aa931a795f2c4c0ca637e0e4c351cf07 | RegionOne | swift | object-store | | 1b8cd962b12342429cdedb0c7e5d0440 | RegionOne | cinderv2 | volumev2 | | 618a8edba487417c91d0de7f3bcc786d | RegionOne | cinder | volume | | 4c79d020189a44d383bdc15033a942c4 | RegionOne | nova | compute | +----------------------------------+-----------+--------------+----------------+
# svcadm restart apache24
controller# svcadm enable -rs ipfilter
zfssa_initiator_config 등록 정보가 여러 개시자 또는 여러 개시자 그룹을 나열하고 OpenStack Kilo 버전에서 더 이상 사용되지 않는 zfssa_initiator_group을 대체합니다.
zfssa_initiator_config = { 'init-grp1': [ {'iqn':'iqn1' , 'user':'user' , 'password':'password'}, {'iqn':'iqn2' , 'user':'user' , 'password':'password'} ], 'init-grp2': [ {'iqn':'iqn3' , 'user':'user' , 'password':'password'} ] }
예를 들어 그룹 A 및 그룹 B와 같은 개시자 그룹 두 개가 ZFS 저장소 어플라이언스에서 생성되는 경우 다음과 같이 정의합니다.
zfssa_initiator_config = { 'GroupA':[ {'iqn':'iqn.1986-03.com.sun:01:0a43b9fdcfd5.570d7fd1', 'user':'test1', 'password':'password1234'}, {'iqn':'iqn.1986-03.com.sun:01:0a43b9fdcfd5.570d7fd2', 'user':'', 'password':''} ], 'GroupB':[ {'iqn':'iqn.1986-03.com.sun:01:0a43b9fdcfd5.570d7fd3', 'user':'', 'password':''} ] }
zfssa_initiator_group
zfssa_initiator
controller# svcadm restart cinder-volume:default