In the future, please create a new post rather than writing to an existing post. This thread has derailed for quite a few completely unrelated topics to the original post and it makes it difficult for someone else that may have the same question to discover it.
You should not need more than 8 GB of RAM for our container so I'm a bit confused why you're trying to increase it to allow it to go beyond 15 GB. This isn't something I've needed to do personally. The wslconfig file seems like the appropriate approach based on a quick google search but if there are issues, it would be better suited for a Microsoft forum. We don't support the device configuration required to get the docker container running.
Original Message:
Sent: Fri October 13, 2023 10:53 AM
From: Ritesh Ranjan
Subject: Additional information in the Installing and configuring Maximo Mobile 8.10 for EAM guide?
Hi Steven,
For WSL2, I was trying to configure .wslconfig file for increasing memory allocation for docker desktop. We have 32 GB RAM in the system.
By default, docker desktop shows that it can make use of 15GB maximum.
So in order to increase that, I created .wslconfig file and put it in user profile directory (C:/users/username/).
In .wslconfig file, I mentioned the detail as below:
[wsl2]
memory=25GB
swap=2GB
localhostForwarding=true
After saving the .wslconfig file, I restarted docker, rebooted the machine, but docker desktop still shows that it can only use 15GB only.
Please advise.
Thanks in Advance
------------------------------
Ritesh Ranjan
Tech Lead (Wipro)
Original Message:
Sent: Mon August 14, 2023 04:04 PM
From: Steven Shull
Subject: Additional information in the Installing and configuring Maximo Mobile 8.10 for EAM guide?
WSL2 is the recommended path to running docker on Windows 10/11. If you have docker running directly on Windows (IE not on a VM) you need to have Hyper V or WSL2 enabled. This wiki explains both for installing Docker Desktop on Windows ( https://docs.docker.com/desktop/install/windows-install/ ). If you install docker desktop, it will automatically configure this for you so you may not be aware that it's there.
Our containers don't depend on Hyper-V or WSL2 but you need a fully functional docker environment that supports Linux containers (not just Windows containers like some versions of Windows Server support).
------------------------------
Steven Shull
Original Message:
Sent: Sat August 12, 2023 09:32 AM
From: karishma patil
Subject: Additional information in the Installing and configuring Maximo Mobile 8.10 for EAM guide?
Hi Steven,
What is the purpose of Hyper V or WSL cause we can login without enabling these services too via docker
Can we continue to use MAF application for mobile in docker container without enabling Hyper V or WSL?
Karishma Patil
------------------------------
karishma patil
Original Message:
Sent: Fri August 11, 2023 12:58 PM
From: Steven Shull
Subject: Additional information in the Installing and configuring Maximo Mobile 8.10 for EAM guide?
The applications/maximo/maxmobile directory structure was related to the WAR we had in 8.7 and earlier versions. Starting in 8.8 that was removed. If you had upgraded from earlier versions there was a manual step required to remove it (since we're just extracting a zip over the install). Removing the mobile web module from Maximo Mobile 8.8 . The only purpose of this WAR was to download the MOBILELOGIN application since that needed to be downloaded without authentication. We instead enhanced our REST API to support retrieving this application without the need for a WAR.
Unable to connect could be a variety of things. The first thing to check is to ensure you're using the properly formatted URL. It should look something like https://mydomain.com/maximo (or if you use an alternative context to /maximo use that). You should not have anything after /maximo and need to include the /maximo. Earlier versions of the configuration utility would automatically add /maximo so you could get away with just providing the domain. But we changed this around the 8.8 timeline (can't remember if it was 8.8 or 8.9) to support users with other contexts than /maximo.
Assuming it is not the issue above, the docker container will often log useful information. For example, if you have a self-signed SSL certificate or one that isn't trusted by the docker container you will need to disable SSL validation by setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable. We documented that here: Running the Docker image .
Other things to check are to ensure that your docker container can connect to the server. If you need a VPN to access the application for example, your VPN may not allow traffic from the container. Or you may have issues resolving the DNS and need to use IP address instead.
Once you're able to connect, make sure the system property mxe.oslc.webappurl is set correctly. I see customers that have this as the default localhost or have refreshed a lower environment without updating it. Some of our actions (such as duplicating an application) will use this URL and will fail if it's not set correctly.
------------------------------
Steven Shull
Original Message:
Sent: Fri August 11, 2023 08:42 AM
From: Bincy Jose
Subject: Additional information in the Installing and configuring Maximo Mobile 8.10 for EAM guide?
Hi Steven,
Could you please clarify the folder structure which we should verify in Maximo root folder to conclude a successful installation on Maximo mobile for EAM 8.10 with Maximo 7.6.1.3.
We have seen that "applications\maximo\maxmobile" folder structure for Maximo Mobile for EAM 8.8 version. Should that be the same for Mobile 8.10 as well?
Checking the same since we are facing the issue like "Unable to connect" to Maximo using MAF configuration application.
Also would like to understand if Hyper-V feature and nested virtualization is mandatory for the Mobile for EAM 8.10 to connect using MAF.
Thanks,
Bincy
------------------------------
Bincy Jose Maximo Consultant
Original Message:
Sent: Mon June 12, 2023 08:52 AM
From: Steven Shull
Subject: Additional information in the Installing and configuring Maximo Mobile 8.10 for EAM guide?
8.8 & 8.9 we were missing the security template for inventory counting but it should exist in 8.10 or higher along with the new receiving application. I am sorry this was missing on your version because it is a bit of a pain to figure out without looking at the app.xml for the application.
------------------------------
Steven Shull
Original Message:
Sent: Fri June 09, 2023 10:18 PM
From: Patrik Nilsson
Subject: Additional information in the Installing and configuring Maximo Mobile 8.10 for EAM guide?
Hi,
Been looking in to the guide for 8.9 & 8,10 and I believe chapter 7 missing some information around the "new" inventpry applications.We got some issues when loading data to the mobile as we where missing read in an OS.
In Chap 7 the work mgmt apps are described i.e. Table 9 that will guide you in how to set up Maximo OS security. (Technician and Approvals applications object structures, query information, and security authorizations) also the function to apply "Manage / Apply template." - "Object Structure Authorization" is empty under Security groups. Or is that part only used for Work Centers?
// Patrik
------------------------------
Patrik Nilsson
------------------------------