3. Start second compute service (please use configuration file in order it overrides)
/usr/local/bin/nova-compute --config-file /etc/nova/nova.conf --config-file /etc/nova/nova2.conf
4. We have to create second network agent too because existing network agent doesn't know about host2
Steps to create second network agent
1. create configuration file for second network agent
vi /etc/neutron/plugins/ml2/dpm_agent2.ini
[DEFAULT]
host = host2
2. start network agent (please use configuration file in order it overrides)
/usr/local/bin/neutron-dpm-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/dpm_agent.ini --config-file /etc/neutron/plugins/ml2/dpm_agent2.ini
Steps to create multiple compute service on one host
1. Assuming one compute service is running
2. create configuration file for second compute service nova2.conf file=/opt/ stack/logs/ n-cpu2. log
vi /etc/nova/
[DEFAULT]
host=host2
log_
[dpm] storage_ adapter_ mappings = 44444444- b18d-11e6- 9c12-42f2e9ef16 41:0 wwpn_ignore_ list = 444444680B214AC 1,444447680B224 AC1 12df-311a- 804c-4ed2cc1d65 64
physical_
target_
max_instances = 10
max_memory = 4096
max_processors = 3
cpc_object_id = ffffffff-
hmc_password = <password>
hmc_username = <user>
hmc = <IP>
3. Start second compute service (please use configuration file in order it overrides) local/bin/ nova-compute --config-file /etc/nova/nova.conf --config-file /etc/nova/ nova2.conf
/usr/
4. We have to create second network agent too because existing network agent doesn't know about host2
Steps to create second network agent
1. create configuration file for second network agent plugins/ ml2/dpm_ agent2. ini
vi /etc/neutron/
[DEFAULT]
host = host2
2. start network agent (please use configuration file in order it overrides) local/bin/ neutron- dpm-agent --config-file /etc/neutron/ neutron. conf --config-file /etc/neutron/ plugins/ ml2/dpm_ agent.ini --config-file /etc/neutron/ plugins/ ml2/dpm_ agent2. ini
/usr/