Search This Blog

Wednesday, January 31, 2024

MAS Manage - Adding trusted certificates in the user interface

Add certificates through the user interface when you configure Maximo Manage Maximo Health for deployment. The format of the certificate must be PEM.

Procedure

  • Add certificates.
    1. Log in to IBM Maximo Application Suite as a system administrator.
    2. From Suite administration, select Workspaces from the side navigation menu and then select the workspace that you want to configure.
    3. On the Overview tab for the workspace, select the Manage tile.
    4. On the Manage panel, click Actions and select Update configuration.
    5. In the Imported certificates row on the Update Manage configuration window, click the Edit icon.
    6. In the Imported certifications section, click Add to add a certificate.

You might have to disable the System managed switch before you can add a certificate.

    1. Specify the certificate alias and copy and paste the contents of the certificate.

Each alias name must be unique within the workspace.

    1. Click Confirm to save your changes.
    2. Select one of the following options:
      • If you are configuring a new deployment, click Activate.
      • If you are updating a deployment, click Apply changes.
  • Add certificates.
    1. In IBM Maximo Application Suite click Administration and then click Catalog.
    2. Select the Manage tile.
    3. On the application details page, click Actions and select Update configuration.
    4. In the Imported certificates row on the Update Manage configuration window, click the Edit icon.
    5. In the Imported certifications section, click Add to add a certificate.

You might have to disable the System managed switch before you can add a certificate.

    1. Specify the certificate alias and copy and paste the contents of the certificate.

Each alias name must be unique within the workspace.

    1. Click Confirm to save your changes.
    2. Select one of the following options:
      • If you are configuring a new deployment, click Activate.
      • If you are updating a deployment, click Apply changes.

Reference Link : https://www.ibm.com/docs/en/mas-cd/maximo-manage/continuous-delivery?topic=administering-trusted-certificates

Tuesday, January 30, 2024

How to import attachments into MAXIMO using MIF

 How to upload file using MIF (Maximo Integration Framework)?

  1. Create Object Structure.

You have two scenarios:

  1. Send only the attachment using table DOCLINKS.
  2. Send the attachment owner with DOCLINKS table, like WORKORDER,SR, ITEM, etc. To know if the desired table is supported, a tip is execute query below:

select parent from maxrelationship where child = 'DOCLINKS';

Observation: You can also create an Enterprise Service, but in this example, we will use only Object Structure.

 

  1. Create Web Service.

I am not going to enter in every detail of Web Service creation. You just need to create and deploy Web Service. You can do that using Web Services Library application.


  1. Submit the XML.

You can use any tool to submit XML into Web Service. I usually use SoapUI, it’s simple and easy to use.

https://www.soapui.org/
 

The XML below is just a sample having the required attributes.

XML:

  1. Scenario 01: In this scenario you are going to upload the file to the server into doclinks folder. (In my case C:\doclinks\attachments)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:max="http://www.ibm.com/maximo"&gt;
   <soapenv:Header/>
   <soapenv:Body>
      <max:SyncMXDOCLINK>
         <max:MXDOCLINKSet>
              <max:SR action="AddChange">
               <max:DESCRIPTION >Test 01 SR description</max:DESCRIPTION>
                <max:ORGID>EAGLENA</max:ORGID>
                <max:SITEID>BEDFORD</max:SITEID>

                 <max:DOCLINKS>
                  <max:ADDINFO>1</max:ADDINFO>
                  <max:COPYLINKTOWO>0</max:COPYLINKTOWO>
                  <max:DESCRIPTION>Example of Attach </max:DESCRIPTION>
                  <max:DOCTYPE>Attachments</max:DOCTYPE>
                  <max:DOCUMENT>Test 01</max:DOCUMENT>
                  <max:DOCUMENTDATA>MTIzMTMyMzE=</max:DOCUMENTDATA>
                  <max:OWNERTABLE>SR</max:OWNERTABLE>
                  <max:UPLOAD>1</max:UPLOAD>
                  <max:URLNAME>C:\DOCLINKS\ATTACHMENTS\testfile01.txt</max:URLNAME>
                  <max:URLTYPE>FILE</max:URLTYPE>
               </max:DOCLINKS>

            </max:SR>
         </max:MXDOCLINKSet>
      </max:SyncMXDOCLINK>
   </soapenv:Body>
</soapenv:Envelope>

 

Reference Link : https://www.ibm.com/support/pages/how-import-attachments-maximo-using-mif 

 

IBM MAS - Getting the Manage admin Docker image

 Getting the Manage admin Docker image:

Prerequisites for this activity. Use the following steps to install Docker.

1.       Install Docker from https://docs.docker.com.

2.       Make sure that the docker daemon is running.

Procedure

1)         In your Linux® terminal, run the oc login command.

$ oc login --token=sha256~yLcd9N_ih1UX7tGcq9REywmoliEGvK4R-rtDu_xxxxx --server=https://api.mas-app-sb123.cp.fyre.ibm.com:6443

2)      Expose the internal registry to external using Route.

$ oc patch configs.imageregistry.operator.openshift.io/cluster --patch '{"spec":{"defaultRoute":true}}' --type=merge

3)      Verify the internal registry route hostname.

$ oc get route -n openshift-image-registry

NAME            HOST/PORT         PATH  SERVICES        PORT      TERMINATION      WILDCARD

default-route   default-route-openshift-image-registry.apps.mas-app-sb1.cp.fyre.ibm.com         image-registry  all       reencrypt        None

image-registry  image-registry.openshift-image-registry.svc        image-registry  5000-tcp  reencrypt        None

4)      Log in by using the default registry route hostname.

docker login -u <user_name> -p $(oc whoami -t) default-route-openshift-image-registry.apps.<clustername>.<basedomain>

$ sudo docker login -u kubeadmin -p $(oc whoami -t) https://default-route-openshift-image-registry.apps.mas-app-sb123.cp.fyre.ibm.com

Remember: If you get x509: certificate signed by unknown authority error message, then you must place the Router trusted CA on your host.

5)      Extract the CA from Red Hat® OpenShift® Container Platform cluster, where the registry is configured.

$ oc extract secret/router-ca --keys=tls.crt -n openshift-ingress-operator

6)      Perform on the node, where the image pulling throws x509 error.

$ sudo cp tls.crt /usr/local/share/ca-certificates/.

$ sudo update-ca-certificates

7)      Make sure that the docker daemon is running.

$ ps -aux | grep dockerd

root       203  0.0  0.0  10508  4232 pts/0    T    01:28   0:00 sudo dockerd

root      2397  0.0  0.0  11016  4612 pts/1    S    16:49   0:00 sudo dockerd

root      2398  0.0  0.4 1538160 111260 pts/1  Sl   16:49   0:07 dockerd

sarika    3999  0.0  0.0   8160   724 pts/1    S+   23:26   0:00 grep --color=auto dockerd

 8)      Pull admin docker latest image: docker pull <Public image Repository> From the Manage project in OpenShift console, get the Public Image Repository value from the <instanceid>-<workspaceid>-admin in ImageStreams under Builds.

$ sudo docker pull `default-route-openshift-image-registry.apps.mas-app-sb1.cp.fyre.ibm.com/mas-sb1-manage/sb1-masdev-admin`

 9)      Get Image ID: docker images

$ sudo docker images

REPOSITORY                                       TAG      IMAGE ID      CREATED      SIZE

default-route-openshift-image-registry.apps.mas-app-sb1.cp.fyre.ibm.com/mas-sb1-manage/sb1-masdev-admin  latest   c0e655398e6b  3 weeks ago  7.87GB

 10)   Run the docker pulled admin image docker run -d <image id>.

$ sudo docker run -d c0e655398e6b

1f2dfad8d3c813792798dc1f220bf27b7935f604c4817f47346a1f96e2336a92

