This action might not be possible to undo. Are you sure you want to continue?
Installation and Configuration Guide
Part number: 5998-1358 Software version: iMC PLAT 5.1 (E0202) Document version: 5P103-20111222
Legal and notice information © Copyright 2010-2011 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
Support and other resources
For worldwide technical support information, see the HP support website: http://www.hp.com/support Before contacting HP, collect the following information: • • • • • • Product model names and numbers Technical support registration number (if applicable) Product serial numbers Error messages Operating system type and revision level Detailed questions
HP recommends that you register your product at the Subscriber's Choice for Business website: http://www.hp.com/go/wwalerts After registering, you will receive email notification of product enhancements, new driver versions, firmware updates, and other product resources.
To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals • • For related documentation, navigate to the Networking section, and select a networking category. For a complete list of acronyms and their definitions, see HP A-Series Acronyms.
• • • • • HP.com http://www.hp.com HP Networking http://www.hp.com/go/networking HP manuals http://www.hp.com/support/manuals HP download drivers and software http://www.hp.com/support/downloads HP software depot http://www.software.hp.com
data corruption. click OK. An alert that contains additional or supplementary information. For example. Multi-level menus are separated by angle brackets. For example. 2 . button names. An alert that calls attention to essential information. GUI conventions Convention Boldface > Description Window names. or damage to hardware or software.Conventions This section describes the conventions used in this documentation set. field names. and menu items are in bold text. An alert that provides helpful information. File > Create > Folder. the New User window appears. Symbols Convention CAUTION IMPORTANT NOTE TIP Description An alert that calls attention to important information that if not understood or followed can result in data loss.
Contents Overview ······································································································································································ 1 Installation preparations ·············································································································································· 1 Checking required software packages ···························································································································1 Checking the disk space ·················································································································································· 2 Adjusting kernel parameters ············································································································································ 2 Creating required user and groups································································································································· 2 Modifying the access right on the Oracle directory ······································································································3 Creating the Oracle base directory. directory owner and access right ····································································· 3 Modifying the profile file ·················································································································································· 3 Setting environment variables for the oracle user ·········································································································3 Checking the availability of environment variables ······································································································4 Uploading the Oracle database to be installed ············································································································4 Installing Oracle database 11g ·································································································································· 5 Installing the Oracle database client ························································································································ 28 Configuring a network service name························································································································ 39 Managing Oracle database 11g ····························································································································· 48 Enabling the Oracle service manually ························································································································· 48 Configuring Oracle database 11g ······························································································································ 48 Adding the database service for a listener ················································································································· 48 Setting the maximum number of Oracle processes and Oracle connection limit ··················································· 49 Shutting down the Oracle service manually················································································································ 49 Configuring Oracle automatic startup ························································································································· 50 Creating a database user ············································································································································· 50 Setting the character set for the Oracle client ············································································································· 51 Setting database storage space ··································································································································· 51 Setting database storage space in the web interface ······················································································· 51 Setting database storage space through SQL sentences ·················································································· 53 Modifying database memory parameters ··················································································································· 53 Setting user password lifetime of the Oracle database ····························································································· 54 Changing user passwords of the Oracle database ··································································································· 54 Using database administrator’s account to change the user password ·························································· 55 Updating the user password in the iMC configuration file ··············································································· 56 Unlocking a database user ·································································································································· 57 Installing iMC ····························································································································································· 58 FAQ············································································································································································· 59 i .
For detailed installation procedure and parameter settings of Oracle databases. follow these guidelines: • • On the iMC server. If you are using a different Oracle database version. Oracle Database Quick Installation Guide. 1 .com. you can input the local path to the folder. To install the database on a separate database server. The database version used in this guide is Oracle Database 1 1g. install Oracle Database 1 1g first. You can configure your Oracle database based on system software and hardware to achieve optimized performance.Overview This document describes the configuration information you should pay attention to when you install an Oracle Database 1 1g for iMC on the Linux operating system and after the installation. Before installing iMC. This guide only provides a generic Oracle database installation procedure. you can install the database on a separate database server and save the iMC data on the database server. the configuration procedure may differ slightly. When deploying the iMC components. and proceed with the iMC installation.oracle.0. see Oracle Database Installation Guide. Create a data file folder on the database server before you start the installation. and Oracle Universal Installer and OPatch User’s Guide at www. install an Oracle client with the same version as the database. CAUTION: Use the operating system of Linux 5. Then restart the operating system. Currently.
and use rpm -q to check whether an rpm file is available.9.4.19 glibc-devel-2.5-2 make-3.5 libstdc++-3.3.5-2 libaio-devel-0.92.2.105-2 libgcc-3. When a software package is not installed.4-2. • A 32-bit operating system must use the 32-bit Oracle database and a 64-bit operating system must use the 64-bit Oracle database.97-5 elfutils-libelf-devel-0.4.11 unixODBC-devel-2. copy the software package to your local device and use the rpm -i xxx.0.2-18 compat-libstdc++-33-3.3.4-2.Installation preparations CAUTION: • Type rather than copy and paste commands during database installation to make them correctly recognized.105-2 libaio-0.3-47. CAUTION: The software packages must be 32-bit.19 gcc-3.4.5 unixODBC-188.8.131.52. make sure that you have installed required software packages on the operating system. The software packages that are to be installed are: binutils-2.rpm command to install it.9.2.4-2.80-5 sysstat-5.3. Before installing Oracle Database 1 1g.97-5 glibc-2.5-2 gcc-c++-3.19 glibc-common-2.9. If you are running Linux AS 5.4. log in to the system as a root user and complete configurations as follows.11 1 .3. Checking required software packages Before installing the Oracle database.2.5-2 libstdc++-devel-3.3 elfutils-libelf-0. use rpm –qa to check all the installed software packages.3.
use the following command: #df -k Adjusting kernel parameters To ensure the normal operation of the Oracle database.ipv4. use the /sbin/sysctl -p /etc/sysctl.conf directory using a text editor. The oinstall group user can install Oracle software The dba group user can manage the database. the oinstall group.shmmni=4096 kernel. make sure that the hard disk drive where the home directory is located has at least 10 GB free space (The actual memory space requirements for the home directory depend on the managed devices and the number of performance monitoring instances) and the hard disk drive where the /tmp directory is located has at least 400 MB free space. To view available space on hard disk drives.core.NOTE: You can locate uninstalled software packages in the server directory of your installation disk and use the rpm –ivh command to install them. adjust the kernel parameters in the /etc/sysctl. Checking the disk space Before installing the Oracle database. use these commands: Execute the following commands as the root user: groupadd oinstall groupadd dba useradd -g oinstall -G dba –d /home/oracle –m –s /bin/bash oracle Set the Oracle user password: 2 .sem=250 32000 100 128 fs. start up. or shut down the Oracle database.core.core. If you are running Linux AS 5.ip_local_port_range=1024 65000 net.wmem_max=262144 After you adjust the kernel parameters. and the dba group before installing Oracle because: • • • Only the oracle user can install.file-max=65536 net.shmall=2097152 kernel.wmem_default=262144 net. make sure that the following kernel parameters take the same or larger values than those recommended: kernel.rmem_max=4194304 net.shmmax=4294967295 kernel.core. Creating required user and groups You must create the oracle user.rmem_default=4194304 net.conf command to make them take effect. To create them.
Open the file and set the language environment variable according to the language your system supports.passwd oracle Modifying the access right on the Oracle directory To enable the oracle user to execute the oracle database installation program.bash_profile 1. directory owner and access right Use these commands: mkdir -p /u01/app/ chown -R oracle:oinstall /u01/app/ chmod -R 775 /u01/app/ Modifying the profile file To make the environment variables of the Oracle database take effect automatically with the system loading. you must configure the environment variables for the oracle user. Note that you must specify consistent ORACLE_SID in the subsequent installation procedure. set the environment variables in file . • • The directories for ORACLE_BASE and ORACLE_HOME are flexibly set specific to the directory structure. you need to modify the profile file as follows: #su . For example. you need to modify the owner and access right of the directory where the Oracle database installation program is to be saved. ORACLE_SID is the Oracle database instance ID. #chown -R oracle:oinstall /home/oracle/ #chmod -R 775 /home/oracle/ Creating the Oracle base directory.1.root #vi /etc/profile ORACLE_BASE=/u01/app/oracle ORACLE_HOME=$ORACLE_BASE/product/11. Setting environment variables for the oracle user To ensure normal startup and operation of the Oracle database.0/db_1 ORACLE_SID=orcl PATH=$PATH:$ORACLE_HOME/bin:$HOME/bin LD_LIBRARY_PATH=$ORACLE_HOME/lib export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH LD_LIBRARY_PATH where.bash_profile in the home directory: su . Save the file after setting the language environment variable.oracle vi . 3 .
the preparation for installing the Oracle database is completed. make sure that the environment variables have taken effect. you will fail to install the Oracle database. Now. 4 . exit the system.UTF-8 export LANG 2. and re-log in as the oracle user.oracle export DISPLAY=localhost:0.” Uploading the Oracle database to be installed Copy the Oracle installation package to the /home/oracle directory and decompress the package. see “How to verify if the environment variables take effect?. For more information. Otherwise. If you use the installation disk.LANG=en_US. umask 022 su . Save the file. just follow the guide of the disk.0 Checking the availability of environment variables Before installing the Oracle database. exit Add the following line at the end of the text. 3. Restart the operating system and then proceed with the Oracle installation.
Installing Oracle database 11g After restarting the operating system. as shown in Figure 1. log in to the system as the oracle user. and perform the following command in the installation package directory: $. 5 ./runInstaller . Figure 1 Select an installation method Select Advanced Installation and click Next to enter the installation type selection page as shown in Figure 2.) in front of the slash (/) in the preceding command line. Run the runInstallar program in the installation package to display the universal installation screen. NOTE: Input a dot (.
6 . as shown in Figure 3.Figure 2 Select installation type Select Enterprise Edition and click Next to enter the installation location selection page.
as shown in Figure 4. 7 . and click Next to enter the product-specific prerequisite checks page.Figure 3 Select installation location Use the default settings.
and modify the environment settings. 8 . If no item needs to be verified manually.Figure 4 Product-specific prerequisite checks In Figure 4. click Next to enter the configuration option selection page. Manually verify the items that are flagged with warnings and items that require manual check. Then click Next. as shown in Figure 5. the installation program checks the environment settings and displays the check results.
as shown in Figure 6. 9 .Figure 5 Select configuration option Use the default settings and click Next to enter the database configuration selection page.
10 .Figure 6 Select database configuration Select Advanced and click Next to enter the privileged operating system groups configuration page. as shown in Figure 7.
Figure 7 Configure privileged operating system groups Use the default settings. 11 . and click Next to enter the Oracle configuration manager registration page. as shown in Figure 8.
12 . select Enable Oracle Configuration Manager. as shown in Figure 9. type the authorization information and click Next to enter the summary page.Figure 8 Register Oracle configuration manager If you have purchased the Oracle license.
Figure 10 shows the installation progress bar. 13 .Figure 9 Summary The summary page displays the settings you previously made. Click Install to start installing Oracle Database 1 1g.
as shown in Figure 1 1. you will enter the database template page.Figure 10 Installation progress After the installation. 14 .
as shown in Figure 12.Figure 11 Database template Select Custom Database and click Next to enter the database identification page. Figure 12 Database identification 15 .
Enter the global database name and SID (the SID must be consistent with ORACLE_SID in “Modifying the profile file”). as shown in Figure 14. 16 . Figure 13 Management options Use the default settings and click Next to enter the database credentials configuration page. and click Next to enter the management options configuration page. as shown in Figure 13.
create a user with same privileges and make sure that the password does not contain any of the previous characters. DBSNMP. Then click Next to enter the storage options configuration page. For more information about creating a database user. or use the same password for all accounts.” 17 . CAUTION: For iMC to correctly identify the password of the user SYS during installation. @ < > / ^ \t If you do not want to change the password of the user SYS. see “Creating a database user. as shown in Figure 15. make sure that the password does not contain any of the following characters: ` ' \ " ! ( ) & | \\ $ . and SYSMAN. SYSTEM.Figure 14 Database credentials You can set different passwords for the database accounts SYS.
as shown in Figure 16.Figure 15 Storage options Select File System. Figure 16 Database file locations 18 . and click Next to enter the database file location configuration page.
and click Next to enter the database content configuration page. 19 .Select Use Database File Locations from Template and click Next to enter the database recovery configuration page. as shown in Figure 17. as shown in Figure 18. Figure 17 Recover database configuration Use the default settings.
configure the memory settings according to the installation type and physical memory size. as shown in Figure 19. On the initialization parameters configuration page. 20 .Figure 18 Set database content Use the default settings and click Next.
Figure 19 Set initialization parameters Typical is selected by default. as shown in Figure 20. 21 . Table 1 Value for setting memory size System memory 4G 6G 8G 10 G or larger For centralized database 1400 M 2400 M 3600 M 4500 M For standalone database 2400 M 3600 M 4800 M 5000 M Click the Character Sets tab and set the character set for the database. See Table 1 for setting the memory size.
• If you are not sure of the language. For more information about setting database character set. Make sure the database character set is set correctly. After setting the initialization parameters. click Next to enter the security settings page.oracle.com. as shown in Figure 21. 22 . or garbled characters may appear. select Use Unicode (AL32UTF8) for the database character set.Figure 20 Set the character set NOTE: • You can set WE8ISO8859P1 for western European languages. see Oracle Database Globalization Support Guide at www.
as shown in Figure 22. 23 .Figure 21 Security settings Use the default settings and click Next to enter the automatic maintenance tasks configuration page.
Figure 22 Configure automatic maintenance tasks Select Enable automatic maintenance tasks and click Next to enter the database storage configuration page. as shown in Figure 23. 24 .
as shown in Figure 24.Figure 23 Configure the database storage Select Tablespaces > USERS from the navigation tree to enter the General page. Select Use bigfile Tablespace and click Next to enter the database creation options page. Figure 24 Create database 25 .
Use the default settings and click Finish to start creating the database. 26 . click OK to complete installation. After the database is created. Then on the configuration script window. and execute the scripts. log in as the root user. as shown in Figure 25. a configuration script window appears. Figure 25 Execute configuration scripts Open a terminal window. as shown in Figure 26.
Figure 26 Complete installation Click Exit to complete installing the database. 27 .
In the Oracle client installation directory. Figure 27 Welcome page Click Next to enter the inventory directory and credentials selection page. as shown in Figure 27. log in to the system as an Oracle user./runInstaller The welcome page appears. 28 . as shown in Figure 28.Installing the Oracle database client To deploy the iMC server and database server on different hosts. For installation preparations. you must install the Oracle 1 1g client with the same version as the database server on the iMC server.” After restarting the operating system. execute the following command: $. see the chapter “Installation preparations.
Figure 28 Specify inventory directory and credentials Use default settings. as shown in Figure 29. 29 . Click Next to enter the installation type selection page.
and click Next to enter the location selection page.Figure 29 Select an installation type Select Custom. as shown in Figure 30. 30 .
Use defaults for other settings. The value must be consistent with the ORACLE_SID of the database server for a correct connection. as shown in Figure 31. and click Next to enter product-specific prerequisite check page. 31 .Figure 30 Select a location Type the ORACLE_SID in the Name field.
If your system environment settings meet the requirement. 32 . you must modify your system environment variables as prompted before going to the next step. and displays the result. as shown in Figure 32.Figure 31 Product-specific prerequisite checks The installation program checks the system environment. if not. click Next to enter available product components page.
as shown in Figure 33.Figure 32 Available product components Select the following components: • • • • • • • • Oracle SQLJ Oracle Database Utilities Oracle Java Client SQL *Plus Oracle JDBC/THIN Interfaces Oracle Call Interface (OCI) Oracle ODBC Driver Oracle SQL Developer Click Next to enter the summary page. 33 .
as shown in Figure 34. 34 .Figure 33 Summary page Click Install to enter the installation page.
35 .Figure 34 Install the product The script execution page shown in Figure 35 appears during installation.
Figure 35 Execute the configuration scripts Open a terminal window. Execute the scripts in the specified directory. and log in as the root user. 36 . as shown in Figure 36.
Figure 36 Execute the scripts After executing the scripts. close the terminal window and return to the script execution page. Click OK to enter the end of installation page. as shown in Figure 37. 37 .
Figure 37 End of installation Click Exit to complete the installation and start the database connectivity check process. 38 .
do not configure network service names with the same name but different configurations for the iMC servers. you must configure a network service name for the iMC server to connect to its database server. You can configure the network service name in the following ways: Execute the command as an Oracle user: netca The window for configuring an Oracle network service name appears. host name. When an iMC server does not use the local database server. The network service name includes the parameters. Figure 38 Welcome interface Select Local Net Service Name configuration and click Next.Configuring a network service name CAUTION: If iMC servers deployed in distributed mode do not use the same database. 39 . protocol. and database name. such as the name.
You can also select any other operation as needed.Figure 39 Select an operation Select Add and click Next. Figure 40 Service Name 40 .
41 .Enter the service name of the database you want to access and click Next. Figure 41 Select a protocol Select transmission protocol TCP and click Next. An Oracle database’s service name is normally its global database name.
Figure 43 Perform a test Select Yes. select Use the standard port number of 1521. perform a test and click Next.Figure 42 Configure host name and port number Enter the IP address of the database server. and click Next. 42 .
Figure 44 Test interface The interface displays the test result of connecting to the Oracle database server. Figure 45 Change username and password 43 . If the connection fails. click Change Login to change the login username and password.
Still use the username system, enter the password (which was set during the database installation), and click OK. Figure 46 Test result
The interface shows that the connection is successful and you can access the Oracle database server. Click Next.
Figure 47 Enter a name for the network service name
Enter a name for the network service name. This name is automatically added to the list for selecting a network service name when you install iMC. Click Next. Figure 48 Whether to configure another network service name
If you want to configure another network service name, select Yes and click Next. If not, select No and click Next. Figure 49 Complete network service name configuration
Click Next to complete network service name configuration.
TNSNAME_B and TNSNAME_C for Server A. for example. NOTE: The network service names in the example are for illustration only. Scenario 2: If Server A (master iMC server). Servers A. To illustrate the network service name configuration. TNSNAME_B for connecting to Server B. and TNSNAME_C for connecting to Server C. and C can use the network service name TNSNAME_D when you install iMC on them. take the following application scenarios for example: Scenario 1: If Server A (master iMC server). 47 . you must configure the other two unavailable network service names for each server. and Servers B and C (subordinate iMC servers) use a separate database server DBServer_D and have been configured with a network service name TNSNAME_D for connecting to DBServer_D.Figure 50 Finish Click Finish. B. and Servers B and C (subordinate iMC servers) use local databases and have been configured with network service names TNSNAME_A for connecting to Server A. respectively. The configuration of the same network service name must be the same.
and the SID specified during the Oracle installation. The detailed configurations are shown in Figure 51. Enabling the Oracle service manually 1.Managing Oracle database 11g To operate the database. Enable the listener controller After rebooting the operating system. After running the preceding commands./netmgr & Adding the database service for a listener On page Oracle Net Manager. select node LISTENER from the navigation tree. start up the Oracle database with the following commands: $ cd $ORACLE_HOME/bin $ . To enable netmgr./sqlplus sys/ora123 as sysdba SQL>startup SQL>exit where. use the following command: $ . 48 ./lsnrctl service 2. NOTE: The following operations apply only to the Oracle database server. Specify the global database name. use the following commands: $ cd $ORACLE_HOME/bin/ $ . you must log in to the system as oracle. or using the tool netmgr offered by Oracle. you can successfully start up the Oracle database. Configuring Oracle database 11g After the installation. sys is the name of the administrator user of the Oracle database. Make sure the global database name and the SID are the same as those configured in the database identification page (see Figure 12). The following parts of this section specify how to configure the Oracle database using netmgr. Select Database Services from the list box and then click Add Database. make some configurations by changing the configuration file directly. and the user password is ora123. enable the listener controller using the following commands: $ cd $ORACLE_HOME/bin $ . Oracle home directory. Perform the commands in the subsequent sections as the oracle user unless otherwise specified./lsnrctl start To view the status of the listener controller named lsnrctl. Enable the Oracle database After ensuring that you have successfully started up the listener controller. Tool netmgr locates in the $ORACLE_HOME/bin/ directory.
the Oracle database allows 150 connections at most. see the chapter “FAQ” in HP Intelligent Management Center Getting Started Guide./sqlplus sys/ora123 as sysdba SQL>shutdown immediate SQL>exit where. or database errors occur on some iMC modules. 1./lsnrctl stop 49 . Shut down the listener controller $ cd $ORACLE_HOME/bin $ . you need to shut down the Oracle database first.Figure 51 Add the database service for a listener Setting the maximum number of Oracle processes and Oracle connection limit By default. When multiple iMC modules are deployed in centralized mode. Shut down the Oracle database Perform the following commands: $ . and the user password is ora123. For more information about the configuration procedure. sys is the name of the administrator user of the Oracle database. you must set a proper maximum number of Oracle processes and a proper Oracle connection limit. 2. and then the listener controller. Shutting down the Oracle service manually To shut down the Oracle service.
tar. make sure that the password does not contain any of the following characters: ` ' \ " ! ( ) & | \\ $ . and change the last line: cp oracled /etc/rc. chkconfig --add oracled vi /etc/oratab Change the line: orcl:/u01/app/oracle/product/11.tar. You can use the commands of service oracled start and service oracled stop to start and stop Oracle services./sqlplus sys/iMC123 as sysdba sys is the username and iMC123 is the password. Copy the script file named oracled.) Execute the service register command as a root user: Edit the Oracle configuration file /etc/oratab.Now. Grant the sysdba privilege to the user: 50 . imc is the username and imcpassword is the password. (Execute the chmod command as a root user.) Modify the attribute value of the file to 755 with the command chmod.1.gz to the Linux operating system and then use the following command to unzip the file: tar -xzf oracled. (Execute the cp command as a root user. 2. Log in to the Oracle database as the user SYS: .d/init.gz NOTE: The oracled.0/db_1:N to: orcl:/u01/app/oracle/product/11.d/init. Copy the unzipped file to the directory of /etc/rc.d/. the Oracle service is shut down.tar.0/db_1:Y 6. Configuring Oracle automatic startup To achieve Oracle automatic startup at the Linux operating system startup. @ < > / ^ \t 3. register Oracle as the system service. Creating a database user Follow these steps to create a database user: 1.1. Create a user imc: create user imc identified by imcpassword. 2.d/ 3. chmod –R 755 oracled 4. 5. CAUTION: For iMC to correctly identify the password during installation. 1.gz file is in the manual/db/Oracle directory of the iMC installation package.
see Oracle Database Globalization Support Guide at www. you should add files to the USERS table space to provide storage space after installing the database. ip address is the IP address of the Oracle server. you should create at least six files (190 G/32 G = 5. The number of files then will be added depends on the disk space needed for all iMC components. For example. Make sure the character set is set correctly. Access the website https://ip address:1158/em. Select Server > Datafiles. deployment errors occur. 3. Setting the character set for the Oracle client After installing the Oracle database using the previous steps. or garbled characters may appear. [oracle@localhost bin]$ emctl start dbconsole 2. The size of a file in the Oracle database is up to 32 G.grant sysdba to imc. and use the emctl start dbconsole command to start up the web management system. If a database has several iMC components installed. NOTE: Database users must be granted with the sysdba privilege for connecting to the database. For more information about setting the client character set. if iMC needs 190 G to manage more than 5000 devices.WE8IS08859P1 export NLS_LANG • Other languages Set a proper character set with the following format. To make the NLS_LANG environment variable automatically take effect with the system loading. as shown in Figure 52.9375). skip this section for you have specified big file table space. Log in to the web interface as the SYSTEM user. Otherwise. 51 . use these commands for different languages: • English NLS_LANG=AMERICAN_AMERICA. If no big file system is specified.oracle.com. Log in to the operating system as the oracle user. modify the /etc/profile file as follows: To set the language environment variables for client character set NLS_LANG.CHARACTERSET export NLS_LANG . NLS_LANG=LANGUAGE_NATIONAL. TIP: You can set WE8ISO8859P1 for western European languages. Setting database storage space in the web interface 1. Setting database storage space If you install the database by following the steps above. create files according to the total needed size of the components. you must set the NLS_LANG environment variable to comply with the client language environment.
52 . as shown in Figure 54.Figure 52 Database instance management interface The data file management interface appears after you click Datafiles. Figure 53 Data file management interface 4. Select the data file of the USERS table space and click Go next to Create like to enter the page. as shown in Figure 53.
distribute the files on different disks for I/O load balancing.oracle [oracle@iMCServer ~]$sqlplus sys/syspassword@orcl as sysdba syspassword is the password of the sys user. When finishing all the settings.dbf in the directory.” follow these steps to set the memory parameters. Perform the following SQL sentence to check the number of data files in the USERS table space and file directory. click OK. 3. Add users02.dbf The output shows that the files are saved in the directory /u01/app/oracle/oradata/orcl/. SQL> alter tablespace USERS add datafile '/u01/app/oracle/oradata/orcl/userdata02. If your system has multiple disks. FILE_NAME ----------------------------------------------------------/u01/app/oracle/oradata/orcl/users01.dbf' size 100M autoextend on next 100M maxsize UNLIMITED. Modifying database memory parameters If the database memory parameters are not specified in the chapter “Installing Oracle database 1 1g. 53 .Figure 54 Create a data file 5. Log in to your operating system as the oracle user. Type the file name and file directory. 2. Repeat these steps to add more data files. Setting database storage space through SQL sentences 1. You can also use the default directory for file directory. Use the following sentence to add a data file in the new directory. SQL> select file_name from dba_data_files where tablespace_name='USERS'. and then log in to the Oracle database as the sys user with the following commands. and orcl is the Oracle instance. You can add many data files with these steps. [root@iMCServer ~]#su .
Setting user password lifetime of the Oracle database By default. Set the MEMORY_TARGET with the following sentence. 2. Use the following commands to set the user password to Unlimited.1. SQL> select * from dba_profiles s where s. For the reference value. query the expiration date of user passwords by executing the following SQL sentence: Select * from dba_users where username = ‘database username’ 54 .oracle [oracle@iMCServer ~]$ sqlplus sys/syspassword@orcl as sysdba syspassword is the password of the sys user. PROFILE RESOURCE_NAME RESOURCE LIMIT ----------------------------------------------------------DEFAULT PASSWORD_LIFE_TIME PASSWORD 180dys The output shows that the lifetime of the user is 180 days. and then log in to the Oracle database as the sys user with the following commands. If your iMC components are not installed at the same time.oracle [oracle@iMCServer ~]$sqlplus sys/syspassword@orcl as sysdba syspassword is the password of the sys user. Log in to your operating system as the oracle user. 3. Use the following commands to set and display the password of the sys user. 2. the user password lifetime of the Oracle database is 180 days. [root@iMCServer ~]#su . you must change the password before the user runs for 180 days. The modification takes effect immediately without rebooting your database and the password will never expire. 1. You can follow these steps to set a password to Unlimited. The username in each db-config represents a user account. and orcl is the Oracle instance. see Table 1. and then log in to the Oracle database as the sys user with the following commands. You can view all the existing iMC users in the $IMCROOT/common/conf/server-addr. Changing user passwords of the Oracle database If a user password uses the default lifetime. SQL> alter system set MEMORY_TARGET=1700M scope=spfile. SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED. [root@iMCServer ~]# su .xml file. Log in to your operating system as the oracle user.profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME'. and orcl is the Oracle instance.
follow these steps: 1. you do not need to update the user password in the iMC configuration file. and then log in to the Oracle database as the sys user with the following commands: 55 . IMPORTANT: Stop iMC before you change passwords.sh -query script provided by iMC. Using database administrator’s account to change the user password Updating the user password in the iMC configuration file If the new password is the same as the one to be expired. For how to unlock a user account. 2. the password of the imc_config user is iMC5_u4b22q. Figure 56 Query the password of the imc_config user As shown in Figure 56. the user account will be locked because of inconsistent passwords. see “Unlocking a database user. 2.Figure 55 The query result To change a user password. Using database administrator’s account to change the user password 1. Log in to your operating system as the oracle user. and how to unlock the user. If you change the password in Oracle or iMC without updating the iMC configuration files. Query the password of the Oracle database user by executing the pwdmgr. start iMC.” The following examples illustrate how to change the password of user imc_config. After you complete changing user passwords.
and orcl is the Oracle instance. If you have installed UAM/EAD V3. [root@daemon8829 iMC]# cd deploy/ [root@daemon8829 iMC]# .conf iMC\portal\conf\portal. and 127. You can use the .[root@iMCServer ~]# su . and is the same as that configured in “Using database administrator’s account to change the user password.password password Remarks If you are using E6301. 3.0.xml Variable name DBUserPassword database.password database.sh –modify 127. To ensure communication between iMC and the database.properties iMC\uamjob\conf\uamjob. If iMC is deployed in distributed mode. use the . set the password in the iMC\dam\conf\server./pwdmgr command to obtain passwords in clear text or update the latest passwords to the file.xml file to the password for DAM database user account dam. The uamjob directory exists only in the E6301L03 and later versions.1 orcl imc_config dbpasswd Change password successfully dbpasswd is the new password of the user. change passwords for user ead in the following configuration files. E6301P01.0. Execute the following SQL sentence to change the password of a specified user.xml. If you have installed the DAM component.conf file to the password for user imc_config. For information about the Oracle instance and the IP address of the Oracle database./pwdmgr command to update the corresponding password in file server-addr. see the $IMCROOT/common/conf/server-addr.0. • Usually. you must update the password for every iMC server. Updating the user password in the iMC configuration file Use the following commands to update the password of user imc_config in the iMC configuration file.xml in the installation path. a user can use the database management tool to change the database password of a certain iMC module. or E6301H02.0.oracle [oracle@iMCServer ~]$ sqlplus sys/syspassword@orcl as sysdba syspassword is the password of the sys user. NOTE: • The usernames and passwords used by the iMC modules are stored in cipher text in file \common\conf\ server-addr. If the password of an iMC component expires./pwdmgr. 56 . Table 2 Change passwords for user ead File iMC\uam\etc\uam.60 and its patches.xml file. change the database user password in the iMC configuration file by using the same commands. TIP: You must set password sqlsql for the report database in iMC.” orcl is the Oracle instance.properties iMC\ead\conf\server.1 is the IP address of the Oracle database. modify the value for variable PlatDBUserPassword in the iMC\uam\etc\uam. SQL>alter user imc_config identified by dbpasswd dbpasswd is the new password of user imc_config. or the database does not work.
or CAMS E6301 version and changed the database user password. If a user account is locked. EAD. execute the following command: SQL> ALTER PROFILE DEFAULT LIMIT FAILED_LOGIN_ATTEMPTS UNLIMITED. change the password for the user in Oracle and iMC. a message shown in Figure 57 appears. Unlocking a database user If iMC services cannot start after you change user passwords. After the user is unlocked. Use the command with caution because the database will never lock such user. Figure 57 The user is locked In this example. If you do not want to lock a user that is attempting multiple times to log in with a wrong password. you must change the passwords of all database users listed in the iMC/deploy/conf/ component-env. and make sure that the two passwords are consistent. 57 .xml file before you can upgrade the components. a user account is locked.If you have installed the UAM. user imc_config is locked. use the user accounts with passwords changed to log in to the Oracle system at the command line interface (CLI). and execute the following command to unlock the user: SQL> ALTER USER imc_config ACCOUNT UNLOCK. Log in to the Oracle database as administrator sys. To check which user account is locked.
sh 58 ./dma.Installing iMC After completing all the configurations. For information about how to install iMC. use the following commands to enable the iMC deployment monitoring agent. root@Linux-105 /opt/iMC/deploy]# . reboot your operating system and log in to it as the root user./dms. see iMC Installation Guide. TIP: After installing iMC.sh start root@Linux-105 /opt/iMC/deploy]# .
” How to handle garbled characters displayed on iMC? The garbled characters may be caused by the following reasons: • Incorrect character set for the database Garbled characters may appear if you set the character set that is incompatible to iMC. and Oracle instance take effect. Oracle LIB. To solve this problem. follow the correct steps to re-install the Oracle database. which may not be correctly set.com.conf directory correctly configured. see “Adjusting kernel parameters. the Oracle is set with the default character set according to the LANG environment variables. see Oracle Database How to verify if the environment variables take effect? Execute the command echo $variable name to verify if the configurations about the home directory. TIP: Globalization Support Guide in the Oracle at www. • Incorrect character set for the clients Garbled characters may appear when NLS_LANG is not correctly set or modified during iMC operation. WE8ISO8859P1 will be set as the character set. For example: #echo $ORACLE_HOME /u01/app/oracle/product/11. if you use the default installation where LANG is C to install a database of Japanese character set.1. correct the environment variable and restart the server and iMC. For more information.oracle. you set the English character set for Chinese iMC system. • Incorrect environment variables for the server and the default installation of the Oracle database If you install the Oracle database by using the default mode. For example. For more information about setting the database and client character sets. so garbled characters appear. To solve this problem. For example.FAQ How to handle the case where the system displays that the space is not enough when creating the database instance? Check whether you have the file in the etc/sysctl.1. and select the correct character set. You can follow the steps as in to install the Oracle database.0/db_1 #echo $LD_LIBRARY_PATH /u01/app/oracle/product/11. To solve this problem. reinstall the Oracle database.0/db_1/lib #echo $ORACLE_SID orcl 59 .