How To Start Obiee 12c Services In Windows
Introduction
When Oracle Business Intelligence is started, few services volition starting time. These are Node Manager, Admin Server, Managed Server. Starting all these services require manual effort. So these components will showtime once the server is restarted by a Developer or Admin person. To overcome this dependency on manual intervention, all the OBIEE services are created as windows services and will start automatically in the background. If the main server where BI in installed is restarted the entire OBIEE application will start automatically.
we are going to create windows services for:
- Admin Server
- Managed BI Server
Step 1: Creating Windows Services script for Admin server
- Create a control script with name installAdminServerService.cmd and save it under "<OBI_HOME>\wlserver_10.iii\server\bin.The content of the file volition be:
SETLOCAL
gear up DOMAIN_NAME=bifoundation_domain
set USERDOMAIN_HOME=<OBI_HOME>\user_projects\domains\bifoundation_domain
gear up SERVER_NAME=AdminServer
gear up PRODUCTION_MODE=true
cd %USERDOMAIN_HOME%
phone call %USERDOMAIN_HOME%\bin\setDomainEnv.cmd
phone call <OBI_HOME>\wlserver_10.three\server\bin\installSvc.cmd"
ENDLOCAL
Stride ii: Creating Windows Services script for Managed server
- Create a command script with name installAdminServerService.cmd and salvage it under "<OBI_HOME>\wlserver_10.iii\server\bin.The content volition exist:
SETLOCAL
set DOMAIN_NAME=bifoundation_domain
set USERDOMAIN_HOME=<OBI_HOME>\user_projects\domains\bifoundation_domain
set SERVER_NAME=bi_server1
set PRODUCTION_MODE=true
set ADMIN_URL=http://localhost:7001
cd %USERDOMAIN_HOME%
telephone call %USERDOMAIN_HOME%\bin\setDomainEnv.cmd
call "<OBI_HOME>\wlserver_10.3\server\bin\installSvc.cmd"
ENDLOCAL
Step 3: Creating of uninstall script for Admin Server
- Create a command script with name UninstallAdminServerService.cmdand save it nether the aforementioned path mentioned above with the content:
@echo off
SETLOCAL
set WL_HOME=<OBI_HOME>\wlserver_10.iii
rem *** Uninstall the service
"%WL_HOME%\server\bin\beasvc" -remove -svcname:"<Admin windows Service Proper name>"
ENDLOCAL
Step 4: Creation of uninstall script for Managed Server
- Create a command script with name UninstallBIServer_Service.cmd and save it under aforementioned path as mentioned earlier and with the content:
@echo off
SETLOCAL
set WL_HOME=<OBI_HOME>\wlserver_10.3
rem *** Uninstall the service
"%WL_HOME%\server\bin\beasvc" -remove -svcname:"<Manage windows Service Proper noun>"
ENDLOCAL
Step 5: Creation of Admin Services in Windows
- Create BI_OBIEE_HOME system environment variable
Step 6: Creation of Admin Services in Windows
- Go to showtime-> program-> Accessories-> open Command prompt and correct click to-> "Run as Administrator"
- Go to <OBI_HOME>\ wlserver_10.3\server\bin
- Call installAdminServerService.cmd .
- The Service should exist installed, it will have a proper noun like:"beasvc %DOMAIN_NAME%_%SERVER_NAME% "
- The Service "Startup Blazon" will be 'Automatic'. Offset the Service. The Service will come back adequately rapidly to say it is started. The actual time taken for AdminServer to start and reach a state of 'RUNNING' will be longer. Check status ofAdminserver by checking theAdminserver_diagnostic files.
Step 7: Creation of Managed Services in windows
- Become to start-> plan-> Accessories-> open Command prompt and "Run as Administrator"
- Get to <OBI_HOME>\ wlserver_10.3\server\bin
- Call InstallManagedServerService.cmd.
- The Service should exist installed, it will have a name like"beasvc %DOMAIN_NAME%_%SERVER_NAME% "
- The Service "Startup Type" will exist 'Automatic'. Starting time the Service. The Service will come back fairly speedily to say it is started. The actual time taken for AdminServer to get-go and reach a state of 'RUNNING' volition be longer.
Please be noted that, the processes set the services in the fashion mentioned below. Renaming these services from registry, can be done from registry: HKEY_LOCAL_MACHINE\Organization\CurrentControlSet\Services\beasvc <your domain>_<managed server proper noun>\Parameters
- Admin server
- Managed Server
- Process Manager
Troubleshooting:
Due to java heap size the Admin Server or the Managed Server services may generate mistake. All services volition be shown in get-go status just even so console\EM\analytics volition be downward. Java volition generate and fault ":java.lang.OutOfMemoryError: PermGen infinite" error in the Adminserver_diagnostic file.
Solution:
- Explore path "<OBI_HOME>/user_projects/domains/bifoundation_domain/bin" and backup the below two Files.
- setDomainEnv.cmd
- setOBIDomainEnvcmd
- Alter setDomainEnv.cmd file as below, to increase the PermGen space:
set MEM_PERM_SIZE_64BIT=-Twenty:PermSize=128m —> set up MEM_PERM_SIZE_64BIT=-XX:PermSize=512m
prepare MEM_PERM_SIZE_32BIT=-XX:PermSize=128m —> set MEM_PERM_SIZE_32BIT=-Twenty:PermSize=512m
set MEM_MAX_PERM_SIZE_64BIT=-20:MaxPermSize=512m –> set MEM_MAX_PERM_SIZE_64BIT=-20:MaxPermSize=1024m
fix MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=512m –> set up MEM_MAX_PERM_SIZE_32BIT=-Xx:MaxPermSize=1024m
gear up USER_MEM_ARGS="-Xms1024m -Xmx2048m -XX:CompileThreshold=8000 -20:PermSize=128m -XX:MaxPermSize=512m" –> set USER_MEM_ARGS="-Xms1024m -Xmx2048m -20:CompileThreshold=8000 -twenty:PermSize=512m -20:MaxPermSize=1024m"
- Modify setOBIDomainEnv.cmd file as below
Hope using Lord's day Java
if "%JAVA_VENDOR%"=="Sun" (
@REM -UseSSE42Intrinsics required for server running EM
if "%JAVA_USE_64BIT%"=="true" (
@REM retentivity args for 64-bit Lord's day JVM
prepare SERVER_MEM_ARGS=-Xms1024m -Xmx4096m -Twenty:MaxPermSize=2048m -XX:-UseSSE42Intrinsics
) else (
@REM memory args for 32-bit Sun JVM
set up SERVER_MEM_ARGS=-Xms256m -Xmx2048m -Xx:MaxPermSize=2048m -XX:-UseSSE42Intrinsics
- Run Command Prompt equally "Run As Ambassador" and Uninstall Admin windows services through"UninstallAdminServerService.cmd"
- Run Command Prompt as "Run As Administrator" and Uninstall manage windows services through"UninstallBIServerService.cmd"
- Explore <OBI_HOME>\ wlserver_10.iii/common/bin and backup CommEnv.cmd file.
- Edit CommEnv.cmd with below details
:sun
if "%PRODUCTION_MODE%" == "true" goto sun_prod_mode
ready JAVA_VM=-client
set MEM_ARGS=-Xms32m -Xmx200m -XX:MaxPermSize=128m -20:+UseSpinning
gear up JAVA_OPTIONS=%JAVA_OPTIONS% -Xverify:none
goto keep
:sun_prod_mode
fix JAVA_VM=-server
set MEM_ARGS=-Xms256m -Xmx512m -Twenty:MaxPermSize=512m -XX:-UseSSE42Intrinsics
goto continue
- Again follow similar steps to create Admin Server and Managed Server services.
Source: https://blogs.perficient.com/2018/12/13/configuring-windows-services-for-obiee-11g/
Posted by: chapmanorry2001.blogspot.com
0 Response to "How To Start Obiee 12c Services In Windows"
Post a Comment