Saturday, September 5, 2015

Informatica 9.6.1 Node management : Starting or Stopping Services on Linux

Here are the steps.

Go to Informatica installation directory.
  • infaservice.sh startup
  • infaservice.sh shutdown

Details given below :

cd $INFA_HOME/tomcat/bin

/opt/infaqa/Informatica/9.6.1/tomcat/bin
[infaqa@infadev-01 bin]$ ls -ltr
-rwxr-xr-x 1 infaqa infaqa   1904 Jun 22 14:57 startup.sh
-rwxr-xr-x 1 infaqa infaqa   2540 Jun 22 14:57 isplogging.properties
-rwxr-xr-x 1 infaqa infaqa  27861 Jun 22 14:57 bootstrap.jar
-rwxr-xr-x 1 infaqa infaqa   5024 Jun 22 14:57 tool-wrapper.sh
-rwxr-xr-x 1 infaqa infaqa   9197 Jun 22 14:57 infaservice.sh

==============================================================

Start Services

Execute following command to start the services.

infaqa@infadev-01 bin]$ ./infaservice.sh startup

Starting Informatica services on node 'node01_infadev-01sc8'
Using CURRENT_DIR:     /opt/infaqa/Informatica/9.6.1/tomcat/bin
Using INFA_HOME:       /opt/infaqa/Informatica/9.6.1
[infaqa@infadev-01 bin]$


 

Verify whether services are started

  • Check whether the server processes are running using grep command.
              [infaqa@infadev-01sc8 bin]$ ps -ef|grep pmserver

infaqa   16769 16582  4 14:56 pts/1    00:00:00 /opt/infaqa/Informatica/9.6.1/server/bin/pmserver RE9NX0lORkFfUUE= SVNfSU5GQV9RQQ== bm9kZTAxX2luZmFkZXYtMDFzYzg= aHR0cDovL2luZmFkZXYtMDFzYzg6NzAwNQ== L29wdC9pbmZhcWEvSW5mb3JtYXRpY2EvOS42LjEvaXNwL2NvbmZpZy9rZXlzL3NpdGVLZXk= ZmFsc2U= a2I0emZpSDBwS1pSNVRmTEJ4cHNxMlZISnBJWGRxYUp3SFcrNVJhaEVOY2Jqeng3NTJLV2lPNTZEM0phbzhobmN2NWRVZTNuTUVoRkMyK09wWWFabFFwd0xBY3FkWkVPN2FWS2NPUmo5d1NPaHBFL21PTE14YUlhamhMa3hmeUZ5NEJCOGwvZXJkZEpTazhsc3BzWHNtN20ybGY1MG42c0dCdTdrZzdETDQvN3pHakFHZnZlUlNUdW5UYi9MdkJrcEtJcFpsWm5tSkpyRG95TjRXZlFmUT09 ZmFsc2U= MTQ0MTQ5MDE1MTYwNQ==

  •  Check "node.log" and confirm that the services are started properly.
            [infaqa@infadev-01 bin]$ cd $INFA_HOME/tomcat/logs
           [infaqa@infadev-01 logs]$ tail -200 node.log


INFO  [Domain Monitor] [DOM_10108] Registering the node with the master gateway node located at  host address [infadev-01:7006].
INFO  [pool-1-thread-3] [DOM_10083] Node [node01_infadev-01sc8] has started and is registered with domain
INFO  [pool-1-thread-3] [DOM_10134] Node [node01_infadev-01sc8] has become active in the domain.
INFO  [Domain Monitor] [DOM_10066] Enabling the domain functionality [LogServiceAgent].
INFO  [Thread 6 of 6 in DomainServiceThreadPool] [SPC_10018] Request to start process for service [_AdminConsole] was successful.
[infaqa@infadev-01sc8 logs]$



  • Check "catalina.out" and confirm that the services are started properly.

  •             [infaqa@infadev-01 bin]$ cd $INFA_HOME/tomcat/logs
               [infaqa@infadev-01 logs]$ tail -200 catalina.out


    Starting Tomcat on HTTP port [7005].
    Domain service init method is called.
    Enabling master Core services.
    Domain Configuration service init method is called.
    Log service init method is called.
    User Management service init method is called.
    Edr service init method is called.
    Called the alert domain function init method.
    Licensing service init method is called.
    Monitoring service init method is called.
    Plugin Registry service init method is called.
    Cloud service init method is called.
    Master Core services enabled.
    LogServiceAgent init method is called.
    [infaqa@infadev-01 logs]$





    ==============================================================

    Shutdown Services

    Execute following command to start the services.

    [infaqa@infadev-01 bin]$ ./infaservice.sh shutdown
    Stopping Informatica services on node 'node01_infadev-01'
    [infaqa@infadev-01 bin]$
     

    Verify whether services are shut down


    • Check whether the server processes are still running using grep command. Manually force kill the process using "kill -9 <process id>" command in case some processes are still running.
                  [infaqa@infadev-01sc8 bin]$ ps -ef|grep pmserver


    • Check "node.log" and confirm that the services are shut down properly.
                [infaqa@infadev-01sc8 bin]$ cd $INFA_HOME/tomcat/logs
               [infaqa@infadev-01sc8 logs]$ tail -200 node.log


    INFO  [Master Elect Data Writer] [DOM_10161] Stopped the writer thread for the master gateway node election. Deleting the data from the domain configuration repository.
    INFO  [Master Elect Data Writer] [DOM_10146] Obtained the row level lock on the ISP_MASTER_ELECT_LOCK table.
    INFO  [Master Elect Data Writer] [DOM_10147] Deleting the row for node [node01_infadev-01sc8] in the domain configuration repository.
    INFO  [Master Elect Data Writer] [DOM_10147] Deleting the row for node [node01_infadev-01sc8] in the domain configuration repository.
    INFO  [Master Elect Data Writer] [DOM_10151] Released row level lock on the ISP_MASTER_ELECT_LOCK table.
    [infaqa@infadev-01sc8 logs]$



  • Check "catalina.out" and confirm that the services are shut down properly.

  •             [infaqa@infadev-01sc8 bin]$ cd $INFA_HOME/tomcat/logs
               [infaqa@infadev-01sc8 logs]$ tail -200 catalina.out


    Aborting the domain service.
    LogServiceAgent deinit method is called.
    Cloud service deinit method is called.
    Plugin Registry service deinit method is called.
    Monitoring service deinit method is called.
    Licensing service deinit method is called.
    Called the alert domain function deinit method.
    Edr service deinit method is called.
    User Management service deinit method is called.
    Log service deinit method is called.
    Domain Configuration service deinit method is called.
    [infaqa@infadev-01sc8 logs]$






    3 comments:

    1. Very nice explanation about node management

      http://www.tekclasses.com/courses/etl/informatica-training-in-bangalore/

      ReplyDelete
    2. This post is extremely helpful. Thank you for posting.

      ReplyDelete
    3. This post is extremely helpful. Thank you for posting.

      ReplyDelete