### Example: Silent Db2 Installation and ARTDATA Creation on Windows Source: https://www.ibm.com/docs/en/common-licensing/8.1.6?topic=tool-installing-db2-silently-creating-artdata-windows This example shows the full command-line execution for silently installing Db2 and creating the ARTDATA database, assuming specific installation paths. It includes navigating to the Db2 image directory and then executing the setup command. ```bash "C:\Users\Administrator> cd c:\SERVER_AWSE_O\image" "C:\SERVER_AWSE_O\image> setup.exe /u" “C:\Program Files\IBM\ICL\LKSAdmin\db2helperfiles\db2_sampleResponseFile.rsp /l db2install.log /t db2trace.log" ``` -------------------------------- ### Example: Db2 Silent Installation on Linux/UNIX Source: https://www.ibm.com/docs/en/common-licensing/8.1.6?topic=tool-installing-db2-silently-creating-artdata-linuxunix This example demonstrates the directory navigation and the db2setup command execution for a silent Db2 installation, assuming specific installation paths. ```bash [root@host ~] # cd /root/server_awse_o/ [root@host server_awse_o] # ./db2setup.exe -r /opt/IBM/ICL/LKSAdmin/db2helperfiles/ db2_sampleResponseFile_unix.rsp -l db2install.log -t db2trace.log ``` -------------------------------- ### Example: Full Db2 Silent Install and ARTDATA Creation Source: https://www.ibm.com/docs/en/common-licensing/9.0.0?topic=tool-installing-db2-silently-creating-artdata-linuxunix This example demonstrates the complete process, including navigating to the Db2 installer directory and executing the silent installation command with specified paths and log files. ```bash [root@host ~] # cd /root/server_awse_o/ [root@host server_awse_o] # ./db2setup -r /opt/IBM/ICL/LKSAdmin/db2helperfiles/db2_sampleResponseFile_unix.rsp -l db2install.log -t db2trace.log ``` -------------------------------- ### Install a Package Source: https://www.ibm.com/docs/en/common-licensing/9.0.0?topic=installing-license-server-in-console-mode-non-windows-platforms Enter '1' when prompted by Installation Manager to begin the installation of a package. The tool will guide you through the necessary steps. ```bash 1 ``` -------------------------------- ### Example: Db2 Silent Installation Command Source: https://www.ibm.com/docs/en/common-licensing/9.0.0?topic=tool-installing-db2-silently-creating-artdata-windows An example demonstrating the silent installation command for Db2, assuming default installation paths for Db2 and License Key Server Administration and Reporting Tool. ```command-line C:\Users\Administrator> cd c:\SERVER_AWSE_O\image C:\SERVER_AWSE_O\image>setup.exe /u "C:\Program Files\IBM\ICL\LKSAdmin\db2helperfiles\db2_sampleResponseFile.rsp" /l db2install.log /t db2trace.log ``` -------------------------------- ### Install License Key Server on SUSE Linux Source: https://www.ibm.com/docs/en/common-licensing/9.0.0?topic=installing-unix-restarting-license-server-after-restart Use these commands to copy the start script and configure the License Key Server to run on system startup for SUSE Linux. ```bash su cp /bin/startLKS.sh /etc/init.d/ibmrational /sbin/chkconfig --add ibmrational /sbin/chkconfig --level 35 ibmrational on /sbin/insserv /etc/init.d/ibmrational ``` -------------------------------- ### Start the License Server Source: https://www.ibm.com/docs/en/common-licensing/8.1.6?topic=unix-starting-stopping-license-server Execute this command in the terminal after navigating to the server's config directory to start the license server. Ensure license keys are installed prior to execution. ```bash cd server_installation_location/config ./start_lmgrd start ``` -------------------------------- ### Install on Linux (PPC) Source: https://www.ibm.com/docs/en/common-licensing/8.1.6?topic=isart-installing-installation-manager-reporting-tool-in-console-mode Use this command to start the installation of License Key Server Administration and Reporting Tool in console mode on a PowerPC Linux system. ```bash cd InstallerImage_linux_gtk_ppc ./consoleinst.sh -input @osgi.install.area/install_rcl_server_admin.xml ``` -------------------------------- ### Install on Windows (64-bit) Source: https://www.ibm.com/docs/en/common-licensing/8.1.6?topic=isart-installing-installation-manager-reporting-tool-in-console-mode Use this command to start the installation of License Key Server Administration and Reporting Tool in console mode on a 64-bit Windows system. This command is applicable whether 64-bit Installation Manager is already installed or not. ```bash cd InstallerImage_win32_win32_x86_64 consoleinst.bat -input @osgi.install.area/install_rcl_server_admin.xml ``` -------------------------------- ### Install on Linux (64-bit) Source: https://www.ibm.com/docs/en/common-licensing/8.1.6?topic=isart-installing-installation-manager-reporting-tool-in-console-mode Use this command to start the installation of License Key Server Administration and Reporting Tool in console mode on a 64-bit Linux system. This command is applicable whether 64-bit Installation Manager is already installed or not. ```bash cd InstallerImage_linux_gtk_x86_64 ./consoleinst.sh -input @osgi.install.area/install_rcl_server_admin.xml ``` -------------------------------- ### Install on Linux (32-bit) Source: https://www.ibm.com/docs/en/common-licensing/8.1.6?topic=isart-installing-installation-manager-reporting-tool-in-console-mode Use this command to start the installation of License Key Server Administration and Reporting Tool in console mode on a 32-bit Linux system. ```bash cd InstallerImage_linux_gtk_x86 ./consoleinst.sh -input @osgi.install.area/install_rcl_server.xml ``` -------------------------------- ### Install on Windows (32-bit) Source: https://www.ibm.com/docs/en/common-licensing/8.1.6?topic=isart-installing-installation-manager-reporting-tool-in-console-mode Use this command to start the installation of License Key Server Administration and Reporting Tool in console mode on a 32-bit Windows system. ```bash cd InstallerImage_win32_win32_x86 consoleinst.bat -input @osgi.install.area/install_rcl_server_admin.xml ``` -------------------------------- ### Install Agent on Linux (PPC) Source: https://www.ibm.com/docs/en/common-licensing/8.1.5?topic=agent-installing-installation-manager-in-console-mode Command to start the installation of the server administration agent in console mode on Linux PPC. ```bash cd InstallerImage_linux_gtk_ppc ./consoleinst.sh -input @osgi.install.area/install_rcl_server_admin_agent.xml ``` -------------------------------- ### Install Agent on AIX (PPC) Source: https://www.ibm.com/docs/en/common-licensing/8.1.5?topic=agent-installing-installation-manager-in-console-mode Command to start the installation of the server administration agent in console mode on AIX PPC. ```bash cd InstallerImage_aix_gtk_ppc ./consoleinst.sh -input @osgi.install.area/install_rcl_server_admin_agent.xml ``` -------------------------------- ### Install Agent on Linux (32-bit) Source: https://www.ibm.com/docs/en/common-licensing/8.1.5?topic=agent-installing-installation-manager-in-console-mode Command to start the installation of the server administration agent in console mode on Linux x86. ```bash cd InstallerImage_linux_gtk_x86 ./consoleinst.sh -input @osgi.install.area/install_rcl_server_admin.xml ``` -------------------------------- ### Start IBM Rational License Key Server Administration Agent Source: https://www.ibm.com/docs/en/common-licensing/8.1.5?topic=agent-installing-installation-manager-in-console-mode Command to start the IBM Rational License Key Server Administration Agent after installation. ```bash Install location/startRCLAgent ``` -------------------------------- ### Install Agent on Windows (32-bit) Source: https://www.ibm.com/docs/en/common-licensing/8.1.5?topic=agent-installing-installation-manager-in-console-mode Command to start the installation of the server administration agent in console mode on Windows x86. ```batch cd InstallerImage_win32_win32_x86 consoleinst.bat -input @osgi.install.area/install_rcl_server_admin_agent.xml ``` -------------------------------- ### Running the license_setup Script Source: https://www.ibm.com/docs/en/common-licensing/8.1.6?topic=installing-unix-license-server Navigate to the directory where you unpacked the License Key Server files and execute the license_setup script to begin the installation process. ```bash cd RLS.8.0.0.PLATFORM_x86. ./license_setup ``` -------------------------------- ### Start IBM Installation Manager in Console Mode Source: https://www.ibm.com/docs/en/common-licensing/9.0.0?topic=installing-license-server-in-console-mode-non-windows-platforms Execute the imcl command with the -c flag to start IBM Installation Manager in console mode for package installation. ```bash ./imcl -c ``` -------------------------------- ### Start the License Server Source: https://www.ibm.com/docs/en/common-licensing/9.0.0?topic=unix-starting-stopping-license-server Execute this command in the terminal after navigating to the LKS_INSTALL_DIR/bin/ directory to start the license server. ```bash ./startLKS.sh ``` -------------------------------- ### Example Db2 Silent Installation Command Source: https://www.ibm.com/docs/en/common-licensing/8.1.5?topic=cdd-installing-db2-silently-rational-license-key-server-administration-reporting-tool-unix An example of the silent installation command with specific directory paths for Db2 and the Rational License Key Server Administration and Reporting Tool. ```bash /RCL/db2/server_awse_o/./db2setup -r "/opt/IBM/RCL/RLKSAdmin/db2helperfiles/db2_sampleResponseFile_unix.rsp" -l "/opt/IBM/RCL/RLKSAdmin/db2helperfiles/db2-in-artlog.log" -t "/opt/IBM/RCL/RLKSAdmin/db2helperfiles/db2-in-trace-artlog.log" ``` -------------------------------- ### Install Agent on Linux (64-bit) Source: https://www.ibm.com/docs/en/common-licensing/8.1.5?topic=agent-installing-installation-manager-in-console-mode Command to start the installation of the server administration agent in console mode on Linux x86_64, regardless of whether IBM Installation Manager is already installed. ```bash cd InstallerImage_linux_gtk_x86_64 ./consoleinst.sh -input @osgi.install.area/install_rcl_server_admin_agent.xml ``` -------------------------------- ### Install License Key Server on Other Linux Systems Source: https://www.ibm.com/docs/en/common-licensing/9.0.0?topic=installing-unix-restarting-license-server-after-restart Use these commands to copy the start script and create symbolic links for the License Key Server to run on system startup for other Linux distributions. ```bash su cp /bin/startLKS.sh /etc/rc.d/init.d/S98Rational ln -s /etc/rc.d/init.d/S98Rational /sbin/rc.d/rc3.d/S98Rational ln -s /etc/rc.d/init.d/S98Rational /sbin/rc.d/rc4.d/S98Rational ln -s /etc/rc.d/init.d/S98Rational /sbin/rc.d/rc5.d/S98Rational ``` -------------------------------- ### Install Agent on Windows (64-bit) Source: https://www.ibm.com/docs/en/common-licensing/8.1.5?topic=agent-installing-installation-manager-in-console-mode Command to start the installation of the server administration agent in console mode on Windows x86_64, regardless of whether IBM Installation Manager is already installed. ```batch cd InstallerImage_win32_win32_x86_64 consoleinst.bat -input @osgi.install.area/install_rcl_server_admin_agent.xml ``` -------------------------------- ### Remove License Server (HP-UX Example) Source: https://www.ibm.com/docs/en/common-licensing/8.1.5?topic=unix-removing-common-licensing Example command to remove the license server installation on an HP-UX platform. ```bash rm -fr base/cots/flexlm.7.0f/hppa_hpux ``` -------------------------------- ### Remove License Server (Solaris Example) Source: https://www.ibm.com/docs/en/common-licensing/8.1.5?topic=unix-removing-common-licensing Example command to remove the license server installation on a Solaris platform. ```bash rm -fr base/cots/flexlm.7.0f/sun4_solaris2 ``` -------------------------------- ### Install Agent on HPUX (ia64_32) Source: https://www.ibm.com/docs/en/common-licensing/8.1.5?topic=agent-installing-installation-manager-in-console-mode Command to start the installation of the server administration agent in console mode on HPUX ia64_32. ```bash cd InstallerImage_hpux_gtk_ia64_32 ./consoleinst.sh -input @osgi.install.area/install_rcl_server_admin_agent.xml ```