Setting clock from CLI is not allowed in this VDC.

If you’re trying to set the time on a brand new out of box Cisco Nexus 5500 and you get the message “Setting clock from CLI is not allowed in this VDC.”, it’s because the clock protocol is set to ntp, even though you didn’t configure NTP. Go into config and type “clock protocol none”, and then it will let you set the time.

Then, when you’ve finished the config, set up NTP!

And while you’re at it, this page from Cisco is awesome for troubleshooting VPC

Las Vegas with Penny and Kim

Las Vegas with Penny and Kim

This week, I went to Las Vegas. For a day. I arrived in at about 9:30PM, and left the next day at the same time. I went along for Chris and Rachel’s wedding.. and their wedding guest, Kim, Penny and Laura. Yay seeing Perth people. I also had a pretty full week at work.. so I’m sitting at home on Friday night thinking back over my week – “san installation, crazydayinvegaswithkimandpenny, san installation, network installation, san installation..”

Have you tried turning it off and on again, five times?

These days I’m doing a lot of work implementing Datacentre equipment, including SANs, servers and switches. I recently installed some Brocade VDX6720 switches. Pretty cool stuff, especially the way that TRILL and vLAGs work so easily. I had a loaner switch, running Network OS (NOS) 3.0.1aa, while waiting for the final switches to be delivered. When the final switches were delivered, they were running NOS 2.0.1, so I had to upgrade them. That wasn’t the smoothest of experiences.

In Brocade’s defence, I should have read the manual closer, both of these issues are in there, if you read it all.. but time is money!

1 – I couldn’t get it to download new firmware over SCP – it kept reporting file not found, and that’s hard to diagnose. Might not be brocade’s fault, so I went to use the USB method of loading firmware. It took about 15 minutes till I re-read the manual and saw that you can only use the Brocade branded USB key to do that. Yes, there’s a USB port on the thing, but you can only use the ONE USB key it came with to load firmware onto it (or a similar Brocade one, at least they aren’t node locked)

2 – Turns out by “not supported”, they mean that a direct upgrade from 2.0.1 to 3.0.1 will almost brick your switch. You need to upgrade to 3.0.0 first. I missed that bit. One of the switches didn’t have VLAN information on, and came back pretty quickly, while the other, that I had configured VLANs on, would crash at startup.

eAnvil rev B found
Info: panic dump has been initialized!
Exisitng reboot reason fsize = 5 rb=
Global Fan Direction is 0

The file contains no trace dump information.

Network OS ((none))

(none) console login: ********************************************************************************************************
** Crashed in OM/Worker (WaveNs::ClusterLocalObjectManager::boot(WaveNs::WaveAsynchronousContextForBootPhases*))
********************************************************************************************************

WaveNs::ClusterLocalObjectManager::boot(WaveNs::WaveAsynchronousContextForBootPhases*)
WaveNs::WaveObjectManager::bootBootSelfStep(WaveNs::PrismLinearSequencerContext*)
WaveNs::PrismLinearSequencerContext::executeCurrentStep()
WaveNs::PrismLinearSequencerContext::executeNextStep(unsigned int const&)
WaveNs::WaveObjectManager::bootBootWorkersStep(WaveNs::PrismLinearSequencerContext*)
WaveNs::PrismLinearSequencerContext::executeCurrentStep()
WaveNs::PrismLinearSequencerContext::start()
WaveNs::WaveObjectManager::bootHandler(WaveNs::PrismBootObjectManagerMessage*)
WaveNs::WaveObjectManager::PrismOperationMapContext::executeMessageHandler(WaveNs::PrismMessage*&)
WaveNs::WaveObjectManager::handlePrismMessage(WaveNs::PrismMessage*)
WaveNs::PrismThread::start()
WaveNs::PrismPosixThread::pthreadStartMethod(WaveNs::PrismPosixThread*)
/lib/libpthread.so.0 [0xc306e5c]
clone

Thu Jul 11 22:04:07 UTC 2013 :: Confd: Waiting for Dcmd to become ready...

How did I recover? Well, reading scrollback I noticed a “Found 2(threshold 5) abnormal reboots within 3000 seconds window(threshold)” message, and wondered what would happen if I hit 5 abnormal reboots? Well, that gives you an option to “clean databases”, which fixed it good and proper.

3 – Bonus gripe here. As far as I can tell, there’s no way to configure a range of interfaces, like cisco’s “int range” or dell’s “int blah/0 to blah/2”. I’ve seen some people say on forums that they wouldn’t buy Brocade again because of this. A little harsh, but it seems like a pretty trivial feature to add.

FileVault on SSD

After the previously posted of “thieving gits” in 2009, I now encrypt my laptop, and was prepared to take a performance hit for it, and this is just fine.

