Page 1 of 1

changing the primary group of a DataStage Server on UNIX

Posted: Mon May 15, 2006 7:48 am
by goffinw
Would it be possible to change the primary group of a datastage server the following way:
  • - Stop the DataStage server.
    - As superuser, change the group (chgrp) id of all directories and files which having the old groupId to then new groupId.
    - As superuser, change the primary group of the dsadm to the new groupId
    - Restart the DataStage server.
Thanks in advance,

Posted: Mon May 15, 2006 12:13 pm
by kduke
Yes. Some binaries are owned by root. So do not chown on these. You will have problems.

Posted: Mon May 15, 2006 3:22 pm
by ray.wurlod
Changing groups should be OK. However, most of the executables in the DataStage bin directory must be owned by root and have the setuid bit set (mainly because they need to access shared memory segments owned by other processes). So steer well clear of any chmod or chown command that might affect the bin directory's contents.

Posted: Mon May 15, 2006 6:14 pm
by kduke
I absolutely agree with Ray.

Posted: Fri May 19, 2006 2:21 am
by goffinw
Thanks to all replyers.

We have executed the procedure and everything indeed seems to continue to work correctly.
We found the following extra difficulties:
1) As we are operating in a mixed non-ldap - ldap environment. Changing groups in one environment had an impact on other systems.
2) Files created during ETL had the group name of the old dsadm primary group. In order to tidy up the system, we also changed the groupid of thes files.

Posted: Fri May 19, 2006 6:10 am
by kduke
That is probably wise. LDAP complicates everything because you can be out of sync on your servers. Local users override LDAP. You need to use LDAP on all servers.