Thursday, October 29, 2015

OpenStack RDO.. Get the taste..

As Openstack making a lot of buzz in the cloud industry, tried to taste this flavor by installing it in a virtual machine.
Below are the basic steps of Openstack RDO installation on Redhat linux.

  1. Install RHEL7.1 Minimal
    Register at redhat site and download a copy of the RHEL7 server
    https://access.redhat.com Install with minimal option or higher.

  1. Configure network
systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl enable network
ip addr add 192.168.1.131/24 dev ens32
vi /etc/sysconfig/network-scripts/ifcfg-ens32
IPADDR=192.168.1.131
GATEWAY=192.168.1.1

vi /etc/resolv.conf
nameserver 4.2.2.2

vi /etc/hosts
192.168.1.131 solar1

  1. Subscription and Yum
subscription-manager register --auto-attach
subscription-manager repos --enable rhel-7-server-optional-rpms
subscription-manager repos --enable rhel-7-server-extras-rpms
yum install yum-utils
yum update –y
yum install -y https://rdoproject.org/repos/rdo-release.rpm
yum install -y openstack-packstack
  1. Install Openstack
packstack –allinone
  1. Open Web Dashboard
http://192.168.1.131/dashboard

Enjoy !!

Monday, October 5, 2015

Basic Fiber Channel configuration in MDS

Basic Fiber Channel configuration in MDS



Figure: Logical network diagram


  1. Configure VSAN
vsan database
vsan 10 name GREEN
vsan 10 interface fc 1/1
vsan 10 interface fc1/5

  1. Configure Tunk and port channel
Int po1
Channel mode active
switchport mode e
No shut

Int fc 1/11-12
Switchport mode e
Trunk mode on
Channel-group 1

  1. Set principle switch
Fcdomain priority 1 vsan 10
Fcdomain restart disruptive vsan 10

  1. Zoneing
Zone mode enhanced
Zoneset name DC10 vsan 10
Zone name SRV1
Member interface fc 1/1
Member pwwn 11:11:11:11:11:11:11:11
Member pwwn 33:33:33:33:33:33:33:33
Zone name SRV2
Member pwwn 22:22:22:22:22:22:22:22
Member pwwn 33:33:33:33:33:33:33:33
Zoneset activate name DC10 vsan 10

  1. Verification
Show flogi database
Show fcns database
Show zoneset active
Show interface bbcredit

Wednesday, July 30, 2014

MPLS L3 VPN - Part 1

MPLS Core setup




·         LDP and IGP in core

P routers

Enable LDP
mpls label protocol ldp
interface Fastethernet x/x             
(x/x = all interface)
              mpls ip

Enable core IGP
router ospf  1
     network 0.0.0.0 255.255.255.255 area 0

PE routers
Enable LDP
mpls label protocol ldp
interface Fastethernet x/x
  (x/x = loopback + all int facing P, not facing CE)
         mpls ip

Enable core IGP
router ospf  1
     network x.x.x.x 0.0.0.255 area 0
(x.x.x.x = interface facing P, not facing CE)


·         VPNv4 between PEs

PE routers

Enable MP-BGP VPNv4
router bgp 100
      no bgp default ipv4-unicast
      neighbor x.x.x.x remote-as 100
      neighbor x.x.x.x update-source loopback1
      address-family vpnv4 unicast
              neighbor x.x.x.x activate
              neighbor x.x.x.x send-community extended

            


  
·         VRF Configuration

PE routers

Create VRF
ip vrf AAA  (only for ipv4)
“or”  vrf definition AAA    (for both ipv4+ipv6)

    rd 100:1
    route-target export 100:1
    route-target  import 100:1


Assign interface to VRF
Interface Fa x/x            (interface facing CE)
    ip vrf forwarding AAA
    ip address …