For the OCZ Agility 4 I just got (AGT4-25SAT3-512G) – this is the “411”, as they say here. Without encrypting, blackmagic speed test was 208MB/sec write, 252MB/sec read. Encrypted with Filevault, it’s 196MB/sec write and 215MB/sec read, which is good enough, especially considering I was getting about 40MB/sec read/write on my encrypted 5200RPM HDD (vs 70MB/sec read/write on my wife’s unencrypted 7200RPM HDD)

One of the pieces of advice I’ve seen about SSDs is to not encrypt them because the extra write cycle will wear them out quicker, incompressible data leads to slower transfer rates, garbage collection/trim will slow them down, etc. Well, that hasn’t been my experience, and these concerns are even addressed specifically for this drive.

OCZ Agility 4 in MacBook Pro (Mid 2009)

I sort of regard replacing hard drives like changing oil in a car – something you need to do to keep things working. It might last, but it probably won’t.

So along those lines, I’ve just replaced the hard drive in my MacBook Pro with a new SSD – my local computer store had two 512GB OCZ Agility 4’s for a very good price – so I got that.

One things I was worried about was how it works with the crazy NVidia MCP79 SATA interface in these.. they are a SATA-II controller, and have a bit of a bug, where if they see a SATA-III device, it goes “wtf is this?” and clocks it down to SATA-I speed, instead of SATA-II. For hard drives, that doesn’t matter – but for SSD’s, it’s going to limit performance. I have an SSD in my work MacBook Pro, of a similar vintage, and it only runs at SATA-I speed, and it’s good enough, but not great.

I did some reading on OCZ’s offerings – for their “3” series of drives, there’s a utility you can download to set them to SATA-II, but no such utility exists for the “4” series. Well, turns out what I had seen suggested is the case – they will detect they’re connected to an MCP79, and automatically claim to be SATA-II. This is the main reason I’m posting this – in case someone else has similar concerns ;) So this SSD is doing 208MB/sec write, 250MB/sec read, which is pretty impressive.

As a side note: I saw a storage company’s SEs who I work quite closely with while I was buying this – and made a joke about how much cheaper they were than their SSD’s ;)

Wow, it’s been a while!

It occurs to me that it’s been almost 10 months since I updated this! So what has happened since then..

  • We went to NYC and Washington DC. Was very awesome. Went to Comic Con in NYC, Smithsonians in DC.
  • Had Elizabeth’s family visit over Christmas. Spent time over on Tofino with them, also a few weeks of them camping in our house. Was also awesome
  • Went to Perth in April for Swancon. Saw many people, didn’t take too many photos. But it was still awesome.
  • Became Permanent Residents of Canada
  • I no longer work at UBC – over the course of a few weeks, we went back and forth over some terms of a restructure they wanted to make in my group, and we weren’t able to come to a meeting of the minds on terms, and they have to do what they have to do, so I got a redundancy. It was a little bit of a shock initially, but not much, I’d been half expecting it as an outcome – their hands were tied by my position description. By that evening I had an invitation to come talk to a reseller about working for them instead. Yay networking!
  • So I’m now a Solution Architect / Professional Services Engineer for a reseller, which included a nice pay rise, and get to regularly go hands on (elbows deep..) into storage (NetApp, Isilon) and virtualization (VMware) systems. Lots of fun. New job is based in Vancouver for the most part, with occasional visits to the BC Interior, a 48 hour visit to London Ontario, and also several days in a warehouse in an unspecified industrial area of rural Washington state.
  • My dad came to visit for a few weeks as well – that was fun – we saw all the sights that the lower mainland of BC had to offer. He’d previously been here and visited Vancouver Island, before we lived here, so this was all new for him.
  • Have two other friends from Perth visiting (separately) over the next few weeks, which will also be nice.

Immigrant Stamp

R.I.P Steve Jobs

RIP Steve Jobs by theducks
RIP Steve Jobs, a photo by theducks on Flickr.

I could write a lot about Steve Job’s death, but a lot of it has been said by others, and said well.

I’ll take the anonymous proverb, sometimes mis-attributed to Dr Seuss – “Don’t cry because it’s over, smile because it happened.”

And what happened was amazing – from the “ignition” (as their press releases say) of the personal computer market, their decline, NeXT’s rise, Apple’s return and to the sheer scale of their success.

But I’m sad because it wasn’t finished. He won’t see the mothership built, or even his new house, or the growth and development of his youngest children, or the evolution of Apple or society.

I’m sorry he didn’t get a dotage – a relaxing retirement. I’m sorry he didn’t get to do more philanthropic work. I’m sorry he wasn’t able to make Apple a good corporate citizen – the ~$80 billion Apple has in the bank is money that has come from consumers and hasn’t “trickled down” back into society – and that’s a big problem.

But, for all these things he wasn’t able to achieve in one lifetime, he still did some truly amazing things.

I went to Costa Rica

.. and all I got was this stupid t-shirt.

Actually, I didn’t get a t-shirt.

Despite long layovers getting there, the TSA and lots of humidity, we had a great time.

