Setting up a 64bit aggr on NetApp

So now you have zero’d your disks, but when you check aggr status, you see your aggrs at 32bit!  What to do?  This means you will need to create a lot of aggrs because there is a 2TB limit (like Vmwares limit in 4.x) on the size!

So here is a demo of how to do this with NetApps Data Ontap software and I give a brief idea of the commands used in the video here:

aggr create aggr1 -B 64 3

This says to create a new “aggr1” that is 64-bit and use any 3 disks to do it.

vol create vol1 aggr1 250g

This says to create a new “vol1”, put it inside the “aggr1” and make the size 250g (which is the minimum size for the root volume of a system)

ndmpd on

Turns on the ndmp daemon

ndmpcopy -l 0 -f /vol/vol0 /vol/vol1

This does a level 0 (default) copy of vol0 to vol 1, -f says to include system files.  Think of the old DOS says what happens if you didn’t format with -s.  You are correct, it won’t boot.

Now there is 1 more thing we need to do, and that is to set this new volume we created as the root volume:

vol options vol1 root

If you check the status after doing something like this, but not rebooting yet, you will see that 1 volume has a status of “root” and another volume has the status of “diskroot”.  This indicates that the volume of “diskroot” will because the “root” volume after the next reboot.



Building a lab datacenter: Upgrading ESXi4 to ESXi5

I recorded a quick video that shows how quickly you can update an ESXi server from 1 version to the other.  Before doing this, your host will need to be in maintenance mode, so all of your virtual machines will need to be vmotioned off first, but this procedure should not cause a lot of pain.

Once the server is down, boot it with an ESXi 5 cd and here is what you will see.  Notice that I am destroying the local VMFS 3 filesystem, as if you simply upgrade your VMFS to 5 you will miss out on certain features.  So if you are storing VM’s locally you will want to keep this in mind and storage vmotion them off prior to doing something like this.

This was recorded in VMWorkstation for demo purposes.