4 Replies Latest reply: Feb 1, 2013 8:19 AM by user12559013 RSS

    Automation of OBIEE 11G services in Linux OS

    912832
      Hi

      We have a requirement for the automation of OBIEE 11G services in Linux OS whenever system reboots. I came to know that this can be achieved by a shell script, however, not certain about it. It would be grateful if any workaraound/pointers/documentation to achieve this is shared.

      Thanks.
        • 1. Re: Automation of OBIEE 11G services in Linux OS
          sayak
          Hi ,

          You can give a try with this :

          http://letmeintroduceu.blogspot.com/2012/04/startstop-obiee-11g-services-in-linux.html


          Thanks
          • 2. Re: Automation of OBIEE 11G services in Linux OS
            user12559013
            HI

            I have a same requirement to automate the obiee 11 services when machine reboots but in a Windows environment. Can anyone help me how to achieve this or any scripts please.
            • 4. Re: Automation of OBIEE 11G services in Linux OS
              user12559013
              HI

              The mentioned link has scripts for linux, but I need for windows and I tried some script which I found online but I am getting some errors which are in bold below




              C:\Oracle\Middleware\wlserver_10.3\server\bin>installAdminServer.cmd

              C:\Oracle\Middleware\wlserver_10.3\server\bin>SETLOCAL

              C:\Oracle\Middleware\wlserver_10.3\server\bin>set OBI_HOME=C:\Oracle\Middleware


              C:\Oracle\Middleware\wlserver_10.3\server\bin>set DOMAIN_NAME=bifoundation_domai
              n

              C:\Oracle\Middleware\wlserver_10.3\server\bin>set USERDOMAIN_HOME=C:\Oracle\Midd
              leware\user_projects\domains\bifoundation_domain

              C:\Oracle\Middleware\wlserver_10.3\server\bin>set SERVER_NAME=AdminServer

              C:\Oracle\Middleware\wlserver_10.3\server\bin>set PRODUCTION_MODE=true

              C:\Oracle\Middleware\wlserver_10.3\server\bin>set JAVA_HOME=C:\Oracle\Middleware
              \Oracle_BI1\jdk

              C:\Oracle\Middleware\wlserver_10.3\server\bin>cd C:\Oracle\Middleware\user_proje
              cts\domains\bifoundation_domain

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>call C:\Oracle\Mi
              ddleware\user_projects\domains\bifoundation_domain\bin\setDomainEnv.cmd
              SVR_GRP =

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>set CLASSPATH=C:\
              Oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_p
              atch.jar;C:\Java\JDK16~1.0_3\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\
              lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Ora
              cle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\MID
              DLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.
              1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:
              \Oracle\MIDDLE~1\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDL
              E~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\Oracle\Middleware\Oracl
              e_BI1\bifoundation\jdbc\jdk16\bijdbc.jar;;C:\Oracle\MIDDLE~1\patch_wls1035\profi
              les\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK16~1.0_3\lib\to
              ols.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDL
              E~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblo
              gic.server.modules_10.3.5.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webserv
              ices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~
              1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\oracle_common\modu
              les\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\webl
              ogic.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.dms_11.1.1\dms.jar;C:
              \Oracle\Middleware\oracle_common\modules\oracle.jmx_11.1.1\jmxframework.jar;C:\O
              racle\Middleware\oracle_common\modules\oracle.jmx_11.1.1\jmxspi.jar;C:\Oracle\Mi
              ddleware\oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;C:\Oracle\MIDDLE~1\ORA
              CLE~1\soa\modules\commons-cli-1.1.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\or
              acle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\orac
              le.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient
              .jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
              ***************************************************
              * To start WebLogic Server, use the password *
              * assigned to the system user. The system *
              * username and password must also be used to *
              * access the WebLogic Server console from a web *
              * browser. *
              ***************************************************

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>rem *** Set Comma
              nd Line for service to execute within created JVM

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>set CMDLINE="-ser
              ver -Xms512m ûXmx512m -XX:MaxPermSize=512m -XX:+UseSpinning -Dweblogic.Producti
              onModeEnabled=true -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.hom
              e=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV
              ~1.3\server -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=
              11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Log
              ger -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1 -Djrockit.optfile
              =C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Dora
              cle.server.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\FMWCON
              ~1\servers\AdminServer -Doracle.domain.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\do
              mains\BIFOUN~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\Oracle\MIDDLE~1\US
              ER_P~1\domains\BIFOUN~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Oracle\
              MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\FMWCON~1\arisidprovider -Doracle.secur
              ity.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\fmwconfig\jps
              -config.xml -Doracle.deployed.app.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN
              ~1\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alte
              rnateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:
              \Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.hand
              ler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dbi.oracl
              e.home=C:\Oracle\Middleware\Oracle_BI1 -DEPM_ORACLE_HOME=C:\Oracle\Middleware\Or
              acle_BI1 -Dweblogic.MaxMessageSize=50000000 -DEPM_ORACLE_HOME=C:\Oracle\Middlewa
              re\Oracle_BI1 -DHYPERION_HOME=C:\Oracle\Middleware\Oracle_BI1 -DEPM_ORACLE_INSTA
              NCE=novalue -Dhyperion.home=C:\Oracle\Middleware\Oracle_BI1 -DEPM_REG_PROPERTIES
              _PATH=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\fmwconfig -Depm.useApp
              licationContextId=false -Doracle.biee.search.bisearchproperties=C:\Oracle\Middle
              ware\Oracle_BI1\bifoundation\jee\BISearchConfig.properties -Dweblogic.management
              .clearTextCredentialAccessEnabled=true -Doracle.notification.filewatching.interv
              al=2000 -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.secur
              ity.SSL.enableJSSE=true -Dfile.encoding=utf-8 -Doracle.ecsf.security.service=ora
              cle.biee.search.security.BISearchSecurityService -Doracle.ecsf.configuration.cla
              ss=oracle.biee.search.services.BISearchServiceConfiguration -Dxdo.server.config.
              dir=C:\Oracle\Middleware\user_projects\domains\bifoundation_domain\config\bipubl
              isher -DXDO_FONT_DIR=C:\Oracle\Middleware\Oracle_BI1\common\fonts -Drtd.instanc
              eName=RTD_AdminServer -Dem.oracle.home=C:\Oracle\Middleware\oracle_common -Djava
              .awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev=false
              -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=C:\O
              racle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath -classpa
              th @C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin\classpath.txt -Dweblogic.Name=Admin
              Server -Dweblogic.management.username= -Dweblogic.ProductionModeEnabled=true -Dj
              ava.security.policy=\"C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy\"
              weblogic.Server"

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>rem *** Set up ex
              trapath for win32 and win64 platform separately

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>if "true" == "tru
              e" set EXTRAPATH=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MI
              DDLE~1\WLSERV~1.3\server\bin;C:\Java\JDK16~1.0_3\jre\bin;C:\Java\JDK16~1.0_3\bin
              ;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>if "false" == "tr
              ue" set EXTRAPATH=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\64\;C:\Oracle\
              MIDDLE~1\WLSERV~1.3\server\bin;C:\Java\JDK16~1.0_3\jre\bin;C:\Java\JDK16~1.0_3\b
              in;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\64\oci920_8

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>if "false" == "tr
              ue" set EXTRAPATH=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\;C:\Oracle
              \MIDDLE~1\WLSERV~1.3\server\bin;C:\Java\JDK16~1.0_3\jre\bin;C:\Java\JDK16~1.0_3\
              bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>rem *** Install t
              he service

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>"C:\Oracle\MIDDLE
              ~1\WLSERV~1.3\server\bin\beasvc" -install
              BEA Default Service installed.

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>-svcname:"Oracle_
              bifoundation_domain_AdminServer"
              The filename, directory name, or volume label syntax is incorrect.

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>-javahome:"C:\Jav*
              a\JDK16~1.0_3"
              The filename, directory name, or volume label syntax is incorrect.

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>-execdir:"C:\Orac
              le\Middleware\user_projects\domains\bifoundation_domain" -maxconnectretries:"" -
              host:"" -port:"" -extrapath:"C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;
              C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Java\JDK16~1.0_3\jre\bin;C:\Java\JDK
              *16~1.0_3\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8" -passw*
              *ord:"" -cmdline:"-server -Xms512m ûXmx512m -XX:MaxPermSize=512m -XX:+UseSpinning*
              -Dweblogic.ProductionModeEnabled=true   -da -Dplatform.home=C:\Oracle\MIDDLE~1
              *\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\O*
              racle\MIDDLE~1\WLSERV~1.3\server  -Dcommon.components.home=C:\Oracle\MIDDLE~1\OR
              ACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.
              logging.impl.Jdk14Logger -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOU
              N~1 -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jroc
              ket_optfile.txt -Doracle.server.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\B
              IFOUN~1\config\FMWCON~1\servers\AdminServer -Doracle.domain.config.dir=C:\Oracle
              *\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=*
              C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\FMWCON~1\carml  -Digf.arisid
              stack.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\FMWCON~1\arisidpr
              ovider -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1
              *\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Oracle\MIDDLE~1\US*
              ER_P~1\domains\BIFOUN~1\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.e
              xt=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\ora
              cle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1
              -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Dweblogic.jdbc.remoteEna
              bled=false -Dbi.oracle.home=C:\Oracle\Middleware\Oracle_BI1 -DEPM_ORACLE_HOME=C:
              *\Oracle\Middleware\Oracle_BI1 -Dweblogic.MaxMessageSize=50000000 -DEPM_ORACLE_HO*
              ME=C:\Oracle\Middleware\Oracle_BI1 -DHYPERION_HOME=C:\Oracle\Middleware\Oracle_B
              I1 -DEPM_ORACLE_INSTANCE=novalue -Dhyperion.home=C:\Oracle\Middleware\Oracle_BI1
              -DEPM_REG_PROPERTIES_PATH=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\f
              mwconfig -Depm.useApplicationContextId=false -Doracle.biee.search.bisearchproper
              ties=C:\Oracle\Middleware\Oracle_BI1\bifoundation\jee\BISearchConfig.properties
              -Dweblogic.management.clearTextCredentialAccessEnabled=true -Doracle.notificatio
              n.filewatching.interval=2000 -Dweblogic.security.SSL.ignoreHostnameVerification=
              true -Dweblogic.security.SSL.enableJSSE=true -Dfile.encoding=utf-8 -Doracle.ecsf
              *.security.service=oracle.biee.search.security.BISearchSecurityService -Doracle.e*
              csf.configuration.class=oracle.biee.search.services.BISearchServiceConfiguration
              -Dxdo.server.config.dir=C:\Oracle\Middleware\user_projects\domains\bifoundation
              domain\config\bipublisher -DXDOFONT_DIR=C:\Oracle\Middleware\Oracle_BI1\common*
              *\fonts -Drtd.instanceName=RTD_AdminServer -Dem.oracle.home=C:\Oracle\Middleware*
              *\oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true -Dw*
              lw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dw
              eblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manife
              st_classpath -classpath @C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin\classpath.txt
              -Dweblogic.Name=AdminServer -Dweblogic.management.username= -Dweblogic.Productio
              nModeEnabled=true -Djava.security.policy=\"C:\Oracle\MIDDLE~1\WLSERV~1.3\server\
              lib\weblogic.policy\" weblogic.Server"
              The filename, directory name, or volume label syntax is incorrect.

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>-log:"C:\Oracle\M
              iddleware\wlserver_10.3\..\\user_projects\domains\bifoundation_domain\servers\Ad
              minServer\logs\service_start.log"
              The filename, directory name, or volume label syntax is incorrect.

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>ENDLOCAL

              C:\Oracle\Middleware\user_projects\domains\bifoundation_domain>ENDLOCAL




              I don't know how to solve those errors, this is highly important for me can anyone please help me on this.

              Thanks