Informix NoSQL Instance setup on SoftLayer:
This blog explains step by step instructions to Create an instane on the SoftLayer, Connecting to the instance, Setting up Informix server and connecting from the Mongo Shell. You need to have an account setup on Softlayer and have a Informix product file to install on the cloud
1) Creating an instance on the SoftLayer Cloud:
Register for the SoftLayer service and log on to the portal using the web address "https://manage.softlayer.com"
From the portal home, navigate to the computing page
While on Computing page, click on "Public Images"
Go to the last page of the public images and choose "25GB Cent OS 64-bit" image and click "ORDER"
You can choose either "Monthly" or "Hourly" based on your expected length of use.
You can customize the instance configuration based on the requirements in the next two screens. For the demo here, I am choosing the default instance configuration which is 1 core, 1GB RAM and 25GB disk space.
In the Data center selection, you will need to choose any data center preferably the one that is closer to you and continue with the order.
In the next section, it is required to provide the complete host name for the new instance with domain name extension. For example, host1.domain.com. It is recommended to name the host to easily identify from the server list.
Accept the terms and conditions and Finalize the order. The next screen will provide the receipt for the instance order.
Navigate back to the computing page Virtual -> Computing
Note the new instance just got added under the virtual server list with status as "transaction in progress". Wait until the machine comes out of this state.
2) Connecting to the SoftLayer Instance:
Click on the new instance name to view the summary of the instance. This will provide the public ipaddress and root password for the instance for connection.
Connect to the instance from either Unix or Windows workstations.
Unix:
ssh root@50.23.88.238
Windows:
By using putty or any other terminal program to connect to the softlayer instance using ssh.
3) Installing Informix on the SoftLayer Instance:
In order to install the Informix server on the cloud instance, first we need to copy the media file over to the instance.
You can copy any file from the local file system over to the cloud instance by using
scp myfile root@50.23.88.238:/tmp
From the local host copy the Informix product media file over to the cloud instance
scp iif.12.10.tar root@50.23.88.238:/tmp/myfile .
Simiarly, if you need to copy any file from the cloud instance to local filesystem ...
scp root@50.23.88.238/tmp/myfile /tmp/myfile
On the SoftLayer instance run the following:
mkdir /ids /ids/sqldist /ids/media
groupadd -g 200 informix
useradd -u 200 -g 200 -s /bin/bash -m -d /home/informix​ -g 200 -p "inJ9202tBPozQ" informix
if you have the Informix bundle media file ....
if you have the server media file ....
./installserver -i silent -DUSER_INSTALL_DIR=/ids/sqldist -DLICENSE_ACCEPTED=TRUE -DIDS_INSTALL_TYPE=TYPICAL
Source the Informix server environment:
$ . /ids/sqldist/ol_informix1210.ksh
4) Connect from the Mongo Shell:
Now you can connect to the Informix NoSQL instance running on the SoftLayer from your local Mongo Shell on the 27017 port.
You are all set to use Informix NoSQL running on the SoftLayer Cloud!!