time="2021-06-26T16:54:46.067182200-04:00" level=info msg="starting signal loop" namespace=moby path=/run/docker/containerd/daemon/io.containerd.runtime.v2.task/moby/1f2dfad8d3c813792798dc1f220bf27b7935f604c4817f47346a1f96e2336a92 pid=2832

 11)   Get the container ID for the pulled admin image. docker ps -a

$ sudo docker images

REPOSITORY                  TAG      IMAGE ID      CREATED      SIZE

default-route-openshift-image-registry.apps.mas-app-sb1.cp.fyre.ibm.com/mas-sb1-manage/sb1-masdev-admin  latest   c0e655398e6b  3 weeks ago  7.87GB

12)   Copy the Manage code locally.

$ sudo docker cp d3544a11901e:/opt/IBM/SMP/maximo/latest.zip /mnt/c/temp/.

13)   Optional: Run tools such as integrity checker.

docker exec -it <container id> /bin/bash

Update the Maximo properties in /opt/IBM/SMP/maxio/applications/maximo/propertiesfolder.

Execute /opt/IBM/SMP/maxio/applications/maximo/validate_integ.sh.

Reference Link : https://www.ibm.com/docs/en/mas-cd/continuous-delivery?topic=preparing-getting-manage-admin-docker-image

Monday, January 29, 2024

Applying Customization Archive into IBM Maximo Manage

 Reference Link :https://www.ibm.com/support/pages/applying-customization-archive-ibm-maximo-manage




User Management in Maximo Application Suite

The latest version of MAS 8.8/Manage 8.4, the user creation process has been modified, and to alleviate any unnecessary confusion, I’m going to show what you need to know and walk you through this new process.


One change effective with MAS 8.8 and above is that a display name and a User ID are created when a user is created in MAS. The User ID is a primary key that identifies a user, and it cannot be changed after the user is created.

IBM Cloud Pak for Integration documentation - Reference Link

 https://www.ibm.com/docs/en/cloud-paks/cp-integration

Thursday, January 18, 2024

Red Hat OpenShift Container Platform Support

IBM Maximo Application Suite will run anywhere that you can run a supported Open Shift release on AMD64 architecture.


CPGeneral AvailabilityEnd of SupportSupported MAS Releases
4.10March 10, 2022September 10, 20238.9 - 8.10
4.111August 10, 2022February 10, 20248.9 - 8.10
4.12January 17, 2023January 17, 20258.9 - 8.10

Cloud Pak for Data covers the following application's dependencies:

  • Assist: Watson Discovery, Watson Text to Speak, Watson Speach to Text, Watson Assistant
  • Health & Predict Utilities: Watson Studio
  • Predict: Watson Studio, Watson Machine Learning, Watson Analytics Service, Watson Openscale
OCPCloud Pak for DataSupported MAS Releases
ReleaseGeneral AvailabilityEnd of Support
4.104.6.3February, 2023TBD8.9 - 8.10


Reference Link : 

https://access.redhat.com/support/policy/updates/openshift/






Tuesday, January 16, 2024

Collect MustGather data for IBM Maximo Application Suite using the MustGather tool

 You can collect and provide MustGather data for your IBM Maximo Application Suite problem.

1. Where IBM Maximo Application Suite is installed:

2. Run the IBM Maximo Application Suite MustGather tools
Multiple namespaces are targeted by the IBM Maximo Application Suite MustGather tools. These namespaces are in the format:  mas-{{instanceId}}-core and mas-{{instanceId}}-{{appId}}

The instanceId was set during installation of IBM Maximo Application Suite.

The instanceId can be found postinstallation as well using the Red Hat OpenShift web console or by using the oc client.

Important:

  • All the following actions need to be executed under a user that has admin cluster role in Red Hat  OpenShift.
  • The oc adm must-gather command is available starting with Red Hat OpenShift Container Platform 4.x. If you get a message that the command does not exist, then, it means that you are using an older version of the oc cli. Run oc version command to check the oc cli version.

Reference Link : 

MAS and Manage custom resources are not reconciled

  After a change was applied to IBM Maximo Application Suite (MAS) or IBM Maximo Manage, the custom resources are not reconciled. For exampl...