You are here

Oracle VM Manager runInstaller.sh Script Tips & Tricks

Applicable for all Oracle VM Releases
The Oracle VM Manager runInstaller.sh script has several handy options. The options can be listed by typing:
# ./runInstaller.sh --help
Oracle VM Manager Release 3.3.1 Installer
Usage:  runInstaller.sh [options]
options
  -h, --help               Shows this message
  -c, --config <cfgFile>   Use specified config file to do install
  -u, --uuid <uuid>        Manager UUID (install using the provided manager UUID)
  -i, --installtype <type> Install type : Install, Uninstall, Upgrade
  -y, --assumeyes          Automatically answer yes on Continue? questions
  -n, --noprereq           Ignore prerequisite checks
  -k, --cleanup            Clean up temporary config file after installation

To run the Oracle VM runInstaller script follow these steps:

  • Download the Oracle VM Manager installation media (not source) from the Oracle Software Delivery Cloud - Oracle Linux and Oracle VM portal.
  • Copy the Oracle VM Manager installation media to a directory on the Oracle VM Manager host.
  • Log in to the Oracle VM Manager host as root, and unzip the file.
  • Mount the ISO file by typing “mount -o loop <FILE NAME>.iso /mnt”
  • Change to the /mnt directory, i.e. “cd /mnt.
  • Run the installer script as root, by typing “./runInstaller.sh”

Using the runInstaller.sh script with no options will prompt for each required option.

Table 6 shows the runInstaller options with examples.

Option
Description
[ -h | --help ]
Displays the runInstaller.sh help screen with parameters and options.
{ -c | --config= }configfile.yml
Specifies an install configuration file for a silent install. 
# ./runInstaller.sh --config=/path/configfile.yml --installtype=Install --assumeyes
{ -u | --uuid= } uuid
Sets the UUID for Oracle VM Manager. Restoring Oracle VM Manager includes using the UUID restore switch (-u, or --uuid) with the UUID of the Oracle VM Manager installation that will be restored. The Oracle VM Manager UUID is listed in the “.config ” file on the Oracle VM Manager host in the /u01/app/oracle/ovm-manager-3/ directory as well as in each server pool' .ovspoolfs file (OVS_REPO_MGR_UUID=UUID) located in the pool file system. The UUID restore switch is used with the runInstall.sh script, i.e. ./runInstaller.sh -u UUID.
{ -i | --installtype= } {Install | Uninstall | Upgrade}
Selects the install type without being prompted. Use this options with a silent install.
# ./runInstaller.sh --installtype=Install --assumeyes
The above example would do a silent install with default settings.
{ -y | --assumeyes }
Sets all the install prompts to respond yes. When combined with the --installtype=Install option, a silent install with the default settings is ran.
# ./runInstaller.sh --installtype=Install --assumeyes
{ -n | --noprereq }
Sets the installer to ignore all prerequisite checks. This option is really handy to bypass false prerequisite errors. For example if the oracle-rdbms-server-12cR1-preinstall RPM is part of your standatrd OS build, it creates a file named "/etc/security/limits.d/oracle-rdbms-server-12cR1-preinstall.conf" that overrides the limits.conf setting, and stops the Oracle VM installer with a prerequisite error.
# ./runInstaller.sh --noprereq
{ -k | --cleanup }
Sets the installer to remove all of the temporary install and configuration files.
# ./runInstaller.sh --cleanup
 

Silent Oracle VM Release 3.3.2 Installation 

The next example shows the command to run a silent Oracle VM Release 3.3.2 install with an answer file:

./runInstaller.sh --config=/path/configfile.yml -i install --assumeyes 

Note: Substitute /path/configfile.yml with the path to your YAML formatted configuration file with the following keys and values.
 
db:
    port : 49500
    user : ovs
    password : password
 
webLogic:
    user : weblogic
    password : password
 
OVMCore:
    user : admin
    password : password
 
Certificate:
       FQN : fully.qualified.domain.name
 
YAML formatted configuration file notes: 
1) Substitute the password with your MySQL Database and WebLogic passwords, and the FQN with your Oracle VM Manager host's fully qualified domain name. 
2) Ensure that your YAML formatted configuration file does not have hidden special characters. With vim use the :set list option to confirm there are no hidden special characters. The below example shows a YAML formatted configuration file in vim with the ":set list" option to confirm there are no hidden special characters. 
 

db:$
        port : 49500$
        user : ovs$
        password : password$
$
webLogic:$
        user : weblogic$
        password : password$
$
OVMCore:$
        user : admin$
        password : password$
$
Certificate:$
        FQN : fully.qualified.domain.name$

:set list

 

Silent Oracle VM Release 3.3 Uninstall

The next example shows the command to run a silent Oracle VM Release 3.3 uninstall:

./runInstaller.sh -i Uninstall -y

Download PDF Now!