Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- control-node /etc/ntp.conf:
- ===========================
- root@bodega:~# cat /etc/ntp.conf
- # /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
- driftfile /var/lib/ntp/ntp.drift
- # Enable this if you want statistics to be logged.
- #statsdir /var/log/ntpstats/
- statistics loopstats peerstats clockstats
- filegen loopstats file loopstats type day enable
- filegen peerstats file peerstats type day enable
- filegen clockstats file clockstats type day enable
- # Specify one or more NTP servers.
- # Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board
- # on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for
- # more information.
- server 0.ubuntu.pool.ntp.org
- server 1.ubuntu.pool.ntp.org
- server 2.ubuntu.pool.ntp.org
- server 3.ubuntu.pool.ntp.org
- # Use Ubuntu's ntp server as a fallback.
- server ntp.ubuntu.com
- server 127.127.1.0
- fudge 127.127.1.0 stratum 10
- # Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
- # details. The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions>
- # might also be helpful.
- #
- # Note that "restrict" applies to both servers and clients, so a configuration
- # that might be intended to block requests from certain clients could also end
- # up blocking replies from your own upstream servers.
- # By default, exchange time with everybody, but don't allow configuration.
- restrict -4 default kod notrap nomodify nopeer noquery
- restrict -6 default kod notrap nomodify nopeer noquery
- # Local users may interrogate the ntp server more closely.
- restrict 127.0.0.1
- restrict ::1
- # Clients from this (example!) subnet have unlimited access, but only if
- # cryptographically authenticated.
- #restrict 192.168.123.0 mask 255.255.255.0 notrust
- # If you want to provide time to your local subnet, change the next line.
- # (Again, the address is an example only.)
- #broadcast 192.168.123.255
- # If you want to listen to time broadcasts on your local subnet, de-comment the
- # next lines. Please do this only if you trust everybody on the network!
- #disable auth
- #broadcastclient
- compute-node /etc/ntp.conf
- ==========================root@sonoma:/var/log/nova# cat /etc/ntp.conf
- # /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
- driftfile /var/lib/ntp/ntp.drift
- # Enable this if you want statistics to be logged.
- #statsdir /var/log/ntpstats/
- statistics loopstats peerstats clockstats
- filegen loopstats file loopstats type day enable
- filegen peerstats file peerstats type day enable
- filegen clockstats file clockstats type day enable
- # Specify one or more NTP servers.
- # Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board
- # on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for
- # more information.
- server 0.ubuntu.pool.ntp.org
- server 1.ubuntu.pool.ntp.org
- server 2.ubuntu.pool.ntp.org
- server 3.ubuntu.pool.ntp.org
- # Use Ubuntu's ntp server as a fallback.
- server 10.176.20.158
- # Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
- # details. The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions>
- # might also be helpful.
- #
- # Note that "restrict" applies to both servers and clients, so a configuration
- # that might be intended to block requests from certain clients could also end
- # up blocking replies from your own upstream servers.
- # By default, exchange time with everybody, but don't allow configuration.
- restrict -4 default kod notrap nomodify nopeer noquery
- restrict -6 default kod notrap nomodify nopeer noquery
- # Local users may interrogate the ntp server more closely.
- restrict 127.0.0.1
- restrict ::1
- # Clients from this (example!) subnet have unlimited access, but only if
- # cryptographically authenticated.
- #restrict 192.168.123.0 mask 255.255.255.0 notrust
- # If you want to provide time to your local subnet, change the next line.
- # (Again, the address is an example only.)
- #broadcast 192.168.123.255
- # If you want to listen to time broadcasts on your local subnet, de-comment the
- # next lines. Please do this only if you trust everybody on the network!
- #disable auth
- #broadcastclient
- root@sonoma:/var/log/nova#
- control-node nova.conf file:
- ============================
- [DEFAULT]
- # LOGS/STATE
- verbose=True
- logdir=/var/log/nova
- state_path=/var/lib/nova
- lock_path=/var/lock/nova
- rootwrap_config=/etc/nova/rootwrap.conf
- # AUTHENTICATION
- auth_strategy=keystone
- # [keystone_authtoken]
- auth_host = 127.0.0.1
- auth_port = 35357
- auth_protocol = http
- admin_tenant_name = service
- admin_user = nova
- admin_password = nova
- signing_dirname = /tmp/keystone-signing-nova
- # SCHEDULER
- compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
- # Cinder - VOLUMES
- #volume_driver=nova.volume.driver.ISCSIDriver
- #volume_group=nova-volumes
- #volume_name_template=volume-%08x
- #iscsi_helper=tgtadm
- volume_api_class=nova.volume.cinder.API
- # DATABASE
- sql_connection=mysql://nova:[email protected]/nova
- # COMPUTE
- libvirt_type=kvm
- compute_driver=libvirt.LibvirtDriver
- instance_name_template=instance-%08x
- api_paste_config=/etc/nova/api-paste.ini
- # COMPUTE/APIS: if you have separate configs for separate services
- # this flag is required for both nova-api and nova-compute
- allow_resize_to_same_host=True
- # APIS
- enabled_apis=ec2,osapi_compute,metadata
- osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
- ec2_dmz_host=10.176.20.158
- s3_host=10.176.20.158
- # RABBITMQ
- rabbit_host=10.176.20.158
- # GLANCE
- image_service=nova.image.glance.GlanceImageService
- glance_api_servers=10.176.20.158:9292
- # NETWORK
- network_manager=nova.network.manager.FlatDHCPManager
- force_dhcp_release=True
- dhcpbridge_flagfile=/etc/nova/nova.conf
- firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
- # Change my_ip to match each host
- my_ip=10.176.20.158
- public_interface=eth0
- flat_interface=eth1
- flat_network_bridge=br100
- fixed_range=192.168.100.0/24
- # NOVNC CONSOLE
- novncproxy_base_url=http://10.176.20.158:6080/vnc_auto.html
- # Change vncserver_proxyclient_address and vncserver_listen to match each compute host
- vncserver_proxyclient_address=10.176.20.158
- vncserver_listen=10.176.20.158
- # Following config kept from initial conf file installed by nova
- dhcpbridge=/usr/bin/nova-dhcpbridge
- libvirt_use_virtio_for_bridges=True
- connection_type=libvirt
- root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
- ec2_private_dns_show_ip=True
- volumes_path=/var/lib/nova/volumes
- compute-node nova.conf:
- =======================
- [DEFAULT]
- # LOGS/STATE
- verbose=True
- logdir=/var/log/nova
- state_path=/var/lib/nova
- lock_path=/var/lock/nova
- rootwrap_config=/etc/nova/rootwrap.conf
- # AUTHENTICATION
- auth_strategy=keystone
- # [keystone_authtoken]
- auth_host = 127.0.0.1
- auth_port = 35357
- auth_protocol = http
- admin_tenant_name = service
- admin_user = nova
- admin_password = nova
- signing_dirname = /tmp/keystone-signing-nova
- # SCHEDULER
- compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
- # Cinder - VOLUMES
- #volume_driver=nova.volume.driver.ISCSIDriver
- #volume_group=nova-volumes
- #volume_name_template=volume-%08x
- #iscsi_helper=tgtadm
- volume_api_class=nova.volume.cinder.API
- # DATABASE
- sql_connection=mysql://nova:[email protected]/nova
- # COMPUTE
- libvirt_type=kvm
- compute_driver=libvirt.LibvirtDriver
- instance_name_template=instance-%08x
- api_paste_config=/etc/nova/api-paste.ini
- # COMPUTE/APIS: if you have separate configs for separate services
- # this flag is required for both nova-api and nova-compute
- allow_resize_to_same_host=True
- # APIS
- enabled_apis=ec2,osapi_compute,metadata
- osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
- ec2_dmz_host=10.176.20.158
- s3_host=10.176.20.158
- # RABBITMQ
- rabbit_host=10.176.20.158
- # GLANCE
- image_service=nova.image.glance.GlanceImageService
- glance_api_servers=10.176.20.158:9292
- # NETWORK
- network_manager=nova.network.manager.FlatDHCPManager
- force_dhcp_release=True
- dhcpbridge_flagfile=/etc/nova/nova.conf
- firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
- # Change my_ip to match each host
- my_ip=10.176.20.4
- public_interface=eth0
- flat_interface=eth1
- flat_network_bridge=br100
- fixed_range=192.168.100.0/24
- # NOVNC CONSOLE
- novncproxy_base_url=http://10.176.20.158:6080/vnc_auto.html
- # Change vncserver_proxyclient_address and vncserver_listen to match each compute host
- vncserver_proxyclient_address=10.176.20.4
- vncserver_listen=10.176.20.4
- # Following config kept from initial conf file installed by nova
- dhcpbridge=/usr/bin/nova-dhcpbridge
- libvirt_use_virtio_for_bridges=True
- connection_type=libvirt
- root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
- ec2_private_dns_show_ip=True
- volumes_path=/var/lib/nova/volumes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement