mrhyperlinkukplain Get a free Giffgaff Sim

Posts Tagged ‘datastore’

HOW TO: Upload an ISO CD-ROM/DVD-ROM image to a VMware datastore for use with VMware vSphere Hypervisor 5.1 (ESXi 5.1) using the vSphere Client, and checking its MD5 checksum signature is correct.

Tuesday, May 28th, 2013
In my previous VMware Articles, most featured Intermediate VMware Topics. My next series of articles will concentrate on topics for the VMware Novice; this is the fourth article in this series.If you would like to read the other articles in this series,  they are listed here for your convenience.

HOW TO: Install and Configure VMware vSphere Hypervisor 5.1 (ESXi 5.1)

HOW TO: Connect to the VMware vSphere Hypervisor 5.1 (ESXi 5.1) using the vSphere Client

HOW TO: Create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 5.1 (ESXi 5.1)

In this series of basic VMware articles for the Novice, I’ll be showing you the basic VMware skills required to install, configure and deploy virtual machines using VMware’s FREE VMware vSphere Hypervisor (ESXi).

In this article we will show you HOW TO: Upload an ISO CD-ROM/DVD-ROM image to a VMware datastore for use with VMware vSphere Hypervisor 5.1 (ESXi 5.1) using the vSphere Client, and checking its MD5 checksum signature is correct. There are other third party tools, that can be used to upload ISO image files, these include:-

The above applications, require additional installation and configuration, in this article we will use the VMware vSphere Client.

1

Connect to the VMware vSphere Hypervisor 5.1 (ESXi 5.1) or vSphere vCenter Server using the vSphere Client

Please refer to my EE article on HOW TO: Connect to the VMware vSphere Hypervisor 5.1 (ESXi 5.1) using the vSphere Client

  • vSphere Client Connected to ESXi 5.1 Server

vSphere Client Connected to ESXi 5.1 Server

Once connected to the “default hypervisor home page”, click the Inventory icon, to see the server’s Inventory.
  • Inventory

Inventory

Right Click on the datastore. In this example the datastore name is datastore1. This is the default name given to the datastore on installation, it can be changed. Please refer to Step 4 Conducting a simple task using the VMware vSphere Client in my Andysworld! article  HOW TO: Connect to the VMware vSphere Hypervisor 5.1 (ESXi 5.1) using the vSphere Client
  • Right Click and select Browse Datastore

Right Click and select Browse Datastore

Right Click the datastore name ‘datastore1’ and select Browse Datastore.
  • Datastore Browser window

Datastore Browser window

The Datastore Browser window will be opened, and you can browse the files and folders, that are located on the datastore. If no virtual machines or files are present, this will be empty. To organise your ISO image files, we would recommend you create a folder called isos. Either select the ‘Create A New Folder’ icon, on the ribbon bar, or right-click in the right-hand empty panel, and select New Folder.
  • Create Folder in datastore

Create Folder in datastore

Enter folder name – isos, and Click OK
  • Enter Foldername – isos

Enter Foldername - isos

The isos folder will be shown in the datastore
  • datastore1 with isos folder

datastore1 with isos folder

Select and Double-Click the isos folder to change folders.
  • isos folder

isos folder

2

Uploading the ISO CD-ROM/DVD-ROM image to the datastore ‘datastore1’

Please refer to my Andysworld! Article HOW TO: Create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 5.1 (ESXi 5.1)

  • Upload files to this datastore

Upload files to this datastore

Select the ‘Upload files to this datastore’ icon on the ribbon bar.
  • Select Upload Files

Select Upload Files

Select Upload File…
  • Browse to location of the stored iso image file on your computers hard disk

Browse to location of the stored iso image file on your computers hard disk

Browse to location of the stored iso image file on your computers hard disk, in my example, we have stored the iso image file, in c:isos, from our previous EE Article, the filename is Ubuntu 12.10 amd.iso. Click OK to continue and upload the file.
  • Select Yes to the Upload/Downloading Operation Warning

Select Yes to the Upload/Downloading Operation Warning

Select Yes to the Upload/Downloading Operation Warning.
  • Uploading…

Uploading...

The ISO image file, e.g. Ubuntu 12.10 amd.iso will be upload to datastore1 in the folder isos. This can take several minutes depending upon size and speed of connection to the VMware vSphere Hypervisor 5.1 (ESXi 5.1) host server.
  • datastore1 with iso image

