January 2014 archive

Cisco Nexus resource links

  Command References and Configuration Guides and White Papers Nexus 7000 Configuration Guides Nexus 7000 Command References Configuring Q-in-Q VLAN Tunnels Configuring vPCs Nexus 7000 NX-OS Release Notes Nexus 7000 Configuration Examples and Tech Notes Nexus 7000 NX-OS/IOS Comparison Nexus 7000 CLI Management Best Practices Nexus 7000 Scalability Limits Nexus 7000 White Papers   Nexus …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=251

Some find commands

Some quick find examples   find in current directory all files that have size greater than 0 find . -type f -size +1 -exec ls -la {} \;   find in current directory all files that have size less than or equal to 0 find . -type f -size -1 -exec ls -la {} \; …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=237

Copy directory from local host to remote host

Here is a simple and secure way to copy a directory structure from a local host to a remote host:   # tar -czf – . | ssh root@ubuntu “(cd /mnt/tegile;tar -xpzf -)” The – repersents stdin The . means current directory

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=233

Perl script used with MRTG to graph ping times

We use MRTG extensively to graph many different things.  One of them is pinging of systems, internal and external to the University. Here is the MRTG config section ## CSU to Google Title[csu-google]: CSU to Google Ping Performance Target[csu-google]: `/usr/local/mrtg-2/scripps/pingtime2.pl -c 2 google.com` MaxBytes[csu-google]: 500 AbsMax[csu-google]: 500 Options[csu-google]: gauge, integer, growright YLegend[csu-google]: MilliSeconds ShortLegend[csu-google]: ms …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=205

Awk Script to Count Cisco Modules

Here is a quick awk script to count all Cisco components.  The script takes the output of a Cisco IOS “show module” command for 1 or more Cisco switches. Command Used (MOD.out is the output from the “show mod” command) cat MOD.out | grep -v “WS-F” | awk -f  card.awk | sort   Output Cisco,WS-C4506-E,1 …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=194

UCS Firmware Upgrade 2.1 to 2.2 with Service Profile Templates

This post is part 2 of the UCS upgrade guide.  If you use Service Profile Templates in your UCS deployments, use this quick guide to safely upgrade your servers, which is step 4 of the UCS upgrade outlined in an earlier post from Chris Murray of TechShifter. Current Environment We currently have one Cisco UCS …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=165

UCS Firmware Upgrade: 2.1 » TechShifter

Here is a great guide that I found to upgrade a Cisco UCS In the following guide, Chris Murray from TechShifter, outlines beautifully how to upgrade from UCS 2.0 to 2.1.  I used this same guide to upgrade from 2.1 to 2.2(1b).  Although Chris did  a wonderful job on this, I will add a post …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=157

Quick and easy way to get around the CIsco UCS – Login Error: java.io.IOException

You might have experienced the exceptionally annoying error with Cisco UCS and the latest update to Java (and apparently the fault is a java programming fault not Cisco UCS) where after trying to login to Cisco UCS you get the following error: Login Error: java.io.IOException: Invalid Http response Login Error: java.io.IOException: Server returned HTTP response …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=149

A Summary of What’s New in vSphere 5.5

Summary of new features and capabilities available in vSphere 5.5 Doubled Host-Level Configuration Maximums – vSphere 5.5 is capable of hosting any size workload; a fact that is punctuated by the doubling of several host-level configuration maximums.  The maximum number of logical CPUs has doubled from 160 to 320, the number of NUMA nodes doubled from …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=142

How do I add a DNS server via resolv.conf in Ubuntu

If you really want to add more entries to /etc/resolv.conf, create a /etc/resolvconf/resolv.conf.d/tail and add them there. root@speedy:/etc/resolvconf/resolv.conf.d# cat tail domain csuohio.edu. search csuohio.edu. nameserver 8.8.8.8  

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=137