Monthly Archives: February 2012

Windows 8 Consumer Preview in VMWare Workstation

Checking out the new Windows 8 Consumer preview!
Installing in a VM on a host with Windows 7 and Intel Core i7.
Downloading the x64 English version from here: http://windows.microsoft.com/en-US/windows-8/iso
“To snap apps, you need a screen resolution of at least 1366 x 768” so I guess I better increase the resolution! Went with 1680×1050 which seems like an arbitrary number but with the highest (1920×1080) the text was blurry.

Could not detect which OS was on the disk, set it to Win7 x64. 4G RAM and 25G disk.

There’s a funny fish shown during first install.

After this, enter language and hit install, enter license key, custom install, use all disk.

This appears to be the current loading screen while the computer is booting too :)

After windows boots you get to decide hostname, enter your windows account, make some settings if you want to update drivers, safety filters. You can enter some extra security stuff (e-mail, alternative e-mail, security question).

 

Inside

To get to settings move the mouse cursor down to the bottom right corner.

A task bar is available if you move the cursor to the left top corner of the screen.

Xbox games doesn’t work (not allowed to sign in from my region).

Pinball FX starts but it’s lagging, a lot. But, if it’s slow just hit the windows key and you’re back to the block(s). In the end it doesn’t work either.

There’s a messaging square where you can add facebook, there’s also an e-mail square where you can add gmail.

Weather shows temperature as Fahrenheit, even though all my settings in control panel are set to Sweden/Swedish.

So I put some music on the skydrive, and then started it (whereupon it downloads the song). It then starts up a media player that takes up the whole screen. You can tell that this is meant to be used for a tablet where you don’t want clutter or where you want it to look nice.

Also, you go to settings to turn it off.

Dragonfly – Testing another OS

http://www.dragonflybsd.org/

Install

It’s based on … BSD! (FreeBSD 4.8 is apparently what dragonfly span off from)

What’s weird is that while VMWare Workstation scans the iso (to find which OS it is) it stops responding (other VMs are unaffected).
It finds FreeBSD 64-bit.

It has a ‘hammer’ filesystem.
Apparently this is unsupported for FS under 10GB and not recommended for under 50G and will apparently require a lot of things (period clean-up job) occasionally.

     HAMMER file systems are designed for large storage systems, up to 1
     Exabyte, and will not operate efficiently on small storage systems.  The
     minimum recommended file system size is 50GB.  HAMMER must reserve 500MB
     to 1GB of its storage for reblocking and UNDO/REDO.  In addition, HAMMER
     file systems operating normally, with full history retention and daily
     snapshots, do not immediately reclaim space when files are deleted.  A
     regular system maintenance job runs once a day by periodic(8) to handle
     reclamation.

 

Nice and straight-forward console-based installation.

Quick and easy!

Configure

As it’s BSD, add the user to the ‘wheel’ group so that it can become super-user.

Guide to get sshd working (basically set PasswordAuthentication = yes). The guide mentions a lot of other things, but in 3.0.1 sshd is on by default and the keys have been generated.

InstallĀ  software

Edit /usr/pkg/etc/pkgin/repositories.conf and add the URL to a repository near you.

pkgin update

pkgin full-update

pkgin search packagename

pkgin install bash

This installs bash to /usr/pkg/bin/bash

It’s not enough to just edit /etc/passwd to get the new shell, you need to edit it via ‘chsh’.

To install screen you need to

ln -s /usr/lib/libcrypt.so.4 /usr/lib/libcrypt.so.3

or it will complain that libcrypt.so.3 doesn’t exist.

The HAMMER filesystem

All commands start with ‘hammer’. Like ‘hammer info’.

 

Conclusion

While looking at it from the above angle (quite distant) – this doesn’t appear to be very different from other bsd/unix/linux distributions, a bit different commands to do some things but that’s not so odd in itself.

Personally I like the name, maybe that’s enough to use it? =)

Tails – A LiveCD/USB Linux Distribution

http://distrowatch.com/table.php?distribution=incognito

It looks like it’s been renamed to ‘tails‘.

It is based on Debian, is a LiveCD and it’s purpose is to preserve anonymity and privacy.

When you install it in a VM it gives a pop-up to this link saying that running it in a VM may not be the safest option.

There’s a few default plugins in iceweasel (looks like firefox, in fact it is a fork of firefox):

  • adblock plus
  • amnesia branding
  • cookie monster
  • firegpg
  • foxyproxy standard
  • greasemonkey
  • https-everywhere
  • monkeysphere
  • noscript
  • torbutton

It also starts with TOR configured and in ‘private browsing’ mode.
There is also an I2P application/network that can be used.
Both are however quite slow (but generally this shared type of proxy-ing usually is?)
As in ~10 seconds to load a web page.

Easy to use, but still slow.

Is performance is something worth losing to gain privacy and anonymity?

ESXi + VMWare Workstation + OpenIndiana

Before

Register and download ESXi here https://www.vmware.com/tryvmware/

Free license can be found there as well.

Get ESXi and the vSphere Client.

Get an OS to install in a VM (I chose openindiana).

Install ESXi in VMWare Workstation 8.

40G disk, 4GB RAM, 2 cores, enable Virtualization.

Very fast install.

