The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter contains the following topics:
Download SLEs 12 - https://www.suse.com. (You must create a login)
eth0—for uplink (service-port of WLC); no IP address is required to this interface but should be connected and up.
eth1—for WLC Management interface; no IP address is required to this interface but should be connected and up.
eth2 or 3— for Linux accessibility; provide IP address to this interface, so that there is a network connectivity for Linux box and internet from it.
Note | Before working on any other package or KVM/vswitch, check the Linux kernel. Make sure the kernel version is 3.12.36-38 or above. |
Install SLES 12 on the server.
Once the server comes up, copy the kernel rpm to the machine.
On a terminal, execute rpm --ivh <kernel>.rpm.
The rpm is installed and would take some time to configure. You need not do anything else.
Reboot the machine once the installation is complete, and verify that the latest kernel is loaded using uname --a.
Install KVM and supporting packages using the following commands:
zipper install openvswitch openvswitch-switch zypper install kvm libvirt libvirt-python qemu virt-manager
Execute the following commands:
systemctl enable sshd.service → enabling sshd daemon systemctl start sshd.service → starting ssh netstat -an | grep :22 → to see if port# 22 is listening
ovs-vsctl add-br ov_10nw ovs-vsctl add-port ov_10nw eth0 ovs-vsctl add-br ov_9nw ovs-vsctl add-port ov_9nw eth1
The bridge name must be the same as created in the XML file.
ovs-vsctl show
Example
linux-f8es:~ # ovs-vsctl show 51600b63-b508-45b0-9d0c-9f74036114c5 Bridge "ov_9nw" Port "ov_9nw" Interface "ov_9nw" type: internal Port "eth1" Interface "eth1" Bridge "ov_10nw" Port "ov_10nw" Interface "ov_10nw" type: internal Port "eth0" Interface "eth0" ovs_version: "2.1.2"
Create two XML files; one for service-nw (10nw) and the other for management (9nw).
Example
10nw_eth0_ov.xml 9nw_eth1_ov.xml
Both XML files contain VLAN information based on the network, or based on what you want to allow.
Example: To Allow All VLANs
<network> <name>10-nw</name> <forward mode='bridge'/> <bridge name='ov_10nw'/> <virtualport type='openvswitch'/> <portgroup name='vlan-any' default='yes'> </portgroup> </network>
The bridge name must be the same as created during "ovs-vsctl" command.
service openvswitch-switch start
chkconfig openvswitch-switch on
Note | vSwitch must be started before creating the bridge using above command. |
service libvirtd restart
ovs-vsctl set bridge ov_9nw other-config:forward-bpdu=true
virsh net-list --all
virsh net-undefine default
virsh net-define <xml_file_name>
virsh net-list --all
virsh net-start <network_name_that is in the list>
Example
linux-f8es:~ # virsh net-list --all Name State Autostart Persistent ---------------------------------------------------------- default inactive no yes
linux-f8es:~ # virsh net-undefine default Network default has been undefined
linux-f8es:~ # virsh net-define 10nw_eth0_ov.xml Network 10-nw defined from 10nw_eth0_ov.xml
linux-f8es:~ # virsh net-define 9nw_eth1_ov.xml Network 9-nw defined from 9nw_eth1_ov.xml
linux-f8es:~ # virsh net-list --all Name State Autostart Persistent ---------------------------------------------------------- 10-nw inactive no yes 9-nw inactive no yes
linux-f8es:~ # virsh net-start 10-nw Network 10-nw started
linux-f8es:~ # linux-f8es:~ # virsh net-start 9-nw Network 9-nw started
linux-f8es:~ # virsh net-list --all Name State Autostart Persistent ---------------------------------------------------------- 10-nw active no yes 9-nw active no yes
To install vWLC using VMM in SUSE Linux, perform the following steps:
Step 1 | Similar to Fedora, go to the
terminal and type
virt-manager.
The Virt Manager (VMM) pop-up appears. |
Step 2 | Follow the steps covered in Fedora installation using VMM. |