Monday, March 26, 2012

Zoning a Brocade switch via command line

I recently found that I will need to create several zones on a brocade FC switch. Normally I use the Java GUI as this is easy and simple to visualize the changes, but with approximately 120 zones to create, the GUI is out of the question.

A little bit of searching and I found some great blogs discussing just this - creating FC zones from command line.
http://cosonok.blogspot.com/2011/12/brocade-switch-cli-zoning-configuration.html
http://www.sanduel.com/SAN-Storage-Commands/How-to-zone-a-Brocade-SAN-switch-in-command-line-base.html

One thing to note is that many of the commands (such as alicreate) can support multiple members. This means you can have multiple WWNs added to a single alias via a single command. To see which commands support multiple members, use the help command - ex: help alicreate

Thursday, March 08, 2012

Site-to-Site VPN using Vyatta

I was testing a new backup solution that does replication across the wire to a secondary site. I didnt want to impact production, so I used VMware to clone the system I was backing up, and used an isolated network for my backup testing.
All was fine until I needed to setup a target at my second site, and still remain isolated. I needed to use a unique IP scheme, yet still have it routed across our WAN. All without having to nag the network team for my test environment.

Enter Vyatta router. Using it I was able to bridge my isolated network to the outside world, now I was able to download and install updates from the internet. I then found a post at http://www.arkf.net/blog/?p=231 that discussed using Vyatta as a site-to-site VPN. I followed through the steps and BAM, everything was connected.