Compute 노드에서 접속 가능성과 인스턴스에 대한 security groups 를 처리합니다.
# yum install openstack-neutron openstack-neutron-linuxbridge ebtables ipset
네트워킹 공통 구성 요소 구성은 인증 메커니즘, 메시지 큐, 플러그인을 포함합니다.
주석
디폴트 구성 파일을 배포판에 따라 달라집니다. 기존 섹션 및 옵션을 변경하는 것 보다는 해당 섹션과 옵션을 추가해야 할 수도 있습니다. 또한 구성 내용 조각 중 생략 (...) 부분은 유지될 필요성이 있는 디폴트 구성 옵션을 가리킵니다.
/etc/neutron/neutron.conf 파일을 수정하고 다음 작업을 완료합니다:
[database] 섹션에서 Compute 노드가 직접 데이터베이스에 접근하지 않기때문에 모든 connection 옵션을 주석처리합니다.
[DEFAULT] 와 [olso_messaging_rabbit] 섹션에서 RabbitMQ 메시징 큐 접근을 구성합니다:
[DEFAULT]
...
rpc_backend = rabbit
[oslo_messaging_rabbit]
...
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = RABBIT_PASS
RabbitMQ의 openstack 계정의 암호로 RABBIT_PASS 를 변경합니다.
[DEFAULT] 와 [keystone_authtoken] 섹션에서 Identity 서비스 접근을 구성합니다:
[DEFAULT]
...
auth_strategy = keystone
[keystone_authtoken]
...
auth_uri = http://controller:5000
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = neutron
password = NEUTRON_PASS
Identity 서비스에서 neutron 사용자의 암호로 NEUTRON_PASS 를 변경합니다.
주석
[keystone_authtoken] 섹션 내 다른 옵션들은 주석 처리나 제거합니다.
[oslo_concurrency] 섹션에서 lock 경로를 구성합니다:
[oslo_concurrency]
...
lock_path = /var/lib/neutron/tmp
(옵션) 트러블 슈팅을 지원하기 위해, [DEFAULT] 섹션에서 verbose 로깅을 활성화합니다:
[DEFAULT]
...
verbose = True
특정 서비스를 구성할 수 있는 컨트롤러 노드에대해 선택한 것과 동일한 네트워크 옵션을 선택합니다. 이후, 네트워킹을 사용하는 Compute 구성 를 계속한 다음 여기로 돌아옵니다.
/etc/nova/nova.conf 파일을 편집하여 다음 작업을 완료합니다:
[neutron] 섹션에서 액세스 매개변수를 구성합니다:
[neutron]
...
url = http://controller:9696
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
region_name = RegionOne
project_name = service
username = neutron
password = NEUTRON_PASS
Identity 서비스에서 neutron 사용자의 암호로 NEUTRON_PASS 를 변경합니다.
Compute 서비스를 재시작하십시오:
# systemctl restart openstack-nova-compute.service
Linux 브릿지 에이전트를 시작하고 시스템이 부팅되면 시작하도록 구성 설정합니다:
# systemctl enable neutron-linuxbridge-agent.service
# systemctl start neutron-linuxbridge-agent.service
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.