This chapter describes how to manually install and uninstall QSA for Oracle databases on UNIX, Linux, and Windows database servers.
Use manual installation when SSH and SFTP are unavailable. Manual installation of the Quest Server Agent (QSA) is an alternative to installation with the QSA Installer. If you do not have both SSH and SFTP access to the UNIX and Linux servers, you must install and uninstall the agent manually.
This section describes how to manually install or upgrade QSA on UNIX and Linux servers. You perform a manual installation with the INSTALL.SH script and a manual uninstall with the UNINSTALL.SH script. Both scripts are run from the database server.
Caution: Before you manually install QSA, set the SQL*Plus PAUSE command to OFF (the default setting). If another setting is used, such as ON or PAGE, manual installation fails. After installation is complete, you can set the PAUSE command to any value.
To manually install (or upgrade) QSA on UNIX and Linux
Open the QuestServerAgent folder in the application directory and select the Quest Server Agent file (a TAR file) for your operating-system version and Oracle version. Each TAR file has the following naming format: QSA_version_build-operating system-OS version-CPU type-Oracle version.tar.Z
Then copy the file to the UNIX/Linux server.
Note: If you download multiple TAR files to the same server, download each file to a different directory.
To extract agent installation files from the Server Agent TAR file, use the following command (filename is the name of the TAR file):
# uncompress < filename.tar.z ¦ tar –xvf -
To run the manual install script from the download directory, use the following command and cases:
# ./Install.sh
Note: After you specify the base install directory, /Quest/QSA/$ORACLE_SID is added to the directory path.
To instruct QSA to restart automatically after a server restart
If you want the Server Agent to start automatically each time the server is started, perform the following steps:
Change to the agent installation directory using the following command:
# cd /$ORACLE_HOME/Quest/QSA/SID/inst
Run the following root.sh script:
# ./root.sh
Use the following procedure to manually install QSA on Windows servers.
To install (or upgrade) QSA manually on Windows servers
Run the executable and extract these files to a temporary directory.
Note: Make sure the temporary directory is empty before you extract the files.
Edit the qsaparms.bat file. See the example in the following section, “Sample qsaparms.bat file."
Note: The qsaparms.bat file contains brief instructions on what you should change.
Execute Install.bat.
Note: For best results, use the command window to execute this file. This will allow you to see progress and error messages.
Some brief instructions (notes) are contained in the qsaparms.bat file. The following are descriptions for a few key parameters.
Parameters that require editing are in bold.
rem *******************************************
rem qsaparms.bat: QSA manual installation
rem script parameter file
rem
rem *******************************************
rem *******************************************
rem START USER CONFIGURABLE SECTION
rem *******************************************
rem *******************************************
rem *******************************************
rem set the values for the following variables
rem any default values have been pre-assigned
rem *******************************************
rem
rem QSA_GUI when set to YES will cause the
rem installer to not pause
rem
set QSA_GUI=NO
rem
rem NOTE: Setting qsagetparms to NO,
rem will cause this script to ignore
rem parms contained in the database
rem and will use what is defined here
rem for upgrades and uninstalls.
rem
rem set qsagetparms=NO
rem *********************
set qsagetparms=YES
rem *********************
rem
rem ***********************
rem ***********************
rem Set qsaparms value to
rem YES after you have
rem finished editing this
rem script.
rem ***********************
rem ***********************
rem
set qsaparms=NO
rem
rem ***********************
rem ***********************
rem Set qsaforce value to
rem YES if the install
rem fails because the platform
rem is not correct. qsaforce
rem will prevent the platform
rem validation from executing.
rem ***************************
rem ***************************
rem
set qsaforce=NO
rem
rem
rem
rem Oracle SID
rem ***************
set ORACLE_SID=orcl
rem ***************
rem
rem Oracle HOME
rem *********************
set ORACLE_HOME=C:\Oracle
rem *********************
rem
rem Oracle USER (SpaceManager Oracle User)
rem ******************
set ORACLE_USER=quest
rem ******************
rem
rem Oracle user's PASSWORD
rem *******************
set ORACLE_PASS=quest
rem *******************
rem
rem QSA Windows user (this user does not need to exist)
rem ****************
set QSA_USER=QSA_DBA
rem ****************
rem
rem QSA Installation Base Directory
rem *******************
set QSA_BASE_DIR=\Quest
rem *******************
rem
rem QSA Base Installation Drive
rem *****************
set QSA_BASE_DRIVE=C:
rem *****************
rem
rem QSA Installation Tablespace
rem *****************
set TABLE_SPACE=TOOLS
rem *****************
rem
rem QSA Work Directory Parameter
rem ********************
set QSA_WORK_DIR=C:\temp
rem ********************
rem
rem QSA LW Tablespace Parameter
rem ***************
set LW_TBLSPC=TOOLS
rem ***************
rem
rem ** NOTE **
rem if you want to changes storage parameters
rem see "qsastor.bat"
rem
rem do not change anything bellow this line
rem
rem *******************************************
rem *******************************************
rem END OF USER CONFIGURABLE SECTION
rem *******************************************
rem *******************************************
set TABLE_EXISTS=%ORACLE_USER%
rem ** the version of quest script required **
set QSA_SCRIPT_VERS=none
rem ** QSA versions **
set QSA_VERSION=none
set QSA_BASE_VERSION=none
© ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center