Vous êtes sur la page 1sur 32

StoredIQ and ESXi

This document shows the installation of ESXi in a lab and subsequent


installation of StoredIQ and Configuration

Pre-Requisites
Vmware Workstation installed
About 200GB free disk space
ESXi media
vSphere Client installed or the media
Modicum of computer literacy

INSTALLING ESXi

To get to this point we have simply created a


VM in workstation, connected the ESXi ISO
and booted the server

Select ESXI-5.5.0-1331820-standard installer

A number of confirmation and splash screens


will appear

INSTALLING ESXi

Press Enter to confirm installation

Accept EULA

Choose a location to install ESXi in this


instance we only have a single disk this
could well vary in a real installation

INSTALLING ESXi

Select a keyboard layout

Enter a root password

Confirm Install

INSTALLING ESXi

You will get a Installation Complete dialog


confirm and press Enter to reboot

Once reboot is complete you will see the ESXi


status screen

INSTALLING ESXi

Now we need to logon and change the


Network Configuration

Press F2 to customize system this will bring


up the authentication box
Enter root and the password set earlier

Use the arrows to scroll down to Configure


Management Network and press enter

INSTALLING ESXi

Use arrows to select IP Configuration

Enter valid IP Configuration for your network


and press Enter

Once Complete you should see the IP


Configuration displayed correctly

INSTALLING ESXi

Press Escape to exit that page you will see


the following confirmation dialog

Press Escape again to exit System


Configuration, you can of course change more
settings such as DNS / Hostname etc we are
not doing that in this exercise.

INSTALLING ESXi

Lastly check you have access to the ESXi


server

Via the web interface

And the vSphere Client

NOTE you are likely to need to add more


datastores depending on what you intend to
deploy.

Deploying OVA (OVF Template)

StoredIQ is deployed via OVA / OVF Templates


they contain all the VM configuration and
disks which include Operation Systems and
software.

There are 3 OVAs


Application Server
Gateway Server
Data Server

Logon to ESXi box from the vSphere client

From the file menu select Deploy OVF


Template

Use the Browse button and select the


template

Click Next

Deploying OVA (OVF Template)

A summary of the template is displayed click


Next

Enter a name for the virtual machine and click


next

Deploying OVA (OVF Template)

On the Disk Format you need to decide


whether thick or thin provisioned format is
going to be used we are using thin since its
for a lab.

Click Next and Next on the Ready to complete


page

A status and complete dialog will be displayed

Data Server Disk Changes

By default the Data Server OVA has a 1.9TB


disk, this should be changed now if required

This is done most easily by removing the


second disk and creating a new one.

Right click the VM and select Edit Settings

Select Hard disk 2 1.9TB SCSI(0:1)

Click Remove make sure to delete the files


from the disk at the same time

You will be left with 2 disks

Data Server Disk Changes

Now click Add to pop up the Add Hardware


dialog

Select Hard Disk

Create a New virtual disk

Enter a size, thin or thick and a datastore


location

Make sure the Virtual Device Node is SCSI


(0:1) and click Next

Data Server Disk Changes

Click Finish on the ready to complete page

The drive will appear click OK

Configure the Application Server

First off check that is on the correct Network


you can check this from the summary page
or by editing the settings of the VM

Power on the VM and open the console

When ready the Ubuntu EULA should be


displayed

Select I agree and press Enter

Do the same for the IBM EULA

Configure the Application Server

Enter a password for the root user

Then at the prompt logon using root and the


new password

Now we edit the /etc/network/interfaces file


to configure the IP settings for the machine

Configure the Application Server

You start with the Ethernet card using DHCP

After editing it should look something like this


a static IP Address there are other settings
you can add here if required
dns-nameserver etc

Configure the Application Server

Save the file and restart the networking


service
/etc/init.d/networking restart

Once done you can check the network


settings using
ifconfig

We also can check this by opening a SSH


session to the VM use putty. This does two
things 1. confirms the network config is
correct since we are not using the VM console
2. its easier than using the console for cut
and paste resizing the window etc.

Configure the Application Server

Now we are going to give the server a realistic


name

We need to change this in the /etc/hosts and


the /etc/hostname file this is followed by a
reboot

Use vi to edit the file


vi /etc/hosts

You can see here the before and after


we can also add hostname of the other
SIQ servers

Save the file and exit

Configure the Application Server

Similarly for the hostname file

vi /etc/hostname

See the before and after and save the


file

Lastly reboot the server you can use


reboot ; exit

When rebooted you will see the new


hostname at the prompt

Configure the Dataserver and Gateway


The Data Server and the Gateway are the
same follow the same process for both

Power on the server and open the console

Agree to the CentOS EULA

Agree to the IBM EULA

Configure the Dataserver and Gateway

Next enter the IP configuration information

You will need

Hostname
Corporate IP
Netmask
Gateway
Primary DNS host

Click Next when complete

On the next screen enter the root password


and click Next

Configure the Dataserver and Gateway

The server will configure itself and reboot you


will be left with a logon prompt

From here we will use SSH and putty

Configure the Dataserver and Gateway

The last step is simply to update the


/etc/hosts file if required. Do this on the GW
and DS (we did the AS earlier)

Configure the StoredIQ Platform

This is the final stage here we simply tell the


server about each other.

Start on the AppServer


Open up SSH (putty)
vi /etc/siq/gateway.yaml

Now we change the default 0.0.0.0 to


point at the real gateway
192.168.152.32 or gw31

:%s/0.0.0.0/gw31/g

Save the file and restart services

Configure the StoredIQ Platform

On the gateway

Reset the appliance guid

Python
/usr/local/storediq/bin/util/reset_appliance_
guid.pyc

Tell the gateway its a gateway

/usr/local/siqtransport/setconfig.sh gateway

Restart the services


service deepfiler restart

Gateway config is complete

Configure the StoredIQ Platform

On the dataserver

Reset the appliance guid

Python
/usr/local/storediq/bin/util/reset_appliance_
guid.pyc

Tell the Dataserver its a Dataserver


Double click the new GUID as shown, this
puts it in the buffer of the putty shell

/usr/local/siqtransport/setconfig.sh server
appliance-guid=xxxxxxxxxxxxxxx dispatcherhost=ipaddress
ipaddress is the ipaddress or name of
the Gateway

Restart the services


service deepfiler restart

Dataserver config is complete

Configure the StoredIQ Platform

On the Gateway

Confirm DataServer connection


List Data Server(s)
#python
/usr/local/siqplatform/util/list_data_server
s.py
Validate the list against actual Data Server
GUID and IP address
Connected column should have a True
value

SIQ config is complete

Systems Check

Finally we check that we


have access to the
Appserver and Dataserver

For the appserver open a


browser to the login page

http://192.168.152.31

Check you can logon with


default username and
password

superadmin
admin

Systems Check

For the Dataserver user


https

https://192.168.152.33

superadmin
admin