Author: sotech

  • Enabling SSH on ESXi 5.0

    Enabling SSH is handy if you want to remotely access the back-end of your system; it can also be really handy for moving files around and transferring data to and from Linux systems or VMs securely and quickly. There are security risks with doing this; if anyone logs in to the root account of your server they will be able to do whatever they like, even destroying all of your VMs, powering them on or off and who knows what else. We would suggest making sure that your LAN is secure and not to open your server’s SSH ports to the internet (you may want to do this so you can log in remotely). If you are interested in doing the latter, use an RSA key for your login and disable text-based authentication (see our guide here)!

     

    Firstly, open up vSphere Client, log in and select the server you wish to enable SSH access on. Go to the Configuration tab like so:

     

    In the “Software” pane on the left, select Security Profile:

     

     

    On the right-hand side of the Services heading, click Properties:

     

    Here you can see ours is already running (look for SSH -> Running) – if yours is off it will say Stopped. Click on SSH and then click Options…:

     

    Note that if you click “Start” then select “Start and stop with host” it’ll stop the service again. You can get around this by selecting “Start and stop with host”, closing the dialog box, reopening it and starting it manually before closing it. If you don’t want to leave SSH on for longer than you need to just start it using the Start button and come back to this dialog box after you’re done and stop the service again. If you are confident that the security risk is worth it it is convenient to have it start and stop with the server.

     

    …and you’re done!

  • Unable to remove an inactive datastore in ESXi 5.0

    If you have found one of your datastores is greyed out/inactive one solution is to unmount it and add it again; sometimes ESXi won’t let you do this, giving the following error message:

    “Error: The resources ‘ip.of.data.store:/data/location’ is in use.

    Error stack: Call “HostDatastoreSystem.RemoveDatastore” for object “ha-datastoresystem” on ESXi “ip.of.your.esxi” failed.

     

    The fix is quite easy – enable SSH access on your server (if you’re not sure how, see our guide here) and log into the root account. Run the following command:

    # esxcli storage nfs list

     

    That will list all of the datastores currently available to ESXi via NFS. Now to unmount the inaccessible datastore we run:

    # esxcli storage nfs remove -v [inaccessible datastore name, here codexSSD]

    This will return us to the prompt like so:

     

     

    If you list the available datastores again it should be gone:

     

    # esxcli storage nfs list

     

     

    Log out and check your vSphere Client’s storage tab – it should be gone there, too. If it hasn’t disappeared refresh the view. From here you should be able to add the datastore again without hassle.

     

     

  • How do you tell which zpool version you are running?

    This is a question that crops up fairly regularly, as different operating systems support different zpool versions. Fortunately, it’s quite easy to find out which versions you are running – simply run:

     

    # zpool upgrade

     

    If you want a more detailed readout, including the features of the pool version you have, try:

     

    # zpool upgrade -v

     

    Your output should look something like this:

     

    # zpool upgrade -v
    This system is currently running ZFS pool version 28.

    The following versions are supported:

    VER  DESCRIPTION
    —  ——————————————————–
    1   Initial ZFS version
    2   Ditto blocks (replicated metadata)
    3   Hot spares and double parity RAID-Z
    4   zpool history
    5   Compression using the gzip algorithm
    6   bootfs pool property
    7   Separate intent log devices
    8   Delegated administration
    9   refquota and refreservation properties
    10  Cache devices
    11  Improved scrub performance
    12  Snapshot properties
    13  snapused property
    14  passthrough-x aclinherit
    15  user/group space accounting
    16  stmf property support
    17  Triple-parity RAID-Z
    18  Snapshot user holds
    19  Log device removal
    20  Compression using zle (zero-length encoding)
    21  Deduplication
    22  Received properties
    23  Slim ZIL
    24  System attributes
    25  Improved scrub stats
    26  Improved snapshot deletion performance
    27  Improved snapshot creation performance
    28  Multiple vdev replacements

    For more information on a particular version, including supported releases,
    see the ZFS Administration Guide.

     

    Or for the more simple command:
    # zpool upgrade

     

    This system is currently running ZFS pool version 28.

    All pools are formatted using this version.

  • Customer Build: Luna II

     

     

    Here’s a few shots of one of our recent storage server builds:

     

     

    (more…)

  • Scythe 92mm S-Flex SFF92B fans

    We’ve been trying to find a 92mm fan we’re happy with for a little while; this is the latest contender, the Scythe 92mm S-Flex. Featuring a Sony Fluid Dynamic Bearing, it’s supposed to be quiet and efficient – we’re trialling it on some of our 4U CPU coolers to see how it fares in terms of efficient, quiet cooling that provides a predictable temperature and airflow level.

     

     

     

    It’s not the most visually interesting fan in the world but since it’s going to be living in a server its entire life interesting aesthetics will probably go unappreciated by most. Initial results look promising – this one may well find its way into your next server build.

  • Installing a Corsair H100 cooler into a Norco 4224/4220 chassis

    One of the most asked-about combinations we’ve done recently has been putting a H100 into a storage chassis; so long as your motherboard isn’t too large (e.g. SSI EEB or equivalent) it’s quite easy to do.

     

     

    (more…)

  • Corsair SP120 Overview/Review

    Corsair’s new lines of fan are divided into AF – for airflow in open-air setups – and SP, or static pressure-oriented fans, more designed for placement adjacent to radiators or other areas where airflow is tight. The fans we’re looking at today are the 120mm SP range:

     

    (more…)

  • Asus Z9PE-D16 Review: Part Two

    Here is the follow-up to our initial review of the Asus Z9PE-D16 motherboard!

     

     

    (more…)

  • Asus Z9PE-D16 review: Part One

    Up for review today we have one of Asus’ dual-socket-2011 server motherboards – the Z9PE-D16. Hit the break to find out what it’s all about and why you might care about it even if you don’t need to run two CPUs…

     

     

    (more…)

  • Proper mounting of Corsair AF120 or SP120 coloured rings

     

    Can’t get your coloured ring to sit properly on your new Corsair fan? You’re not alone – we’ve had a few customers find it difficult getting their rings to sit correctly in the fans.

     



    (more…)