Search This Blog

Friday, January 12, 2024

Maximo Application Suite 8.11: How to undelete a MAS User

Normally, it is impossible to re-create a MAS user within the UI after they are deleted. This error is reported when the user is re-created:

AIUCO1026E: Unable to create user with id=XXXX, since it is already taken by a previously-deleted user.

Steps
Once a mongo shell has been opened for your MAS mongo database, you have two options to re-create the user. You can either undelete the specific user to restore the old user, or delete the data record completely allowing you to re-create the user manually. 

This first command restores the old user (in this case, user1), making them once again visible within the MAS User Administration UI.

db.User.update({username: "user1"},{$unset: {deleted:""}})

Alternatively, you can run this second command to delete the user from your database. This allows you to re-create the user manually within the UI. 

Note this command deletes the old user completely, causing their user data to be lost forever.


db.User.deleteMany({username: "user1"})





Tuesday, January 9, 2024

Backing & Restore Maximo Manage namespace with a script

1)  Use the manage-backup-restore.sh script to back up the Maximo Manage namespace.

Run the following command to back up the Maximo Manage namespace.

  • manage-backup- restore.sh -w <mas-workspace-id> -i <MAS_INSTANCE_ID> -f <BACKUP_FOLDER> -m backup 

 
-w, --mas-workspace-id
The Maximo Manage workspace ID that you are backing up.
-i, --mas-instance-id
The Maximo Application Suite instance ID that you are backing up.
-f, --backup-folder
The folder where the backup artifacts are written to.
-m, --mode
Indicates whether to backup or restore. Use the value restore.
  • manage-backup-restore.sh -w <mas-workspace-id> -i dev -f ./ -m backup

 Reference Link : https://www.ibm.com/docs/en/mas-cd/continuous-delivery?topic=namespace-backing-up-maximo-manage-script&mhsrc=ibmsearch_a&mhq=MAS%20backup%20and%20restore


2) Restore your backed up Maximo Manage namespace manually or by using the manage-backup-restore.sh script.

To restore manually, use the oc cli command to restore the resources that you backed up.

The command applies the configuration that is specified in the file that is provided. Run the command for each *.yaml file that you created when you did the backup.

    • oc apply -f <filename>

To restore the Maximo Manage namespace by using the manage-backup-restore.sh script, run the following command.

    • manage-backup-restore.sh -w <mas-workspace-id> -i <MAS_INSTANCE_ID> -f <BACKUP_FOLDER> -m restore
    • manage-backup-restore.sh -w <mas-workspace-id> -i dev -f ./ -m restore 
The script runs the oc apply command on all the *.yaml files in a specified folder, which restores the files.

Thursday, December 28, 2023

IBM Maximo Application Suite installation with Ansible collection

 To automate some of the manual steps that are involved with installing Maximo® Application Suite and its components, use the Ansible collection roles that match your installation path or use case.

The IBM® Maximo Application Suite development team maintains a public Ansible collection that automates the installation and configuration of Maximo Application Suite and its dependencies. The Maximo Application Suite DevOps Ansible collection includes a number of automated tasks, referred to as roles and playbooks. These automated tasks can be used to streamline processes from having a simple Red Hat® OpenShift® cluster, to having Maximo Application Suite including multiple applications and its required dependencies.


Please find the below link for more information : 

https://www.ibm.com/docs/en/mas-cd/continuous-delivery?topic=installing-ansible-collection



Wednesday, December 27, 2023

What's new in Maximo Application Suite 8.11

 Installation 

  •  Support for MongoDB 5.0 and 6.0

Configuration

  • Manage trusted certificate authorities
  • Customizing the workload
  • Horizontal and vertical pod scaling
  • Pod scheduling with affinity and anti-affinity
  • Pod scheduling with tolerations

Suite administration

  • Configuring multiple login options
  • Login notification
  • Activate and deactivate users
  • Enhancement to delete users
  • Support for roll back and version lock
  • API keys for user management
  • Audit log generation to support the Federal Information Security Management Act (FISMA)
  • Configuring passwords settings page moved to local authentication

Maximo Application Suite enhancements on Microsoft Azure

  • Support for new databases  :Starting in Maximo Application Suite 8.11, configure databases such as Microsoft SQL Server or Oracle Database for using IBM Maximo Manage.
  •  These databases can be hosted on private subnet of another VPC.

Maximo Application Suite enhancements on Amazon Web Services

Support for new databases :Starting in Maximo Application Suite 8.11, configure databases such as Microsoft SQL Server or Oracle Database for using IBM Maximo Manage. These databases can be hosted on private subnet of another VPC.

VPC peering is used to establish connection between the VPC of Amazon Web Services stack to the VPC of a database to establish database connection when the stack is deployed.

Support for selecting EBS volume type

Starting in Maximo Application Suite, support for selecting either gp3 or io1 as EBS volume type for worker nodes.

  • FIPS and FISMA support for Maximo Application Suite on Amazon Web Services Marketplace in US GovCloud regions
  • A Federal Information Processing Standard (FIPS) and Federal Information Security Management Act (FISMA) supported Maximo Application Suite can now be installed in the Amazon Web Services US GovCloud regions.
  • The BYOL option is available for installing Maximo Application Suite in private hosted zone for existing Red Hat OpenShift cluster and New Red Hat OpenShift cluster by using the User Provisioned Infrastructure (UPI).

