Edit D:\app\Administrator\product\11.2.0\dbhome_1\crs\sbs\srvctl.sbs
@echo off rem rem $Header: opsm/utl/srvctl.sbs /st_has_11.2.0.1.0_nt/1 2009/10/08 16:31:36 yizhang Exp $ rem rem Copyright (c) 2008, 2009, Oracle and/or its affiliates. rem All rights reserved. rem rem NAME rem srvctl - Oracle Server Control Utility rem rem DESCRIPTION rem Oracle Server Control Utility can be used to administer all Oracle rem entities such as node applications, databases, ASM etc. managed rem under Oracle Clusterware. rem rem NOTES rem rem MODIFIED (MM/DD/YY) rem yizhang 09/25/09 - fix bug 8771500 rem rxkumar 01/26/09 - fix bug7715235 rem rwessman 08/22/08 - Added GNS jar file. rem rxkumar 07/18/08 - fix EONSJAR rem spavan 05/16/08 - fix bug6937911 rem hkanchar 03/31/08 - Add EONS jar files to the classpath rem spavan 03/27/08 - fix bug6916030 rem rxkumar 01/10/08 - fix bug6730574 rem setlocal Rem Gather command-line arguments. :arg @set USER_ARGS= :loop if (%1)==() goto parsed @set USER_ARGS=%USER_ARGS% %1 shift goto loop :parsed @set JREDIR=%ORACLE_HOME%\jdk @set JRE="%JREDIR%\bin\java" @set JREJAR=%JREDIR%\jre\lib\rt.jar @set JLIB=%ORACLE_HOME%\jlib set EONSJAR=%ORACLE_HOME%\ons\lib\ons.jar @set GNSJAR=%JLIB%\gns.jar @set PATH=%ORACLE_HOME%\bin;%PATH% if (%ORATST_SRVCTL11%)==() ( set CLASSPATH="%ORACLE_HOME%\srvm\jlib\srvctl.jar;%JLIB%\srvm.jar;%JLIB%\srvmhas.jar;%JLIB%\srvmasm.jar;%JLIB%\supercluster-common.jar;%JLIB%\supercluster.jar;%JLIB%\netcfg.jar;%JREJAR%;%EONSJAR%;%GNSJAR%" ) else ( set CLASSPATH="%ORATST_SRVCTL11_JARS%;%JLIB%\srvmasm.jar;%JLIB%\supercluster-common.jar;%JLIB%\supercluster.jar;%JLIB%\netcfg.jar;%JREJAR%;%EONSJAR%;%GNSJAR%" ) Rem SRVM TRACING if (%SRVM_TRACE%)==() ( goto runcmd ) Rem SRVCTL TRACEFILE if not (%SRVCTL_TRACEFILE%)==() ( set SRVM_PROPERTY_DEFS= %SRVM_PROPERTY_DEFS% -DTRACING.ENABLED=true -DTRACING.LEVEL=2 -Dsrvm.srvctl.tracefile=%SRVCTL_TRACEFILE% ) else ( set SRVM_PROPERTY_DEFS= %SRVM_PROPERTY_DEFS% -DTRACING.ENABLED=true -DTRACING.LEVEL=2 ) :runcmd rem Configuration file containing logging properties. set SRVM_PROPERTY_DEFS= %SRVM_PROPERTY_DEFS% -Djava.net.preferIPv4Stack=true -Djava.util.logging.config.file=%ORA_CRS_HOME%\srvm\admin\logging.properties set CMD=%JRE% -DORACLE_HOME=%ORACLE_HOME% -classpath %CLASSPATH% %SRVM_PROPERTY_DEFS% oracle.ops.opsctl.OPSCTLDriver %USER_ARGS% %CMD% exit /b %ERRORLEVEL% endlocal
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de