Day 0:

Left Vancouver in the afternoon, flew to LAX. Yay pre-clearance of US customs and immigration in Canada.

LAX is.. almost indescribable. You have to make an effort to make an airport this bad. We arrived and had to change terminals. You’d think that’s reasonably common right? The sort of thing you’d put signs up saying how to do. Guess again!

We had a few hours in LAX, then flew to Miami (MIA). The LAX/MIA flight was 100% full, every overhead bin, every seat. Also, “overnight” and a 4 hour time change forwards, so we arrived in MIA at 1AM Vancouver time, 5AM Miami time. Sleep? Ha! But to make it easy on us, they played Rio on the overhead LCDs – so good luck trying to sleep with bright flashing colours in your eyes.

Liz and I got a few hours sleep on the floor at MIA before getting up to find some breakfast and catch our plane to San Jose (SJO). Which is a 3 hour change backwards.

Day 1:

We met up with Elizabeth’s sister, Caitlin, in the throngs of people at San Jose Costa Rica airport, and got a pre-arranged shuttle to the apartment hotel I booked for us.

Checked in, showered, then slept a bit (yay disrupted sleep!). E+C went out and got salsa, refried beans, corn chips and tortillas from a nearby shop, and we had some snacks. Did lots of chatting and planning, planned a trip to a butterfly farm for the next day. Had Quiznos for dinner – ordered in spanish.

Day 2:

Went to butterfly farm. It was in an urban-fringe type area, and I was not disappointed in my stereotypes of central America. Most of the buildings had tin roofs, and wandering chickens and dogs. Also, the roads had giant pot holes.

Day 3:

Took a day trip through the countryside. Included a river boat trip spotting animals, authentic Costa Rican lunch and a ski-lift/sky-tram through the forrest canopy. Nice and relaxing.

Day 4:

Went to downtown San Jose. Plans was to check out the gold museum and banking museum. Unfortunately they were both mostly closed for renovation. Downtown San Jose is.. not very nice. Sort of, get-out-of-town-before-sunset type not nice. But we survived ok, and caught public buses in and out. It was an experience.

Day 5:

Tour to Irazú volcano. Saw volcano – no lava though. Got irascible at Irazú due to misunderstanding of meeting places and subsequently having to expend a lot of energy at high altitudes. But it all worked out in the end. Went to Lankester Gardens, took many photos of flowers.

Back at the hotel, tried doing laundry. Dryer didn’t work, but the staff pre-emptively fixed that by drying it in their industrial dryer and returning it to us mostly folded. Yay!

Day 6:

Tour to Monteverde. Driver was an hour late, then we got stuck for almost an hour on the pan-american highway due to protestors. Admired Police for their restraint and for protecting the protestors – I would guarantee doing the same thing in Australia would get you pepper-sprayed and hauled off in flex-cuffs quicker than you could say “We want..” Drive to Monteverde was up 15kms of an amazingly bumpy dirt road in a Toyota Hiace. It took almost an hour up, and 30 minutes down. Went on a walking tour through forrest and over suspension bridges. Saw a Queztel, but didn’t have my 400mm lens on, so only got a crappy photo. But it was fun :)

Day 7:

Packed and off to the airport. SJO-MIA-LAX. No US Customs pre-clearance, so arrived in Miami and had to do a massive trek through the terminal to get to Customs, then waiting in line for an hour. Yaaaay. Then re-check bags, re-clear security, get to gate with a few minutes to spare, wolf down dinner.. then the plane to LAX is delayed by an hour due to lightning. Doh! Uneventful flight to LAX, picked up at airport by E+C’s cousin Nadine, dropped off at hotel near her place, shower, and sleep by 2AM.

Day 8:

Photos from LA. Breakfast at hotel, shared table and chatted with couple from Teax. Walk to beach, meet Caitlin (staying at cousin’s place near beach). Wander around, watch the beginning of Smackfest, a beach volleyball tournament. Back to Nadine’s place, then back to beach where C+N swim, Elizabeth and I watch and soak up the rays, have some brunch/second breakfast, meet up with Nadine’s husband Anthony. Back to their place, then brave LA highways, go to lookout over Hollywood sign. Brave more freeways, tourists, drive through Sunset strip, Rodeo drive, Beverley Hills, go to La Brea Tarpits. Dinner at swanky little restaurant, back to N+A’s place, chat till 11PM, walk back to hotel.

Day 9:

Mini-breakfast at hotel, including made on the spot waffle (om nom nom). Checked out and picked up from hotel, brunch again with C+N+A. Went to BestBuy, picked over the carcass of a Borders store. Had ice cream. Hung out and chatted with them some more, then off to the airport, sad goodbyes with Caitlin and flight back to YVR. In bed by 11:30PM, and then up for work the next morning!

Summary:

Wonderful to see Caitlin again. Costa Rica was as imagined and really nice. Packed efficiently.