- CLOUD HOSTED VIRTUAL DESKTOPS CENTOS INSTALL
- CLOUD HOSTED VIRTUAL DESKTOPS CENTOS UPDATE
- CLOUD HOSTED VIRTUAL DESKTOPS CENTOS DOWNLOAD
"test= #ETCD_INITIAL_CLUSTER="default= #ETCD_INITIAL_CLUSTER_STATE="new" test), set ETCD_INITIAL_CLUSTER value for this name, i.e. #ETCD_INITIAL_ADVERTISE_PEER_URLS=" # if you use different ETCD_NAME (e.g. #ETCD_LISTEN_PEER_URLS=" ETCD_LISTEN_CLIENT_URLS=" ETCD_ADVERTISE_CLIENT_URLS=" #ETCD_MAX_SNAPSHOTS="5"
Read for more info.Ĭat << EOT > /etc/etcd/nfĮTCD_DATA_DIR="/var/lib/etcd/default.etcd"CLOUD HOSTED VIRTUAL DESKTOPS CENTOS INSTALL
Warning: The etcd service needs a configuration file, we install a really simple one that should be modified according to your needs, e.g add urls with your server’s IP address or DNS names so your server is not only useful for localhost and secure client requests. Now we have to add a systemd service definition for our etcd serviceĬat /usr/lib/systemd/system/rvice While I’m preparing a shell script or test some Ansible roles available at Ansible Galaxy so the installation is automatic, here I show you the steps I followed to install by hand the Etcd server on CentOS 7 as quick and fast as possible.įirst of all we have to create some directories (/var/lib/etcd and /etc/etcd) and add the etcd user and group mkdir /var/lib/etcd mkdir /etc/etcd groupadd -r etcd useradd -r -g etcd -d /var/lib/etcd -s /sbin/nologin -c "etcd user" etcd chown -R etcd:etcd /var/lib/etcd I can’t be sure if it will work for you as I haven’t been using Open vSwitch with CentOS 6 for a long time... so any feedback is welcomed! Let’s check that the command-line tools are ready: ovs-vsctl -Vĭone. If you want the openvswitch service to start at boot time: chkconfig openvswitch on (warning).Ĭreating empty database /etc/openvswitch/conf.db Ĭonfiguring Open vSwitch system IDs yum localinstall /home/ovs/rpmbuild/RPMS/x86_64/openvswitch-2.5.0-1.x86_64.rpm -yįinally, start the openvswitch service and check that it’s running service openvswitch start Vermagic: 2.6.32-642.3.1.el6.x86_64 SMP mod_unload modversionsĪs root, we’ll install the RPM package. ~]# modinfo openvswitchįilename: /lib/modules/2.6.32-642.3.1.el6.x86_64/kernel/net/openvswitch/openvswitch.koĭescription: Open vSwitch switching datapath exitĬentOS 6 already provides an openvswitch kernel module, so we’ve only compiled the binary tools. Sed -i "/\/usr\/sbin\/ovs-bugtool/d" rhel/openvswitch.specĮcho "/usr/bin/ovs-testcontroller" > rhel/openvswitch.specįinally let’s build the RPM packages… and have a cup of coffee as tests are being run! At least you can tell if it works… ? rpmbuild -bb rhel/openvswitch.spec Sed -i "/\/usr\/bin\/ovs-dpctl-top/d" rhel/openvswitch.spec Sed -i "/\/usr\/share\/openvswitch\/python/d" rhel/openvswitch.spec
Sed -i "/\/usr\/share\/openvswitch\/scripts\/ovs-bugtool-*/d" rhel/openvswitch.spec Sed -i "/\/usr\/share\/openvswitch\/bugtool-plugins/d" rhel/openvswitch.spec Sed -i "/\/usr\/share\/man\/man8\/ovs-bugtool.8.gz/d" rhel/openvswitch.spec Sed -i "/\/usr\/bin\/ovs-vlan-test/d" rhel/openvswitch.spec Sed -i "/\/usr\/bin\/ovs-tcpundump/d" rhel/openvswitch.spec Sed -i "/\/usr\/bin\/ovs-pcap/d" rhel/openvswitch.spec Sed -i "/\/usr\/bin\/ovs-parse-backtrace/d" rhel/openvswitch.spec Sed -i "/$RPM_BUILD_ROOT\/usr\/bin\/ovs-l3ping/d" rhel/openvswitch.spec Sed -i "/$RPM_BUILD_ROOT\/usr\/bin\/ovs-test/d" rhel/openvswitch.spec Let’s modify some lines in the old rhel6 spec file provided by Nicira (copy and paste): sed -i "s/Requires: logrotate, python >= 2.7/Requires: logrotate/" rhel/openvswitch.spec Now go to the openvswitch directory cd openvswitch-2.5.0
CLOUD HOSTED VIRTUAL DESKTOPS CENTOS DOWNLOAD
Let’s prepare the build environment and download the source code: mkdir -p ~/rpmbuild/SOURCESĬp openvswitch-2.5.0.tar.gz ~/rpmbuild/SOURCES/ Let’s add a new user and switch to that user: adduser ovs su - ovs Let’s start installing some packages: yum -y install wget openssl-devel gcc make python-devel openssl-devel kernel-devel graphviz kernel-debug-devel autoconf automake rpm-build redhat-rpm-config libtool python-twisted-core python-zope-interface PyQt4 desktop-file-utils libcap-ng-devel groff checkpolicy selinux-policy-devel In any case… I’ll show you what you can do to generate your own RPM packages the old way (no python api supported as it requires Python 2.7 while CentOS 6 uses Python 2.6):
I’ve found this repository by Alexander Evseev so you may try to use the openvswitch packages (you even have the kmod package) found there.
CLOUD HOSTED VIRTUAL DESKTOPS CENTOS UPDATE
If you find a better way, please let me know so I update the post and remove useless info from the Internet ? As some visitors have asked me about installing Open vSwitch on CentOS 6, I’m writing the following post after my first about it almos three years ago.