Difference between revisions of "Main Page/cobbler"
Line 1: | Line 1: | ||
− | + | 1. persist vm /etc/fstab /etc/libvirt/qemu /config/etc/libvirt/qemu bind bind 0 0 | |
− | + | 2. for openstack vnc connection: novncproxy_base_url=http://128.0.0.1:6080/vnc_auto.html | |
− | + | 3. add network forward /etc/sysctl.conf net.ipv4.ip_forward = 1 net.ipv4.conf.default.rp_filter = 0 | |
− | + | sed -i '/net\.ipv4\.conf\.all\.rp_filter/d' /etc/sysctl.conf | |
− | + | sed -i '/net\.ipv4\.conf\.default\.rp_filter/d' /etc/sysctl.conf | |
− | + | echo "" >>/etc/sysctl.conf | |
− | + | echo "net.ipv4.conf.all.rp_filter = 0" >>/etc/sysctl.conf | |
− | sed -i | + | echo "net.ipv4.conf.default.rp_filter = 0" >>/etc/sysctl.conf |
− | + | sysctl -p | |
− | sed -i | + | 4. neutron configuration |
− | + | nova: linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver | |
− | + | neutron:neutron.conf neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2 | |
− | + | openstack-config --set /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini ovs tenant_network_type vlan | |
− | + | openstack-config --set /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini ovs network_vlan_ranges physnet1:1:4094 | |
− | + | bridge_mappings = physnet1:br-$DATA_INTERFACE | |
− | + | 5.persist /etc/tgt chkconfig tgtd on | |
− | + | 6.centos6-post.ks: | |
− | + | echo "Disable selinux" | |
− | + | [ -f /etc/selinux/config ] && sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config | |
− | + | 7. centos6-install.ks get rid of ntp | |
− | + | 8. add readme, fig | |
− | + | 9. add iptable for kimchi | |
− | / | + | iptables -I INPUT -p tcp --dport 8000 -j ACCEPT |
− | + | iptables -I INPUT -p tcp --dport 8001 -j ACCEPT | |
− | / | + | iptables -I INPUT -p tcp --dport 64667 -j ACCE |
− | + | 10.check space for vg but not default 20G | |
− | + | 11. | |
− | |||
− | |||
− |
Revision as of 10:00, 21 May 2014
1. persist vm /etc/fstab /etc/libvirt/qemu /config/etc/libvirt/qemu bind bind 0 0 2. for openstack vnc connection: novncproxy_base_url=http://128.0.0.1:6080/vnc_auto.html 3. add network forward /etc/sysctl.conf net.ipv4.ip_forward = 1 net.ipv4.conf.default.rp_filter = 0 sed -i '/net\.ipv4\.conf\.all\.rp_filter/d' /etc/sysctl.conf sed -i '/net\.ipv4\.conf\.default\.rp_filter/d' /etc/sysctl.conf echo "" >>/etc/sysctl.conf echo "net.ipv4.conf.all.rp_filter = 0" >>/etc/sysctl.conf echo "net.ipv4.conf.default.rp_filter = 0" >>/etc/sysctl.conf sysctl -p 4. neutron configuration nova: linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver neutron:neutron.conf neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2 openstack-config --set /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini ovs tenant_network_type vlan openstack-config --set /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini ovs network_vlan_ranges physnet1:1:4094 bridge_mappings = physnet1:br-$DATA_INTERFACE 5.persist /etc/tgt chkconfig tgtd on 6.centos6-post.ks: echo "Disable selinux" [ -f /etc/selinux/config ] && sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config 7. centos6-install.ks get rid of ntp 8. add readme, fig 9. add iptable for kimchi iptables -I INPUT -p tcp --dport 8000 -j ACCEPT iptables -I INPUT -p tcp --dport 8001 -j ACCEPT iptables -I INPUT -p tcp --dport 64667 -j ACCE 10.check space for vg but not default 20G 11.