Loading...
corporate training
IBM
IBM WebSphere
IBM WODM
Installation
Linux
Manager
NFS
ODM
Online Training
Operational Decision Manager
Training
VirtualNuggets
WebSphere
WODM
http://ibmwebsphereodmonlinetraining.blogspot.com/2016/05/nfs-linux-file-permissions.html
This post describe how we overcame an issue with IBM Installation Manager, observed when attempting to install IBM Operational Decision Manager (based on WebSphere Application Server v8) on Linux.
when we trying to install a WAS-based product using IBM Installation Manager, via a set of Unix shell scripts and response files. For ease of use, the scripts are located on a shared file system ( NFS ), mounted to the /mnt/filesystem location on one of FOUR Linux servers.
This allows to re-use the same set of scripts, without needing to host them locally, and seemed like the most practical root (!).
Here the problem starts when we executed one script which deletes and then repopulates the scripts from a central properties file.
When we ran this on server A, then suddenly unable to delete the file on server B. This pattern occurred on servers C and D as well.
In each case, using the same user local Linux ID - wasadmin and, on the NFS server ( from which the file system was exported ), the user that "really" owned the files had changed the ownership to wasadmin ( group wasadmins ).
then checked, and rechecked, the file permissions, both as wasadmin and as root, using chown and chmod, and everything looked OK - RWX.
Finally, the Linux admin came to the rescue.
When we checked the /etc/passwd file on each of the four servers, he noticed that, for two of the users, the Unique ID (UID) was set to 1003 and, for the other two boxes, the UID was 1004.
When we checked the "real" user on the NFS server, it had a UID of 1004.
That was the problem - despite the NFS server setting the file ownership of the files to wasadmin, the actual UID of the account owning the files is the key point - it was 1004.
So, for the two users who were unable to delete the files, we confirmed that they had the wrong UID - 1003.
Once we changed the two failing users to 1004, all was well.
I needed to run, as root, the chown command against the files that the two failing users had previously used/touched, including: -
/opt/IBM/InstallationManager ....
/home/wasadmin/var
/home/wasadmin/etc
However, I found out, the hard way, that I also needed to do the same for IIM files in /tmp, such as /tmp/ciclogs_e1wasadmin.
Without this last step, I was seeing exceptions such as: -
java.io.FileNotFoundException: /tmp/ciclogs_e1wasadmin/sample.properties (Permission denied)
So, in summary, IF you've got multiple Linux ( or any other *Nix ) users needing full RWX access to files on a NFS server, you need to ensure that the UID of the user is consistent across the boxes AND the NFS server.
This is all especially important when using Automated Peer Recovery for Transaction files on NFS - the UID for wasadmin MUST be the same for both servers, or WAS on server A cannot read the transaction logs for server B, meaning that peer recover fails.
corporate training,
IBM,
IBM WebSphere,
IBM WODM,
Installation,
Linux,
Manager,
NFS,
ODM,
Online Training,
Operational Decision Manager,
Training,
VirtualNuggets,
WebSphere,
WODM
WODM
5559259076966226951
Post a Comment
Home
item
Blog Archive
Popular Posts
-
In this Blog Post we are about see the procedure to create BOM entries from an existing XOM. You can afterwards extend the BOM without mod...
-
This post describe how we overcame an issue with IBM Installation Manager, observed when attempting to install IBM Operational Decision Ma...
-
In order to establish a new Business Rule Management System ( BRMS ), there has to be detailed steps involved with Installation, Testing ...
-
The word ILOG comes from the two French words – “Intelligence” and “Logical” which means intelligent software. When business rules are im...
-
This post describe an issue that we saw with IBM WebSphere Operational Decision Management (WODM) 8.0.1, when attempting to use the Rules...
-
IBM WODM ( WebSphere Decision Management ) provides a flexible working environment for business people to share, collaborate, and m...
-
Most of us will come to face a problem of JDBC drivers after the installation of IBM WebSphere ODM | WODM v8.0.1. When you are started up ...
-
Companies can make complex and as well as business decisions by the use of IBM WebSphere Operational Decision Management’s (WODM) powerful...
-
Staged Decision Management: Advantages: The development life cycle stages are fully isolated. A single cell has full; ODM run-...
Your blog is too good and informative thanks for sharing this blog
ReplyDeleteonline training
Nice post..
ReplyDeleteSAP ABAP on Hana training from india
SAP ABAP training from india
SAP BW on Hana training from india
SAP mm training from india
SAP pm training from india
SAP PP training from india
SAP Qm training from india
SAP Sd training from india