Tuesday, 6 January 2015

Infacmd command to enable, disable, and recyle Informatica service

Infacmd command to enable, disable, and recyle Informatica service 

To disable an Informatica service use the below command:(The variables starting with $ should be defined in your environment or in your script)

$INFA_HOME/server/bin/infacmd.sh isp disableService ­dn $DOMAIN_NAME ­un $DOMAIN_USER ­pd $DOMAIN_PASSWORD ­sn $Service ­mo stop

 To get status of an Informatica service use the below command:

 $INFA_HOME/server/bin/infacmd.sh getServiceStatus ­dn $DOMAIN_NAME ­un $DOMAIN_USER ­pd $DOMAIN_PASSWORD ­sn $Service


To enable an Informatica service use the below command:
 
$INFA_HOME/server/bin/infacmd.sh enableService ­dn $DOMAIN_NAME ­un $DOMAIN_USER ­pd $DOMAIN_PASSWORD ­sn $Service


To recycle Informatica service using Infacmd (command line) then you have disable and enable a service using the commands above.