datastore1 with iso image

datastore1 with the ISO image uploaded and stored in the folder isos. Click the X in the top right hand corner to Close the Datastore Browser.

3

Confirming the upload of the ISO image file has been transferred successfully using the MD5 checksum signature

To complete the following step SSH must be enabled and running on your VMware vSphere Hypervisor 5.1 (ESXi 5.1) host server, if SSH is not running you will receive a connection refused message.

To Enable SSH on your VMware vSphere Hypervisor 5.1 (ESXi 5.1) host server, please see my Andysworld! article HOW TO: Enable SSH Remote Access to a VMware vSphere Hypervisor 5.1 (ESXi 5.1)

Connect to the VMware Hypervisor ESXi server via SSH. Using PuTTY a free telnet and SSH client or another SSH client Login and Connect to the VMware Hypervisor ESXi server, using IP address or hostname of the VMware Hypervisor ESXi server, using root username and password credentials. This can also be performed if you have access to the console.

  • PuTTY SSH terminal session

PuTTY SSH terminal session

  • logged in as root to ssh terminal session

    logged in as root to ssh terminal session

You will need to change folder or directories to the location of the iso image file. The VMware VMFS datastores are mapped here /vmfs/volumes. Use the following command to change to the datastore1 datastore and isos folder.
cd /vmfs/volume/<datastore name>/<folder name>
  • change folders

change folders

example :- cd /vmfs/volumes/datastore1/isos
type cd /vmfs/volumes/datastore1/isos in the SSH session window.
  • md5sum

md5sum

When you have successfully changed folders to the location of the isos image file which has been uploaded, use the following command to check the MD5 checksum signature.
md5sum <filename>
example md5sum Ubuntu 12.10 amd.iso
  • MD5 Checksum Signature

MD5 Checksum Signature

type md5sum Ubuntu 12.10 amd.iso in the SSH session window. After several minutes, and the time taken, depends on the size of the ISO image file, and speed of host processor and storage, a MD5 checksum signature will be displayed. The number displayed next to the filename – 7ad57cadae955bd04019389d4b

9c1dcb – is the MD5 checksum signature. Compare this number with the original number computed before the ISO image file was uploaded, if they match, the transfer was successful. If they do not match, repeat Step 2 above.Congratulations, you have successfully uploaded an ISO CD-ROM/DVD-ROM image to a VMware datastore for use with VMware vSphere Hypervisor 5.1 (ESXi 5.1) using the vSphere Client, and checked its MD5 checksum signature is correct.

Post to Twitter

HOW TO: Create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 5.1 (ESXi 5.1)

Wednesday, May 22nd, 2013
In my previous VMware Articles, most featured Intermediate VMware Topics. My next series of articles will concentrate on topics for the VMware Novice; this is the third article in this series.

If you would like to read the other articles in this series,  they are listed here for your convenience.

HOW TO: Install and Configure VMware vSphere Hypervisor 5.1 (ESXi 5.1)

HOW TO: Connect to the VMware vSphere Hypervisor 5.1 (ESXi 5.1) using the vSphere Client

In this series of basic VMware articles for the Novice, I’ll be showing you the basic VMware skills required to install, configure and deploy virtual machines using VMware’s FREE VMware vSphere Hypervisor (ESXi).

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 5.1 (ESXi 5.1).

What is an ISO? (Andy’s Laymen Definition)
An ISO is an image or bit copy of a CD-ROM/DVD-ROM, the ISO is a file, similar to a compressed archived file, this *.iso file contains the data from a CD-ROM/DVD-ROM. The ISO file is a virtual CD-ROM/DVD-ROM. Using an *.iso file has many advantages, some are listed below:-

  • The original CDROM/DVD-ROM can be stored securely, and is no longer required, after an ISO image has been created.
  • Multiple virtual machines can use the same *.iso concurrently.
  • Computers without a CD-ROM/DVD-ROM reader can use the data stored on the *.iso file.
  • Installing OS (operating systems) or transferring data is faster.
1

Prerequisites

  • An original operating system CD-ROM/DVD-ROM
2

Install ISO Recorder

Download ISO Recorder from http://alexfeinman.co/isorecorder.htm We like to use ISO Recorder, because it is a small lightweight application, which integrates into the shell of your OS (operating system). e.g. you right click the CD-ROM/DVD-ROM reader and the option is there to create an ISO.

There are several versions of ISO Recorder to download, ensure you download the correct version for your OS, and the correct version for your processor, as there are 32-bit and 64-bit versions available.

After you have downloaded the correct version, Double-Click the installer program (*.msi) you have download, we will install the Windows 7 64 bit version, which has the filename ISORecorder31x64.msi

  • Welcome to the ISO Recorder Setup Wizard

Welcome to the ISO Recorder Setup Wizard

At the Welcome to the ISO Recorder Setup Wizard dialogue page, Click Next and continue
  • Select Installation Folder.jpg

Select Installation Folder.jpg

At the Select Installation Folder dialogue page select the defaults, and Click Next to continue.
  • Confirm Installation

Confirm Installation

Confirm installation at the Confirm Installation dialogue page, and Click Next to continue.
  • Installation Complete

Installation Complete

The installer will Complete the software installation, it only takes a few seconds to complete. Click Close to complete the installation.

3

Create an ISO image file

  • My Computer

My Computer

Select My Computer.
  • CD-ROM Inserted

CD-ROM Inserted

Insert an original operating system CD-ROM/DVD-ROM into your optical media device.  In this example, we are using an Ubuntu 12.10 DVD-ROM.
  • Right Click the CD-ROM/DVD-ROM

Right Click the CD-ROM/DVD-ROM

Right-Click the CD-ROM/DVD-ROM, and select Create image from CD/DVD.
  • Select Destination for ISO image file

Select Destination for ISO image file

Select a filename and destination folder on your computers hard drive to store the ISO image file and Click Next to continue, this will create an ISO image file.
  • 22 percent complete …

22 percent complete ...

  • 51 percent complete…

51 percent complete...

  • 83 percent complete…

83 percent complete...

The data will be copied from the CD-ROM/DVD-ROM, and the ISO image will be created. This can take several minutes to complete.
  • Completed – Finish

Completed - Finish

Select Finish to complete the operation. The ISO image file has been created.

4

Creating a MD5 checksum signature of the ISO image file

We will use the MD5 & SHA-1 Checksum Utility to create a MD5 checksum signature for our freshly created ISO image file. This is important, so we can compare these signatures, once we have completed the transfer to our VMware host servers, and confirm the ISO image file has not been corrupted in transfer.

  • MD5 SHA-1 Checksum Utility

MD5 SHA-1 Checksum Utility

Double-Click and start the MD5 & SHA-1 Checksum Utility application. Click browse and select your freshly created ISO image file.
  • MD5

MD5

Shortly after selecting the ISO file, the application will start calculating the MD5 and SHA-1 checksums for the file, this can take a few minutes depending upon the size of the ISO image file, which needs to be read.

The MD5 checksum for my Ubuntu 12.10 amd.iso is:-

MD5 Checksum: 7AD57CADAE955BD04019389D4B9C1DCB
SHA-1 Checksum: 8618058554FFD11E317356EC25885BCB8C1D0B36

Generated by MD5 & SHA-1 Checksum Utility @ http://raylin.wordpress.com/downloads/md5-sha-1-checksum-utility

Please note the MD5 checksum value for use with the  VMware vSphere Hypervisor 5.1 (ESXi 5.1)

Congratulations you have successfully created your first ISO (*.iso), and created a MD5 checksum signature for use with VMware vSphere Hypervisor 5.1 (ESXi 5.1).

In my next Article in this series, we will show you HOW TO: Upload and Check the MD5 signature of an ISO CD/DVD image to a VMware datastore using the vSphere Client, for use with VMware vSphere Hypervisor 5.1 (ESXi 5.1)

Post to Twitter

HOW TO: Connect to the VMware vSphere Hypervisor 5.1 (ESXi 5.1) using the vSphere Client

Tuesday, February 26th, 2013
In my previous VMware Articles, most featured Intermediate VMware Topics. My next series of articles will concentrate on topics for the VMware Novice; this is the second article in this series.

In this series of basic VMware articles for the Novice, I’ll be showing you the basic VMware skills required to install, configure and deploy virtual machines using VMware’s FREE VMware vSphere Hypervisor (ESXi).

This article will show you how to connect and complete some basic configuration of the VMware vSphere Hypervisor 5.1 on a computer. VMware vSphere Hypervisor 5.1 is also known as ESXi 5.1.

