As an alternative to installing on an ESX server, the IBM®
StoredIQ® gateway, data server, and application stack can be installed on Microsoft Hyper-V. This option is not supported for the Elasticsearch virtual appliance.
Before you begin
Installing
IBM
StoredIQ on Microsoft Hyper-V requires the use of third-party software. For the procedure described here, the following software prerequisites must be met:
- Microsoft Hyper-V Manager must be installed on a Windows system.
- 7-zip for Windows or tar for the Linux operating system must be available to extract contents of the OVA.
- Microsoft Virtual Machine Converter 3.0 (Windows) or qemu-img (Linux) or must be
installed to convert the files from VMWare .vmdk files to Hyper-V
.vhd files.
About this task
Microsoft Hyper-V does not support OVAs and OVFs. The virtual machine needs to be built manually.
Consider the following instructions a sample procedure. The instructions might differ depending on the version of the third-party software.
Procedure
Complete these steps for the gateway, the data server, and the AppStack. The following procedure describes the
steps for the AppStack but is similar for
the gateway and the data server. Differences for these components are explicitly called out in a
step.
-
Extract the vmdk file from the OVA.
- Download the OVA.
- Extract the contents of the OVA by using 7-zip for Windows or tar for the Linux
operating system.
Each
IBM
StoredIQ
OVA contains multiple
vmdk files that are consecutively numbered. For the
AppStack, for example, the file names look
like this:
- xxxxxxx0.vmdk
- xxxxxxx1.vmdk
- xxxxxxx2.vmdk
- Delete everything except the vmdk files when the OVA extraction
is complete.
- Convert all vmdk files to Microsoft Hyper-V
vhd files.
Use this naming convention for the converted files:
component-diskn.vhdcomponent
is as for the AppStack,
gw for the gateway, and ds for the data server.
n equals the number of the vmdk file you're
converting.
For instructions about converting
vmdk files to
vhd files, see the following links:
- Build a virtual machine by using the first vhd
file.
For the AppStack, for
example, the file to use is as-disk0.vhd.
- Select from Hyper-V Manager.
- Enter the name of the virtual machine in the Specify Name and
Location window and click Next.
- Select Generation of the machine in the Specify
Generation window.
- Enter the startup memory in the Assign Memory
window.
- Select the correct network in the Configure Network window and
click Next.
- Select Use an existing virtual hard disk in the
Connect Virtual Hard Disk window. Search the disk location, select one of the
primary disks, and then click Next.
- Click Finish.
- Do not start the virtual machine yet, but add the remaining
vhd files to the virtual machine by updating the VM settings.
For
example, add the as-disk1.vhd and as-disk-2.vhd files for
the AppStack. You must add the files in the
sequence indicated by the number assigned to the vmdk file.
- For the gateway or a data server, start the virtual machine.
Gateway
and data servers should then be in the initial boot process. Complete their respective configuration
as described in
Configuring the gateway and
Configuring the data server. For gateway and data server, you can skip the rest of the
procedure.
For the AppStack, continue
with step 5.
- Start the virtual machine in rescue mode.
Errors
might occur during the boot process. In this case, keep entering exit until
you enter the initial boot process for the AppStack.
- Complete the AppStack
configuration as described in Configuring the application stack.
After the
configuration is complete, the virtual machine is automatically restarted. During this boot process,
make sure the machine is started in rescue mode.
- Log in to the AppStack.
- Check the status of the AppStack services by entering the following command:
systemctl list-dependencies appstack.target
All service should be green. However, if you didn't enable secure gateway communication,
appstack-stunnel.service will be red.
- Check the /var/siq/log/nucleus.log file.
Wait
until you see the message All services are ready before you continue.
- Rebuild the initial RAM disk images for preloading modules by using this
command:
- Restart the virtual machine in regular mode.