"Log on to the database server using the root account. (S-TAP must always be installed by root.)" Elsewhere: "A root user that installs GIM or S-TAP needs permissions to create and delete users and groups."
The installer loads the K-TAP kernel module, places libraries in system paths and creates service accounts and groups. All of that requires root.
Disk space: Allow roughly 400–500 MB for the installation directory.
Staging: The installer is normally copied to /tmp on the database server.
Run-as setting: The --userinst and --rootinst parameters control which account the running S-TAP uses, not the account that installs it. The recommended defaults are --userinst and --root .
Shared memory: When ktap_fast_shmem is 0 and shmctl fails on permissions, running the S-TAP as root may be needed. This applies mostly to Db2 shared-memory segments readable only by the Db2 user.
Partial installs: If any stage fails, undo everything and do not leave the S-TAP partially installed.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit