Install Worklight server 6.1 fails - ibm-mobilefirst

Windows 7 64 bit
Worklight 6.1 server installation image (IM Repository)
Attempted with 2 different versions of IM 1.5.2, and 1.7
WAS 8.0 (Already Installed)
Selected derby database option (No production env)
See full log here: http://pastebin.com/7GeYvL5e

We were successful in installing WL6.1 server with app-store using Liberty 8.5 as the hosting application server. It appears our issue was in trying to use an existing WAS 8.0 installation

Related

Hyper-V machine version

I have a cluster with Hyper-V machines version 5.0 and 8.0. I want to replicate these to another server. This server was a Windows 2012R2, but to receive the 8.0 machine, i did an in-place upgrade to Windows 2016.
I have been fighting with replicating. I received an error "Hyper-V failed to enable replication for virtual machine - The request is not supported" with an errorcode of 0x80070032.
After a lot of investigation, i have found out, that i am missing the 8.0 machine configuration:
PS C:\Users\administrator.CBIT> Get-VMHostSupportedVersion
Name Version IsDefault
---- ------- ---------
Microsoft Windows 8.1/Server 2012 R2 5.0 True
Prerelease 254.0 False
Experimental 255.0 False
C:\Users\administrator.CBIT>ver
Microsoft Windows [Version 10.0.14393]
If I create a new machine I get the wizard with the 2. generation question. Some how the Hyper-V manager is the new version. But it will still store an version 5.0 configuration file.
How do i get the Hyper-V running version 8.0?
Thanks
Thomas
The solution was to raise the Cluster Functional Level from 8 to 9. After this version 8.0 was accepted.
'''
Get-Cluster -Name localdemo.demo.local | Update-ClusterFunctionalLevel
'''

IBM Worklight/Mobilefirst migration from worklight 6.1 to mobilefirst 7.1

I am planning to migrate an existing worklight 6.1 application to mobilefirst 7.1.Currently three versions of application are running.
I am following this as my reference :
http://www.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.upgrade.doc/devenv/c_upgrade_to_srvr_in_production_env.html
But I am going to do some process change in this process because I have a fresh server for mobilefirst 7.1.
As in mobilefirst 7.1, there are many changes in workligth db in compare to worklight 6.1, I will create a configuration first on mf server using server configuration tool. Then I will create a runtime environment for my application with lates mobilefirst 7.1 war.
But while doing that if I give reference of older database(worklight 6.1) as database in server configuration tool for migration , are all version which are currently running on worklight will run without error on mobilefirst 7.1?
Should I keep contextroot of mf runtime same as worklight (previous) ?
All I want is older versions to be up and running after this deployment.
I will enable mf server on same Domain/IP which is configured with worklight 6.1 server.
But while doing that if I give reference of older database(worklight 6.1) as database, are all version which are currently running on worklight will run without error on mobilefirst 7.1?
Not sure what you mean here... You can't have a 7.1 server with a 6.1 database.
What you can have is an application server (liberty, was, tomcat, ...) that runs TWO MobileFirst war files: that of 6.1 and that of 7.1, so that existing 6.1-based apps will continue working as-is, and 7.1 new clients will connect to the new server...
When you have the two servers running, you can then start "migrating" users by blocking the 6.1 app in the MobileFirst Console to the 7.1 version of the app.
If you need further assistance with this, you should open a PMR. Stack Overflow is not the place for this type of question, plus you may need official support, which, again, that's what a PMR is for.

PHP 5.5 and MSSQL driver: Installing ODBC Driver 11 in Windows Server 2012 R2

I have a Windows Server 2012 R2 with IIS 8.5, and another server with MSSQL 2012. I must install PHP in IIS and connect to MSSQL, and I don't have Internet available for Web PI.
I managed to install PHP 5.5 and I'm able to run phpinfo(), and I also assured that php.ini is being loaded from C:\php\php.ini.
I was also able to load sqlsrv driver, it reports in example sqlsrv.ClientBufferMaxKBSize 10240 10240.
But when I execute a php file that connects to DB, I get a message
This extension requires the ODBC Driver 11 for SQL Server. Access the following URL to download the ODBC Driver 11 for SQL Server for x86: http://go.microsoft.com/fwlink/?LinkId=163712
I went to that site and it says
Supported operating systems for version 3.1 of the driver include Windows Server 2012 R2`.
It says
Version 3.1 requires Microsoft ODBC Driver 11 (or higher) for SQL Serverand points tohttp://www.microsoft.com/en-us/download/details.aspx?id=36434`.
In that page, in System Requirements, WinServer 2012 R2 is not listed. When I try to install msodbcsql.msi I get message
Installation of this product failed because it is not supported on this operation system. For information on supported configurations, see the product documentation.`
Well I'm now stuck. I need PHP in WinServer 2012 R2 and IIS 8.5 connecting to MSSQL 2012. But its driver requires ODBC 11, which seems to not support latest WinServer.
Is there any hope, or will I need to wait for Microsoft to support its own OS in its own drivers?
Be sure to download the 1033\x64\msodbcsql.msi (4.4 MB) installer. Even though you are using PHP x86, you need the x64 installer since the OS is x64. I had the same issue and my app now works with PHP x86 after installing the x64 installer.

installing IBM Worklight Server

I have downloaded the IBM Worklight Enterprise Server, trying to install Worklight server with Apache Tomcat and deploy my worklight application in my remote server.
It is mentioned in the readme file, that I need "IBM installation Manager" to install the "IBM Worklight Server".
I downloaded the IBM installation Manager and followed the steps in the readme file and installed the Worklight server in my local machine.
Installed Apache Tomcat in my remote machine and copied the worklight- jee-library.jar to the $TOMCAT_HOME/lib directory.
Is this the right way to install IBM Worklight server ?, or is there any other way to install "IBM Worklight Enterprise Server" in my remote machine from the command line ?
I am stuck at this place
Any help would be greatly appreciated.
Thanks
Suren
No, it is not the right way. Specifically, you should not copy anything into Tomcat. The installation does it for you.
The steps to follow are
Install the IBM Installation Manager version 1.5.2 and onward (available on the web). This is a one time step.
Download the Worklight server package from IBM
Point the IBM Installation Manager to the Worklight server package (File - Preferences in main screen).
Start the installation.
The installation will ask you for a path to Tomcat and will install everything that is needed inside Tomcat.
If your server does not have a GUI, the steps 3 and 4 are replaced by the so-called silent installation.
Quite often you won't have access to the server GUI but you can simply redirect the X display output to your desktop and launch IM. Ie. if you are running Linux export DISPLAY=xxx.xxx.xx:0.0
If you are running Windows just use Exceed.

Why does IIS 8.0 identify itself as 7.5 via WMI?

My web application's installer does some configuration via WMI, and in order to handle different versions will ask IIS for its version with code like:
DirectoryEntry folderRoot = new DirectoryEntry("IIS://localhost/W3SVC/Info");
Version iisVersion = new Version((int)folderRoot.InvokeGet("MajorIIsVersionNumber"), (int)folderRoot.InvokeGet("MinorIIsVersionNumber"));
Server 2012 and Windows 8 both return 7.5 for this, even though the official version is 8.0. This wouldn't be so much of a problem, except that this is the same version that windows 2008 reports. Why is this, and is there a better resolution than checking the OS version?