Actually, in VMWare Workstation you can do ‘connect to server’. So for this you do not need the vSphere Client? Looks like through VMWare Workstation there’s a lot less options. Supposedly you can upload stuff to the datastore through the vSphere Client, and possibly more. Basically in VMWare Workstation you can just create a VM and make basically the same settings on it as you would on a normal VM.

Username: root. No password.

In the console, enable ssh and stuff. Then you can scp and ssh to the esxi host.

/vmfs/volumes/datastore is where you want to put isos.

you can also browse to the datastore via http!

Install OpenIndiana in a VMWare Workstation VM running ESXi.

Connect to the ESXi server in VMWare Workstation (connect to server, put in the IP of the ESXi VM, the IP is in the console).

After it’s there just create a new VM and select a ‘remote location’ of the iso when you look under CD. I’m went with openindiana.

8G disk, 1GB RAM, 1 CPU, “VM Network” (I presume this means the same as the one where the VM is). Nothing else special during install.

Feels a bit slow, but that could be because of the 1GB RAM. But I increased this to 2GB and still the Grub menu was slow to load.

Using OpenIndiana

In the console hit: ‘pfexec su -‘ to get to the root shell.

From the start I can ping a DNS-host on the internets. Great success.

Static IP in OI

If you don’t want to use nwam and you want to have a static IP you do this in the console:

  • Find interface name with ‘ifconfig -a’ or ‘dladm showphys’. If it’s not visible with ifconfig, it’s not plumbed, so ifconfig devname plumb. For this example, we’ll use e1000g0
  • Disable NWAM: svcadm disable svc:/network/physical:nwam
  • Set IP address in /etc/hostname.e1000g0: echo 1.2.3.4 > /etc/hostname.e1000g0
  • Set netmask in /etc/netmasks (there’s an example in there)
  • Set default gateway in /etc/defaultrouter: echo 1.2.3.1 > /etc/defaultrouter
  • Set DNS servers in /etc/resolv.conf (example: printf “nameserver 1.2.3.4\nnameserver 2.3.4.5\n” > /etc/resolv.conf)
  • Enable default: svcadm enable svc:/network/physical:default
  • Restart networking: svcadm restart svc:/milestone/network:default

After this, restart the system (init 6) and see if the settings stick. (I had to restart the VM twice but the IP setting stuck). The OI VM stuck at boot a few times after this as well. poweroff/restart got it back without any issues though.

Packages in OI

this is how to update your OI (no questions asked, just update everything).

pkg install pkg:/package/pkg
pkg update

You can of course do a lot more, see http://wiki.openindiana.org/oi/3.+Installing+software+and+package+management

Installing stuff

pkg install irssi

easy peasy, no problems at all (and screen is installed by default!).

JAVA is already installed by default (1.6.0.26).

java -version

Brocade Certified Fabric Designer – BCFD – Exam

Just took the BCFD (brocade certified fabric designer) exam two days ago.

Some tips:

Bring some water and food.

Good exam, but I am really tired of exams and certifications for now!

Also, isn’t easy to confuse Brocade Certified Fabric Designer with somebody who makes clothes?

Check out my other posts on the BCFD subject:

http://www.guldmyr.com/blog/tag/bcfd/

Brocade Certification – BCFD – Objectives

http://brocade.com/education/certification-accreditation/certified-fabric-designer/index.page

Data Collection

  • Given a scenario, design a solution that meets the customer’s requirements
  • Given a scenario, demonstrate knowledge of resiliency, redundancy, HA, and locality
  • Given a scenario, describe the various documents required in the design assessment

Practice by making up many scenarios and then deciding which is the best way to design it.

Management and Monitoring Tools

  • Given a scenario, describe how to satisfy a specific monitoring requirement
  • Demonstrate knowledge of Brocade management tools

What to monitor
How to monitor these

Hardware/Software Products and Features

  • Demonstrate knowledge of interoperability of B-Series/M-Series products
  • Given a scenario, describe Brocade hardware products and their purpose
  • Given a scenario, demonstrate knowledge of Brocade software features and purpose

Interopmodes
Features: VF, FCR, TI, QoS, FW, IRL, Trunking, Port Fencing, D_Port

Distance Solutions

  • Given availability, performance and distance requirements, design an appropriate long distance solution using Fibre Channel
  • Given a specific set of requirements, demonstrate ability to design a SAN extension solution using FCIP

FastWrite, Tape Pipelining, SACK
Max distance for LWL and ELWL:
Max performance of FCIP:

Performance Tuning Optimization

  • Given a performance scenario, determine an appropriate solution
  • Describe strategies for maximizing throughput in a Data Center Fabric

ICL, nohops, trunking.
How to increase performance in FCIP and FCR:

Migration and Integration

  • Given an existing fabric, identify migration strategies to upgrade the fabric with new technology
  • Given a set of existing fabrics and network devices, determine a consolidation plan that minimizes disruption
  • Describe the requirements to integrate a Brocade DCX Backbone into an existing M-Series fabric

FCR, Integrated Routing, E_port on a switch in the M_series.

Security

  • Identify requirements for restricting which switches/devices may join a fabric
  • Identify security features to restrict administrative access to a switch

SCC, AUTH
DCC
Distribute:
RBAC
IPFilter