Compute 노드에서 접속 가능성과 인스턴스에 대한 security groups 를 처리합니다.
# yum install openstack-neutron-linuxbridge ebtables ipset
네트워킹 공통 구성 요소 구성은 인증 메커니즘, 메시지 큐, 플러그인을 포함합니다.
주석
디폴트 구성 파일을 배포판에 따라 달라집니다. 기존 섹션 및 옵션을 변경하는 것 보다는 해당 섹션과 옵션을 추가해야 할 수도 있습니다. 또한 구성 내용 조각 중 생략 (...
) 부분은 유지될 필요성이 있는 디폴트 구성 옵션을 가리킵니다.
/etc/neutron/neutron.conf
파일을 수정하고 다음 작업을 완료합니다:
[database]
섹션에서 Compute 노드가 직접 데이터베이스에 접근하지 않기때문에 모든 connection
옵션을 주석처리합니다.
[DEFAULT]
섹션에서, RabbitMQ
메시지 큐 액세스를 구성합니다:
[DEFAULT]
...
transport_url = rabbit://openstack:RABBIT_PASS@controller
RabbitMQ의 openstack
계정의 암호로 RABBIT_PASS
를 변경합니다.
[DEFAULT]
및 [keystone_authtoken]
섹션에서는, Identity 서비스 액세스를 구성합니다:
[DEFAULT]
...
auth_strategy = keystone
[keystone_authtoken]
...
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = Default
user_domain_name = 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
특정 서비스를 구성할 수 있는 컨트롤러 노드에대해 선택한 것과 동일한 네트워크 옵션을 선택합니다. 이후, 네트워킹 서비스를 사용하기 위해 Compute 서비스를 구성합니다 를 계속한 다음 여기로 돌아옵니다.
/etc/nova/nova.conf
파일을 편집하여 다음 작업을 완료합니다:
[neutron]
섹션에서 액세스 매개변수를 구성합니다:
[neutron]
...
url = http://controller:9696
auth_url = http://controller:35357
auth_type = password
project_domain_name = Default
user_domain_name = 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.