User assistance improvements

  • Upgrading from IBM Maximo Asset Management to IBM Maximo Manage

Applications, industry solutions, accelerators, and add-ons

IBM Maximo IT

IBM Maximo IT is now available in Maximo Application Suite. Maximo IT provides a single point of user support and enterprise service management of information technology (IT) and operational technology (OT) assets and processes.

Reliability Strategies

Reliability Strategies is now available in Maximo Application Suite. 

By using Reliability Strategies, you can access a library of maintenance strategies that are based on reliability-centered maintenance and include both failure details and mitigation activities for each failure.  The library was developed by industry and domain experts and contains hundreds of assets and tens of thousands of possible failures across all known operating contexts.

New accelerators in the Maximo Application Suite catalog

Accelerators are solutions that are provided by IBM and IBM partners to complement or extend Maximo Application Suite capabilities. 

IBM Maximo Models for Electrical Distribution

IBM Maximo Models for Electrical Distribution provides model templates to enhance the reliability of energy and utility assets to anticipate downtime, degradation, and failures. 

This accelerator includes prebuilt notebooks and configuration files for several transmission and distribution asset classes, incorporating features available in IBM Maximo Health and IBM Maximo Predict.

Maximo Manage has new function to reduce system downtime when you do an update

After you upgrade to IBM Maximo Application Suite operator version 8.11, configure a database state to reduce Maximo Manage system downtime as you upgrade to Maximo Manage 8.7. and subsequent Maximo Manage upgrades.

Removal of Maximo Health and Predict - Utilities and Parts Identifier

Starting in Maximo Application Suite 8.11, the following industry solution and add-on are no longer available:

  • Maximo Health and Predict - Utilities
  • Parts Identifier

For More information please follow the below link.

https://www.ibm.com/docs/en/mas-cd/continuous-delivery?topic=new-in-811


Thursday, December 21, 2023

Prerequisites for On-premises MAS Installation

1) Cluster Information:

Node details The cluster consists of 3 master nodes, 5 worker nodes and 3 Infra/storage nodes. There is an installer machine running RHEL which hosts all the installation artifacts and which load balances the request to master and infra nodes.

2) DNS configurations

3) Load Balancers details

Load Balancer

Port

Server Pool

Type

API Load Balancer

6443,

22623

Boot, master0, master1, master2

Boot, master0, master1, master2

Layer 4 load balancing only. This can be referred to as Raw TCP, SSL Passthrough, or SSL Bridge mode. If you use SSL Bridge mode, you must enable Server Name Indication (SNI) for the API routes. A stateless load balancing algorithm. The options vary based on the load balancer implementation.

Application Ingress

80

infra0, infra1, infra2

Layer 4 load balancing only. This can be referred to as Raw TCP, SSL Passthrough, or SSL Bridge mode. If you use SSL Bridge

Load Balancer

443

infra0, infra1, infra2

mode, you must enable Server Name Indication (SNI) for the Ingress routes. A connection-based or session-based persistence is recommended, based on the options available and types of applications that will be hosted on the platform.

 

 

 

 



Prerequisites

 System requirement

1. All Linux systems (VMs) must be registered to the subscription manager.

2. Ensure that the package manager is configured to allow for package updates across all nodes. 3. The Installation will need the Root access privilege.

 4. Memory and CPU requirement should meet the minimum requirement as given the table under cluster node details

 

 Network requirement

 Network topology diagrams can be unique for every cluster based on the requirements. We can deploy the cluster with different VLANs or in the same VLANs.

• Ensure a block of IP addresses from which pod IP addresses are allocated. This block must not overlap with existing physical networks. These IP addresses are used for the pod networks.

 • Similarly, a block of IP address pool is reserved to use for service IP addresses and must not overlap with existing physical networks.

• Instances (systems) on the network should be able to see each other as being neighbours. Each machine must be able to resolve the hostnames of all other machines in the cluster. Note: Changes to the network post deployment of OCP cluster aren't supported by Red Hat.

DNS requirement In OpenShift Container Platform deployments, DNS name resolution is required for the following components:

 • The Kubernetes API

• The OpenShift Container Platform application wildcard

 • The bootstrap, control plane, and compute machines

Reverse DNS resolution is also required for the Kubernetes API, the bootstrap machine, the control plane machines, and the compute machines.

DNS A/AAAA or CNAME records are used for name resolution and PTR records are used for reverse name resolution. The reverse records are important because Red Hat Enterprise Linux CoreOS (RHCOS) uses the reverse records to set the hostnames for all the nodes, unless the hostnames are provided by DHCP. Additionally, the reverse records are used to generate the certificate signing requests (CSR) that OpenShift Container Platform needs to operate.

 

Port requirement List of required ports that must be available for installation and configuration of an OpenShift cluster. You need to open the ports before you start installing OpenShift.

 

