Question & Answer
Question
How do I start and stop the S-TAP process on different operating system (OS) versions?
Cause
Depending on the operating system type and version there are different methods used to start and stop Guardium processes. Use this technote for instructions for the most common.
Note - This is not a comprehensive list of all operating systems supported by Guardium.
Answer
Linux-UNIX: How S-TAP/GIM processes are initialized by different OS types/versions
The above documentation / version should be used where possible.
Later versions can also be accessed from one of the above links by simply selecting the "Change version or product" drop down list
Below information is historical for older versions and has been kept as a reference only.
Startup facility based on OS versions and supported S-TAP versions (v9 and v10):
OS
|
OS Version
|
Startup facility
|
V9/V10 S-TAP, GIM support
|
AIX | AIX 5.3 | init - /etc/inittab | V9 only |
AIX 6.1 | init - /etc/inittab | both V9/V10 | |
AIX 7.1 | init - /etc/inittab | both V9/V10 | |
Solaris | Solaris 5.9 | init - /etc/inittab | V9 only |
Solaris 5.10 sparc, 5.10 i386, 5.10 i386_64 | svc - services | both V9/V10 | |
Solaris 5.11 sparc, 5.11 i386_64 | svc - services | both V9/V10 | |
HP-UX | HP-UX 11.11 pa9000 | init - /etc/inittab | both V9/V10 |
HP-UX 11.23 ia64, 11.23 pa9000 | init - /etc/inittab | both V9/V10 | |
HP-UX 11.31 ia64, 11.31 pa9000 | init - /etc/inittab | both V9/V10 | |
Linux - Redhat | Redhat 4 i686, 4 ia64, 4 x86_64 | init - /etc/inittab | both V9/V10 |
Redhat 5 i686, 5 ia64, 5 ppc64, 5 s390x, 5 x86_64 | init - /etc/inittab | both V9/V10 | |
Redhat 6 i686, 6 ppc64, 6 s390x, 6 x86_64 | upstart | both V9/V10 | |
Redhat 7 x86_64 | systemd | both V9/V10 | |
Redhat 7 Power 8 Little endian | N/A | V10 only | |
Linux - Ubuntu | Ubuntu 10.04 x86_64 | upstart | both V9/V10 |
Ubuntu 12.04 x86_64 | upstart | both V9/V10 | |
Ubuntu 14.04 x86_64 | upstart | both V9/V10 | |
Linux - SuSe | Suse 9 i686, 9 x86_64, 9 s390x | init - /etc/inittab | V9 only |
Suse 10 i686, 10 x86_64, 10 s390x, 10 ppc | init - /etc/inittab | both V9/V10 | |
Suse 11 i686, 11 x86_64, 11 s390x | init - /etc/inittab | both V9/V10 | |
Suse 12 x86_64 | systemd | V10 only |
Start/Stop methods of each facility
1. init - /etc/inittab
a. Edit /etc/initab. Add or erase a hash sign # to comment or comment out the service, or a colon : in AIX
b. Run "init q" to make the changes effective.
2. upstart
Run "initctl list" to know the list of upstart services, and run "start <service_name>" to start the service, and run "stop <service_name" to stop it.
2.1 S-TAP without GIM | 2.2 S-TAP installed via GIM |
To start S-TAP:
|
To know the service name of GIM and supervisor:
|
3. systemd
3.1 S-TAP without GIM | 3.2 S-TAP installed via GIM |
To start S-TAP:
|
To start GIM, supervisor:
|
4. svc - services
4.1 S-TAP without GIM | 4.2 S-TAP installed via GIM |
To start S-TAP:
|
To start GIM, supervisor:
|
5. rc - For Linux
a. Navigate to the STAP install directory
b. run ./rc stop to stop STAP process
c. run ./rc start to start STAP process
Eg:
[root@DB ~]$ cd /usr/local/guardium/modules/STAP/9.0.0_r85844_1-146244
[root@DB 9.0.0_r85844_1-1462447508]$ ./rc stop
[root@DB 9.0.0_r85844_1-1462447508]$ ps -ef | grep stap
root 28085 27273 0 16:13 pts/1 00:00:00 grep stap
[root@DB 9.0.0_r85844_1-1462447508]$ ./rc start
[root@DB 9.0.0_r85844_1-1462447508]$ ps -ef | grep stap
root 28108 18504 0 16:13 ? 00:00:00 /usr/local/guardium/modules/STAP/9.0.0_r85844_1-1462447508/guard_stap /usr/local/guardium/modules/STAP/9.0.0_r85844_1-1462447508/guard_tap.ini
root 28132 27273 0 16:13 pts/1 00:00:00 grep stap
[root@DB 9.0.0_r85844_1-1462447508]$
* Note
there are also some old Internal Notes that Guardium Technical support can access by referenceing the Internal Document.
It details a few commands that can be used to check service logs if STAP is in maintenance mode etc.
Related Information
Was this topic helpful?
Document Information
Modified date:
24 April 2020
UID
swg21981201