If you have missed the first article in the series, it’s here: HOW TO: Install and Configure VMware vSphere Hypervisor 5.1 (ESXi 5.1)

1

Download Tools to Manage the ESXi Host Server

  • ESXi 5.1 DCUI (console) when Server has completed the Boot process

ESXi 5.1 DCUI (console) when Server has completed the Boot process

When the VMware vSphere Hypervisor (ESXi 5.1) server is fully BOOTED and started the above screen is displayed. This screen is called the Direct Console User Interface (DCUI). The majority of the management is performed remotely from another Windows computer using software tools called the VMware vSphere Client. You cannot manage or install virtual machines from the ESXi 5.1 server console; this must be completed remotely from another computer.

You can obtain the VMware vSphere Client software package (VMware-viclient-all-5.1.0-786111.exe) from the VMware website, as detailed in the first article of this series:
HOW TO: Install and Configure VMware vSphere Hypervisor 5.1 (ESXi 5.1) or you can download the software from the VMware vSphere Hypervisor (ESXi 5.1) .

Make a note of the IP Address of the server which is displayed on the console, and using a web browser, browse to the web URL http://192.168.10.128. (This is the IP Address displayed on the console screen; your IP address will be different).

The following screen will be displayed, because VMware’s SSL certificate has been “self-signed” the warning is normal. Click Continue to this website. In this example we are using Internet Explorer 10.

  • Connecting to vSphere Hypervisor ESXi 5.1

Connecting to vSphere Hypervisor ESXi 5.1

After clicking continue, the Welcome to VMware ESXi 5.1 screen will be displayed:
  • Welcome to VMware ESXi 5.1 screen

Welcome to VMware ESXi 5.1 screen

Click Download vSphere Client
  • Click Download vSphere Client

Click Download vSphere Client

This link used to download the vSphere Client from the ESXi Host server, but has recently been replaced to a VMware Link (http://vsphereclient.vmware.com/vsphereclient/7/8/6/1/1/1/VMware-viclient-all-5.1.0-786111.exe), so you can either download direct from VMware, or find the link through your ESXi 5.1 server. This does test that your ESXi 5.1 Host basic networking is working correctly.

For the sake of this article, we are going to download the vSphere Client from VMware, using the web link included on the Welcome to VMware ESXi 5.0 page. At the following prompt click Save.

  • Do you want to run or save VMware-viclient-all-5.1.0-786111.exe 347MB from vsphereclient.vmware.com?

Do you want to run or save VMware-viclient-all-5.1.0-786111.exe 347MB from vsphereclient.vmware.com?

Depending upon your Internet download speed, this can take between two and 30 minutes, as it is approximately 350MB in size.

2

Installing the VMware vSphere Client

Once the download has been completed click Run. The setup files will be extracted, and the VMware vSphere 5.1 Client InstallShield Wizard will appear.

  • VMware vSphere 5.1 Client InstallShield Wizard

VMware vSphere 5.1 Client InstallShield Wizard

Click OK to Continue. The following Welcome screen will appear, Click Next to Continue.
  • Welcome to the installation wizard for VMware vSphere Client 5.1

Welcome to the installation wizard for VMware vSphere Client 5.1

That is followed by Next to Continue on the End-User Patent Agreement screen
  • End-User Patent Agreement screen

End-User Patent Agreement screen

Select “I agree to the terms of the license agreement” on the VMware End User License Agreement screen and Click Next to Continue.
  • VMware End User License Agreement

VMware End User License Agreement

Select the Destination Folder. We recommend the Default location C:\Program Files (x86)\VMware\Infrastrucuture\ followed by Next to Continue. (The VMware vSphere Client in this Tutorial is being installed on a 64-bit version of Windows, so this is the reason for the x86 reference. Your location could read C:\Program Files\VMware\Infrastrucuture\).
  • Select Destination Folder

Select Destination Folder

Click Install to Continue at the Ready to Install the Program screen
  • Ready to Install the Program

Ready to Install the Program

Click Finish to Complete the installation of the VMware vSphere Client.
  • Installation Completed

Installation Completed

3

Connecting to the VMware vSphere Hypervisor ESXi 5.1 server

Click the VMware vSphere Client icon on your computer Desktop, or click Start > Programs > VMware > VMware vSphere Client icon

  • VMware vSphere Client icon

VMware vSphere Client icon

Using the VMware vSphere Client, login and connect to the VMware vSphere Hypervisor ESXi 5.1 server, using the IP address or hostname of the ESXi server, using the root username and password credentials.

In this tutorial the IP address of the ESXi 5.1 server is displayed on the console in Step 1. The IP address is 192.168.10.128. Enter the IP address, and username root, followed by the password. Click Login.

  • VMware vSphere Client logon.jpg

VMware vSphere Client logon.jpg

A Security Warning will appear, stating an untrusted SSL certificate is installed on your server. This is normal, because it’s a VMware “self-signed” certificate and can be replaced. (We will cover this in a later article in the series). Click Ignore and Tick the box to Install.
  • Security Warning

Security Warning

Click OK to acknowledge the VMware Evaluation Notice
  • VMware Evaluation Notice

VMware Evaluation Notice

You are now connected to the VMware vSphere Hypervisor ESXi 5.1 Server. Click the Inventory icon, to see the server’s Inventory.
  • vSphere Client Connected to ESXi 5.1 Server

vSphere Client Connected to ESXi 5.1 Server

The following Inventory is displayed. You will notice it states The ESXi host does not have persistent storage. To store virtual machines (often referred to as Guests or VMs, the VMs must be stored and reside on an ESXi host datastore. The VMware vSphere Hypervisor ESXi server has a compatible filing system called VMFS (similar to Microsoft Windows NT/2000/XP/2003/2008/2012/7/8, which has its own filing system called NTFS). There are two versions of VMFS: VMFS-3 for earlier versions of vSphere e.g. 3.x and 4.x, and WMFS-5 for vSphere 5.x.

4

Conducting a simple task using the VMware vSphere Client

In this step, we will complete a simple task using the vSphere Client, this task is to Create a new VMFS datastore, so we can store VMs. This is the minimum configuration requirement for your ESXi host.

  • Click here to create a datastore

Click here to create a datastore

Click “Click here to create a datastore…”

At the Add Storage screen select Disk/LUN followed by Next to Continue, personally we feel the dialgoue box should be called Add New Storage e.g. it’s storage which has never been allocated or presented for use with a VMware server.

  • Select Disk/LUN

Select Disk/LUN

At the next screen select the actual Disk or LUN, pay special attention to the sizes shown. The size should match the size of disk, LUN or array size you have created for your VMFS datastore, followed by Next to Continue. In this tutorial we are going to select the 40GB Disk/LUN, the first entry in the list.
  • Select the Disk or LUN

Select the Disk or LUN

At the VMFS file system version select VMFS-5. Only select VMFS-3 if you require mixed-mode support with versions of ESX/ESXi less than 5.0. Click Next to Continue.
  • File System version

File System version

The Current Disk Layout will be shown. If this is a used disk, it could show other partition types. (NTFS, FAT32, Linux, Swap, ext2, ext3) Click Next to Continue. This is a new disk in this tutorial, so A new partition will be created and used.
  • Current Disk Layout

Current Disk Layout

At the next screen enter the name for the datastore (do not use / \ * # ! @ (non-alpha numeric characters); it will accept them, but you will have issues later. The dash and underscore are okay.) followed by Next to Continue
  • Enter datastore name

Enter datastore name

There are many different types of naming conventions. We like to use name of the server followed by underscore (_) local for local disk, iscsi for iscsi disk, nfs for nfs storage, fibre for fibre channel, a number to indicate disk or LUN id number, followed by VMFS type, e.g. 3 or 5. For example: esxdev009_local1_vmfs5
  • Enter datastore name

Enter datastore name

At the Disk/LUN – Formatting screen, select Maximum available space, and click Next to Continue.
  • Maximum Available Space

Maximum Available Space

Check the Summary screen for the datastore you are about to create and Click Finish to create the datastore.
  • Datastore Summary

Datastore Summary

You are now ready to use your ESXi server.

  • Ready – ESXi

Ready - ESXi

Congratulations you have successfully installed the VMware vSphere Client, Connected to your VMware vSphere Hypervisor 5.1 server, and Created your first VMware VMFS-5 datastore ready to store Virtual Machines.

In the next article in the series, we will connect and continue to configure the VMware vSphere Hypervisor 5.1.

Post to Twitter