VLAN Prep Steps - Enable Linux Networking and Installing verde-brctl

VLAN Prep Steps - Enable Linux Networking and Installing verde-brctl

Product Line:  VERDE

The following steps need to be implemented before enabling VLAN.

Switching VERDE Node from Openvswitch to Linux Native:

 Disable openvswitch and enable “Standard Linux Network Configuration” (verde-menu -> 1 Network Configuration -> 2 Configure Networks -> 3 Use Standard Linux Network Configuration)Make sure you have similar to below content in /etc/sysconfig/network-scripts/ifcfg-eth0. Add IPADDR and NETMASK according to your network. BOOTPROTO should be “static” and ONBOOT should be “yes”. Leave other fields as it is.

 DEVICE="eth0"

BOOTPROTO="static"

HWADDR="D8:CB:8A:37:CB:8D"

IPV6INIT="no"

NM_CONTROLLED=no

ONBOOT=yes

TYPE="Ethernet"

UUID="093fddfc-7a64-4a9c-ae6f-27072bd2f58c"

IPADDR=10.0.0.63

NETMASK=255.255.255.0

 

Make sure you have similar to below content in /etc/sysconfig/network. Change HOSTNAME and add GATEWAY according to your network.

 

NETWORKING=yes

HOSTNAME=linux2

GATEWAY=10.0.0.1

 

Make sure VERDE server public address (WIN4_VERDE_PUBADDR in /var/lib/verde/settings.node file) matches with IPADDR in /etc/sysconfig/network-scripts/ifcfg-eth0 file.Reboot the server and check if you are able to create a gold image and launch VMs properly (in global org context as well as in different org context)

 

Injecting verde-brctl:

 

Unzip the attached zip file, it contains “verde-brctl” script. Copy that script to VERDE node and place it under /usr/lib/verde/bin/ directoryRun the following command after login as root

 

/usr/lib/verde/bin/verde-brctl install

 

This will setup necessary links to redirect brctl command executions to verde-brctl. It also creates one file called /home/vb-verde/verde-brctl.conf. This file contains mapping between VERDE org-id with bridge name. Open this file to add a new line like  “org-8=vbridge100=vlan100,eth0,100”. This maps “org-8” with “vbridge0” which will be created if not exists. Also, verde-brctl will create necessary vlan “vlan100” if not exists with “eth0” as parent and with vlan id as “100”.Make sure you have a dhcp server listening in this vlan (in your router or somewhere else). If you don’t provide dhcp service in this vlan, Windows VMs will not start. Linux VMs starts anyway.To remove the verde-brctl injection, run the following command as root

 

/usr/lib/verde/bin/verde-brctl uninstall

 

 


    • Related Articles

    • Enabling VLAN in the VERDE 8.x environment

      Produce Line:  VERDE Steps for Existing Customers:   Customer should switch all the nodes in their VERDE cluster to Linux Native Networking and install verde-brctl script in all the nodes.  Full instructions are located at the following link:      ...
    • VERDEOS - Changing from OVS to Native Linux

      Product Line:  VERDE It may become necessary to disable OVS and run on Native Linux.  Here are instructions to do so: Standard Linux Network Configuration - VERDEOS From the Linux command line: - Login as admin - VERDE-Menu Welcome screen - Press "1" ...
    • Adding VLANs to VERDE (rpm) networking.

      Product Line:  VERDE In order to implement VLANs, the customer's switch needs to be set up first to support the needed IP ranges.  Once that's completed, perform the following for each VLAN: On the VERDE server, I did an ifconfig.  It shows that ...
    • How to Manually Create a VLAN with VERDE (rpms)

      Product Line:  VERDE Currently, if a customer wants VLANx for their users.  They must implement them manually.  There's a command built into Centos:  nmtui Verde servers on VLAN - guest images getting Server IP address PCs on 10.xxx   IT in VLAN,  ...
    • Secure VERDE Isolated Gateway install and configuration Instructions

      Product Line:  VERDE  Often customers request an Isolated Gateway.  A more secure method of accessing the Guest Images. Here's a little explanation about the Gateway's function, followed by instructions for its implementation. OVERVIEW: The Verde ...