IBM / ansible-role-infosvr

Ansible role for automating the deployment of IBM InfoSphere Information Server
Apache License 2.0
15 stars 12 forks source link

WARNING: Ensure that the operating system has at least 8 GB memor #28

Closed Ramnikov closed 4 years ago

Ramnikov commented 4 years ago

When I running the role on CentOS 7 i get the bellow error:

WARNING: Ensure that the operating system has at least 8 GB memory. Found 7.638 GB memory. If you continue the install, The installation program might not complete successfully. This system should not be used for Production until memory has been added.

As a result DB2 installation fails. The same happens with WebSphere even if I set the memory to 16GB.

2020-10-03T13:38:09.708, SEVERE: com.ibm.is.install.engine.requirement.RequirementCheckingVistor WARNING: Ensure that the operating system has at least 8 GB memory. Found 7.638 GB memory. If you continue the install, The installation program might not complete successfully. This system should not be used for Production until memory has been added. 2020-10-03T13:38:09.708, SEVERE: com.ibm.is.install.Installer^M com.ibm.is.install.exception.RequirementsNotMetException: CDIIN4228E: Some of the installation requirement checks failed. Specific failure information will be found in preceding error messages. at com.ibm.is.install.engine.requirement.RequirementCheckingVistor.visitRequirement(RequirementCheckingVistor.java:47) at com.ibm.is.install.engine.requirement.RequirementsReport.accept(RequirementsReport.java:50) at com.ibm.is.install.AbstractInstaller.checkRequirements(AbstractInstaller.java:887) at com.ibm.is.install.AbstractInstaller.recoverAndExecutePlan(AbstractInstaller.java:691) at com.ibm.is.install.AbstractInstaller.execute(AbstractInstaller.java:414) at com.ibm.is.install.Installer.main(Installer.java:107)

cmgrote commented 4 years ago

Hi @Ramnikov -- in general you can have the system ignore these check failures by setting the following override in the vars (defaults/main.yml or your own override file):

ibm_infosvr_force:          # Set to true to force installs (ignore errors or warnings)
  repo: True
  domain: True
  engine: False
  client: False
  patch: True

This will override any errors or warnings for installing the repository tier (DB2), the domain tier (WAS) and any patches. If you want to do the same for either the engine or client tiers, just swap those to True as well.

Ramnikov commented 4 years ago

Many Thanks. This solved the issue. I would suggest in your Vagrant file to add the following:

Vagrant.configure(2) do |config|

config.vm.define "infosvr" do |infosvr| infosvr.vm.box = "centos/7" infosvr.vm.network "private_network", ip: "192.168.27.12" infosvr.vm.network "forwarded_port", guest: 9043, host: 9043, auto_correct: true
infosvr.vm.network "forwarded_port", guest: 9446, host: 9446, auto_correct: true

infosvr.vm.hostname = "infosvr.vagrant.ibm.com" infosvr.vm.synced_folder ".", "/vagrant", disabled: true infosvr.vm.provider "virtualbox" do |vb| vb.gui = false vb.memory = 16384 vb.cpus = 4 end end

end

cmgrote commented 4 years ago

Sounds reasonable (I haven't used the Vagrant piece in a very long time)... would you care to submit a PR with the changes?

Ramnikov commented 4 years ago

isssue fixed