Below link has the port details that are needed to be open:

 https://docs.openshift.com/container-platform/4.10/installing/installing_vsphere/installing-restricted[1]networks-vsphere.html#installation-network-connectivity-user-infra_installing-restricted-networks[1]vsphere

 

Other Firewall requirements:

 Ports should be open from all cluster nodes to the NTP servers

 In connected OpenShift Container Platform environments, all nodes are required to have internet access to pull images for platform containers and provide telemetry data to Red Hat.

 Ensure that ports are open between all the proxy and GLB for all OCP cluster nodes


Thursday, December 7, 2023

Installing Maximo Mobile 8.1 for EAM

Follow the below step to install Maximo Mobile.

 

1) Login into IBM Passport advantage website 

2) Download the G016DML part number and download the zip (maximomobile.zip )

 System Requirements: 

 

·       Maximo Asset Management version 7.6.1.2 or later with IBM WebSphere® Application Server or Oracle WebLogic Server. 

·       Interim fix IF006 or later for Maximo Asset Management version 7.6.1.2.

·       Interim fix IF003 or later for Maximo Spatial Asset Management version 7.6.1. 

·       Mobile devices that have Android version 10 or 11 or iOS version 14.3 or later mobile operating systems installed.


Follow the steps defined in the readme file.


Tuesday, July 4, 2023

Maximo Application Suite 8.x Links

https://www.ibm.com/support/pages/ibm-maximo-application-suite-system-requirements


https://github.com/evilADevil/mas-local/Perceval & Cloud Webinar #3


https://epwt-www.mybluemix.net/software/support/trial/cst/programwebsite.wss?siteId=1790&h=null&p=null


https://github.com/cloud-native-toolkit/operator-masauto

DM - RFC Link

https://smartdesk.dm.gov.ae/smartit/app/#/change/IDGAABS5GMS9LASCB7FNSBBES2NQ3H


MAS_ CLI

https://ibm-mas.github.io/cli/catalogs/v8-231004-amd64/

Friday, March 26, 2021

Openshift Red Hat

 Rea Hat Insights :


Find the link and Senarious 

https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/auth?client_id=cloud-services&redirect_uri=https%3A%2F%2Fcloud.redhat.com%2Finsights&state=8842b158-fede-4766-938a-d5b2d5e1597a&response_mode=fragment&response_type=code&scope=openid&nonce=700b8030-565d-48d8-8e80-a007e53fb57f


Friday, December 1, 2017

PM

Create a New PM
Go to the Preventive Maintenance application, and from the Toolbar click “New PM” button
PM Number: The unique identifier of a Preventive Maintenance record. Every PM record is specific only to one Asset or Location record.
Location/Asset: Asset or Location where the preventive maintenance will be done.
Status: A new PM record will automatically have a DRAFT status.
Storeroom: If a Job Plan has estimated materials, Maximo needs to know the Storeroom to create the item reserved.
Route: A list of related asset or work locations. When a work order is generated from a PM with a route, a parent work order will be created for the asset or location and a child work order for each asset on the route. If the child work orders contain tasks, the task-type work orders will also be created.
Counter: The number of generated work orders from the PM since the first record is created.
Lead Time (Days):  The number of days before the actual work can be started. When using the Lead Time option, check the Lead Time Active check box.
PM Frequency
Preventive maintenance work is typically triggered by one or more conditions:
  • Time-based PMs: Elapsed time since previous work.
  • Meter-based PMs: Metered usage of assets.
  • A combination of elapsed time and metered usage. For example, you can schedule a PM that triggers work every six months or every 300 hours, whichever comes first.
Estimated Next Due Date: Specify a value if the PM is time-based. This date is the first date that the PM is scheduled to generate work orders.
Associate PM with a Job Plan
PMs can contain job plan and corresponding safety plan information that will be copied to work orders. We can choose an existing Job Plan from the PM application.
Information associated with a PM becomes part of the work order records you generate from the PM. For example, each Job Plan Task will become the task of the related work orders.
There are other features associated by adding a new PM, such as a PM hierarchy can be built by creating parent-child relationships between similar PMs, which enables the users to generate hierarchies of related work orders. You can also schedule PM work for assets on a route.
Create PM Work Orders
There are two ways to generate PM Work Orders: automatically or manually.  To generate it automatically, Maximo user with administrative privilege can schedule the generation of PM Work Order using the Cron Task (PMWoGenCronTask) Setup. To manually generate PM Work Order,  the PM status must be ACTIVE, and the asset or location listed on the PM must have a status of OPERATING.
In the Preventive Maintenance application, from the Select Action menu, select Generate Work Orders. In the dialog box, use the following fields to specify which PMs generate work orders:
Generate WOs Due Today Plus This Number of Days: Insert a “slack” time value in days to generate work orders in advance of their due dates.
Use Frequency Criteria: By default, this box is selected. When selected, the system evaluates the frequency criteria for the selected set of records to determine which PMs are due to generate work orders. If a PM is part of a hierarchy, it may trigger work order generation from the entire PM hierarchy.
When you generate work orders from a PM with an associated job plan, default safety and measurement point information is copied to the work orders.

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...