OPS Admin
OPS Admin
Administration
12c Release 3 (12.3.2.0.0)
E59969-03
June 2016
Oracle Enterprise Manager Ops Center Administration, 12c Release 3 (12.3.2.0.0)
E59969-03
Copyright © 2007, 2016, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse
engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is
prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on
behalf of the U.S. Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software,
any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are
"commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-
specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the
programs, including any operating system, integrated software, any programs installed on the hardware,
and/or documentation, shall be subject to license terms and license restrictions applicable to the programs.
No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications.
It is not developed or intended for use in any inherently dangerous applications, including applications that
may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you
shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its
safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this
software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of
their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are
used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron,
the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro
Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products,
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services unless
otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates
will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party
content, products, or services, except as set forth in an applicable agreement between you and Oracle.
Contents
Preface ................................................................................................................................................................ xi
Audience ....................................................................................................................................................... xi
Related Documents...................................................................................................................................... xi
Conventions.................................................................................................................................................. xi
iii
Viewing and Changing the EC, PC, and AC Status .......................................................................... 2-17
Checking the Status of the Enterprise Controller ...................................................................... 2-18
Starting the Enterprise Controller................................................................................................ 2-18
Stopping the Enterprise Controller.............................................................................................. 2-19
Checking the Status of a Proxy Controller.................................................................................. 2-19
Starting a Proxy Controller ........................................................................................................... 2-19
Stopping a Proxy Controller ......................................................................................................... 2-20
Putting a Proxy Controller in Maintenance Mode .................................................................... 2-20
Removing a Proxy Controller from Maintenance Mode .......................................................... 2-21
Checking the Status of an Agent Controller............................................................................... 2-21
About Managing Proxy Controller Networks.................................................................................... 2-21
Associating Networks With a Proxy Controller ........................................................................ 2-22
Enabling or Disabling Networks for a Proxy Controller.......................................................... 2-22
Changing the IP Address of an Enterprise Controller ...................................................................... 2-22
Configuring Proxy Controllers to Use a Strong Cipher Suite Configuration ................................ 2-23
About Configuring DHCP and Subnets for OS Provisioning.......................................................... 2-24
About DHCP ................................................................................................................................... 2-24
Configuring DHCP ........................................................................................................................ 2-25
About Subnets................................................................................................................................. 2-26
Configuring Subnets ...................................................................................................................... 2-26
About External DHCP Servers ..................................................................................................... 2-27
Configuring External DHCP Servers........................................................................................... 2-28
About Configuring the Enterprise Controller for WAN Boot.......................................................... 2-30
Checking the WAN Boot Status ................................................................................................... 2-30
Changing the Default Port for Oracle Solaris 11 WAN Boot ................................................... 2-30
Enabling or Disabling WAN Boot................................................................................................ 2-31
Editing Oracle Solaris 11 Credentials .................................................................................................. 2-31
Retaining Migration Scripts in Server Pools ....................................................................................... 2-32
Generating a Default Set of OS Provisioning Profiles and Plans..................................................... 2-32
Displaying Related Assets In Groups .................................................................................................. 2-33
Changing the HTTP Proxy .................................................................................................................... 2-33
Using Diagnostics Mode........................................................................................................................ 2-33
Viewing Blacklisted Assets.................................................................................................................... 2-34
Rebalancing Assets ................................................................................................................................. 2-34
Related Resources for Infrastructure ................................................................................................... 2-36
iv
About Console Access Configuration.................................................................................................... 3-5
About Discovery Configuration ............................................................................................................. 3-5
About Domain Model Navigator Configuration ................................................................................. 3-5
About EC Manager Configuration ......................................................................................................... 3-6
About Job Manager Configuration ........................................................................................................ 3-6
About OCDoctor Configuration ............................................................................................................. 3-6
About OS Provisioning Configuration .................................................................................................. 3-7
About Proxy Manager Configuration.................................................................................................... 3-8
About Report Service Configuration ..................................................................................................... 3-8
About Server Pools Configuration ......................................................................................................... 3-9
About Virtualization Configuration ...................................................................................................... 3-9
Related Resources for Configuration Management........................................................................... 3-10
v
6 Manage the OCDoctor
Introduction to the OCDoctor................................................................................................................. 6-1
Roles for OCDoctor .................................................................................................................................. 6-1
Actions for OCDoctor............................................................................................................................... 6-2
Location of OCDoctor Information in the User Interface ................................................................... 6-2
Downloading the OCDoctor ................................................................................................................... 6-2
Performing Preinstallation Checks......................................................................................................... 6-3
Performing Troubleshooting and Tuning ............................................................................................. 6-4
Updating the OCDoctor........................................................................................................................... 6-4
Cleanup Through OCDoctor................................................................................................................... 6-5
About Determining the Number of Asset Access Points.................................................................... 6-6
Viewing the Access Point Count for Your Environment............................................................ 6-6
Viewing the Access Point List for Each Proxy Controller .......................................................... 6-7
Access Point Types for Each Proxy Controller ............................................................................ 6-7
Viewing All Access Point Data....................................................................................................... 6-7
Related Resources for OCDoctor............................................................................................................ 6-8
vi
Adding a User ........................................................................................................................................... 8-3
Deleting a User.......................................................................................................................................... 8-4
Viewing User Role Details....................................................................................................................... 8-4
Adding a Directory Server ...................................................................................................................... 8-4
About Synchronizing Remote Users and Roles ................................................................................... 8-6
Synchronizing Remote Users and Roles With One Directory Server....................................... 8-7
Synchronizing Remote Users and Roles With All Directory Servers ....................................... 8-7
Deleting a Directory Server ..................................................................................................................... 8-7
About Roles and Permissions ................................................................................................................. 8-8
How Roles are Mapped to Permissions ........................................................................................ 8-8
How Permissions are Mapped to Tasks...................................................................................... 8-18
Managing Roles....................................................................................................................................... 8-23
Replicating a User................................................................................................................................... 8-24
About Notification Profiles ................................................................................................................... 8-24
Configuring a Notification Profile ............................................................................................... 8-25
Deleting a Notification Profile...................................................................................................... 8-26
Viewing the Audit Log .......................................................................................................................... 8-27
Related Resources for User and Role Management........................................................................... 8-27
vii
Managing HA Network Resources............................................................................................ 10-12
Removing a Standby Enterprise Controller Node................................................................... 10-14
Checking the Status of the Enterprise Controller Cluster ...................................................... 10-14
Shutting Down the Enterprise Controller Temporarily Without Relocating ...................... 10-15
Accessing the Cluster Management UI ..................................................................................... 10-15
Enabling and Using Proxy Controller High Availability ............................................................... 10-15
Enabling Automatic Failover...................................................................................................... 10-15
Disabling Automatic Failover..................................................................................................... 10-16
Setting the Relative Power for Proxy Controllers.................................................................... 10-16
Recovering After an Automatic Failover .................................................................................. 10-17
Migrating Assets Between Proxy Controllers .......................................................................... 10-18
Migrating Assets from a Failed Proxy Controller ................................................................... 10-18
Removing Access Points.............................................................................................................. 10-19
Related Resources for High Availability ........................................................................................... 10-19
11 Perform Upgrades
Introduction to Upgrade........................................................................................................................ 11-1
Roles for Upgrade................................................................................................................................... 11-1
Actions for Upgrade ............................................................................................................................... 11-2
Location of Upgrade Information in the User Interface.................................................................... 11-2
Versions Supported for Upgrade ......................................................................................................... 11-2
Upgrading From Version 12.3 ...................................................................................................... 11-3
Upgrading From Version 12.2 ...................................................................................................... 11-3
Upgrading From Version 12.1 ...................................................................................................... 11-3
Upgrading From Version 11g ....................................................................................................... 11-4
Planning the Upgrade ............................................................................................................................ 11-5
Database Requirements ......................................................................................................................... 11-6
Upgrading Your Environment.............................................................................................................. 11-7
Related Resources for Upgrade ............................................................................................................ 11-7
viii
Uninstalling and Unconfiguring the Enterprise Controller ............................................................. 12-7
Unconfiguring the Enterprise Controller.................................................................................... 12-7
Uninstalling the Enterprise Controller........................................................................................ 12-7
Related Resources for Uninstall and Unconfigure............................................................................. 12-9
Index
ix
x
Preface
Audience
This document is intended for senior system administrators.
Related Documents
For more information, see the following documents in the Oracle Enterprise Manager
Ops Center 12c documentation set:
• Oracle Enterprise Manager Ops Center Installation for Linux Operating Systems
• Oracle Enterprise Manager Ops Center Installation for Oracle Solaris Operating System
• Oracle Enterprise Manager Ops Center Operations for Oracle SuperCluster Reference
• Oracle Enterprise Manager System Monitoring Plug-in for Oracle Enterprise Manager
Ops Center
For more information, see the other documents in the Oracle Enterprise Manager Ops
Center 12c Release 3 documentation set, located at this site: http://
docs.oracle.com/cd/E59957_01/index.htm
Conventions
The following text conventions are used in this document:
xi
Convention Meaning
italic Italic type indicates book titles, emphasis, or placeholder variables
for which you supply particular values.
xii
1
Get Started with Administration
• Manage the OCDoctor: Explains how to use the OCDoctor tool to check
prerequisites and troubleshoot.
• Manage Auto Service Request: Explains how to enable Auto Service Requests
(ASRs) for qualified assets.
• Manage the Users and Roles: Explains how to add users from the local system or
from a remote directory server and assign them roles.
• Perform Backup and Recovery: Explains how to back up the Enterprise Controller
and recover it from a backup file.
1-2 Administration
2
Manage the Infrastructure
The Oracle Enterprise Manager Ops Center infrastructure is the software and
connections used by the product. You can manage that infrastructure through the user
interface and from the command line.
This chapter includes the following sections:
• Introduction to Infrastructure
• Viewing Infrastructure
• Rebalancing Assets
Introduction to Infrastructure
This chapter explains how to set up and manage the Oracle Enterprise Manager Ops
Center infrastructure.
The Enterprise Controller, Knowledge Base, Proxy Controllers, and Agent Controllers
make up the Oracle Enterprise Manager Ops Center infrastructure. The Enterprise
Controller generates the UI, routes jobs, communicates with the Knowledge Base, and
stores Oracle Enterprise Manager Ops Center data in the Enterprise Controller
Database. The Proxy Controllers directly manage specific assets and carry out jobs.
Agent Controllers enable the full range of operating system update and monitoring
capabilities on managed operating systems.
You can view and maintain the infrastructure, make changes to its configuration, and
configure the connection mode.
Some of the procedures described in this section use the ecadm, proxyadm, and
agentadm commands. See Command Line Administration for more information
about these commands.
Task Role
View infrastructure Ops Center Admin
Configure DHCP, External DHCP servers, and subnets Ops Center Admin
2-2 Administration
Actions for Infrastructure
Task Role
Enable or disable WAN Boot Ops Center Admin
• View infrastructure
To See Location
View Agent Controllers Expand Assets in the Navigation pane and select a group of
managed operating systems.
View Proxy Controllers Expand Administration in the Navigation pane and select a
Proxy Controller. Select Configuration in the center pane.
View Enterprise Controller Expand Administration in the Navigation pane and select a
configuration Enterprise Controller. Select Configuration in the center pane.
Connection Mode Expand Administration in the Navigation pane and select the
Enterprise Controller. Select Setup Connection Mode in the
Actions pane.
Local Agent Controller Expand Administration in the Navigation pane and select the
Enterprise Controller. Select Configure Local Agent/
Unconfigure Local Agent in the Actions pane.
Local Agent Controller on a Expand Administration in the Navigation pane and select the
Proxy Controller Enterprise Controller. Select Configure Agent on Proxy/
Unconfigure Agent on Proxy in the Actions pane.
Register Enterprise Expand Administration in the Navigation pane and select the
Controller Enterprise Controller. Select Register Enterprise Controller in
the Actions pane.
Run Self Diagnosis Expand Administration in the Navigation pane and select an
asset. Select Self Diagnosis in the Actions pane.
Proxy Controller Networks Expand Administration in the Navigation pane and select a
Proxy Controller.
2-4 Administration
Viewing Infrastructure
To See Location
Configure External DHCP Expand Administration in the Navigation pane and select a
Servers Proxy Controller. Select External DHCP Servers in the Actions
pane.
Enterprise Controller for Expand Administration in the Navigation pane and select a
WAN boot Enterprise Controller. Select Configuration tabs and choose OS
Provisioning from the subsystems menu.
Edit Oracle Solaris 11 Expand Administration in the Navigation pane and select a
Credentials Enterprise Controller. Select Credentials.
Migration Scripts in Server Expand Administration in the Navigation pane and select a
Pools Enterprise Controller. Select Server Pools from the subsystem
menu in the Configuration tab.
Change HTTP Proxy Expand Administration in the Navigation pane and select a
Enterprise Controller. Select Change HTTP Proxy in the Actions
pane.
Viewing Infrastructure
You can view the Proxy Controllers and Agent Controllers currently known to Oracle
Enterprise Manager Ops Center and see information about their version and status.
• Asset Name
• Zone Type
• Agent Version
• Upgrade Version
• Downgrade Version
• Select an operating system smart group from the Operating Systems category,
then click the Summary tab.
• Select a user-defined group that contains operating systems, then click the
Membership tab.
• Current Version
• Available Upgrades
• IP Address
• Registration Date
To view a Proxy Controller's configuration:
1. Click the Proxy Controller in the Administration section of the Navigation pane.
Note:
Do not modify these settings unless directed by Oracle.
• Auto Service Requests: Manages the Auto Service Request (ASR) settings.
• Database: Manages the database used by Oracle Enterprise Manager Ops Center.
2-6 Administration
About Connection Modes
• Proxy Manager: Manages the interactions between the parts of the infrastructure.
• Update: Manages the settings for the Oracle Solaris 11 IPS repository.
• Auto Service Request: Manages the Auto Service Request (ASR) feature.
3. Enter the absolute path of the Knowledge Base bundle that you want to use, then
click Load Bundle. Use the Browse button to locate the Knowledge Base bundle if
you do not know the absolute path.
5. Click Yes.
4. Click Yes.
4. Copy the KB bundle and OS update content onto the Enterprise Controller system
using portable media.
2-8 Administration
About Using the Harvester
• --user My Oracle Support user name: Specify the valid My Oracle Support user
name. You can set this value in the HTTP_USER="" field of the config.ini file.
This option is required if you have not added the MOS user name to the
config.ini file.
• --password-file password file: Specify the full path name of a file that contains
only the MOS password. You can set either the password or the location of the
password file in the HTTP_PASSWD="" field of the config.ini file. This option is
required if you have not added the password to the config.ini file.
Note:
Due to security reasons, avoid storing your password in clear text inside a file
when working with the harvester in disconnected mode. If you choose to use a
text file, use it with caution and set its permissions to 400, store it in a safe
directory allowing only safe user(s) to use it.
Starting with harvester version 2.16, the harvester script checks the password file
permissions and provides a warning if the permissions are other than 400. You can
continue and let the script change the permissions to 400 or quit and take necessary
actions such as changing the password and the permissions before the next run.
• --proxy-server proxy server URL: Specify the URL of the proxy server. You can
set this value in the PROXY_URL="" field of the config.ini file.
• --proxy-user proxy server user name: Specify a username for the proxy server.
You can set this value in the PROXY_USER="" field of the config.ini file.
• --proxy-password-file proxy server password file: Specify the full path name of
a file that contains only the proxy server password. You can set either the password
or the location of the password file in the PROXY_PASSWD="" field of the
config.ini file.
– SOLARIS_10_0_SPARC
– SOLARIS_10_0_X86
– SOLARIS_9_0_SPARC
– SOLARIS_8_0_SPARC
– FIRMWARE
The disk space requirement on the Internet-facing system and the Enterprise
Controller to run the harvester script with the --download-patches option is
approximately 150 GB for a distribution.
Note:
The harvester script might take several hours to finish running with the --
download-patches option. You can upload the patches in bulk from the EIS
DVD.
Note:
When you use the --download-baseline option, you must use the --
download-patches option. You can use the option only for one distribution.
– SOLARIS_10_0_SPARC
– SOLARIS_10_0_X86
– SOLARIS_9_0_SPARC
– SOLARIS_8_0_SPARC
2-10 Administration
About Using the Harvester
• --from-date mm-yyyy: Only download patches that are newer than the specified
date.
• --patches-from-file file : Download all the patches from a file. The format of
the file must be one patch per line without the .zip extension.
• --update: Use this option to check for updates for the harvester script.
Example 2-1 Running Harvester Script with MOS Account
Running the harvester script to download only the knowledge base bundle.
# ./harvester.sh --kb-only
Ops Center Harvester version 2.10 (Jun 18 2012 [Build 57]) (SunOS)
Download log file is located in /var/tmp/harvester-wget.log
Checking for connectivity...
[OK] Connected successfully. No updates were found (current: 2.10, online: 2.10).
[OK] Directory /var/tmp/offline not found. This directory will be created.
[Channels list (channels.xml)] Downloaded successfully
Stage 1: Downloading/refreshing required Knowledge Base files
[AS_3_0_AMD64 Knowledge] Downloaded successfully
[AS_4_0_S390 Knowledge] Downloaded successfully
[AS_3_0_IA32 Knowledge] Downloaded successfully
[ES_3_0_IA32 Knowledge] Downloaded successfully
[ES_3_0_AMD64 Knowledge] Downloaded successfully
[FIRMWARE Knowledge] Downloaded successfully
[ES_4_0_AMD64 Knowledge] Downloaded successfully
[AS_4_0_IA32 Knowledge] Downloaded successfully
[AS_4_0_AMD64 Knowledge] Downloaded successfully
[OS_IMAGES Knowledge] Downloaded successfully
...
...
Example 2-3 Running Harvester Script to Display Baselines for Oracle Solaris 10
SPARC
Running the harvester script to display the available Oracle Solaris baselines for an
Oracle Solaris 10 SPARC distribution.
./harvester.sh --download-patches SOLARIS_10_0_SPARC --download-baseline
Example 2-4 Running Harvester Script to Download Security Baselines for Oracle
Solaris 10 SPARC
Running the harvester script to download the security baseline DEC-2009 for an
Oracle Solaris 10 SPARC distribution.
./harvester.sh --download-patches SOLARIS_10_0_SPARC --download-baseline 40030030
4. Enter the absolute path of the Knowledge Base bundle that you want to use, then
click Load Bundle. Use the Browse button to locate the Knowledge Base bundle if
you do not know the absolute path.
2. Copy the all_unsigned folder, which includes all patches, to the Enterprise
Controller system. By default, this file is in the /var/tmp/offline directory. You
can split this folder across multiple DVDs if needed.
5. Enter the absolute path of the Knowledge Base bundle that you want to use, then
click Load Bundle. Use the Browse button to locate the Knowledge Base bundle if
you do not know the absolute path.
7. Use the ecadm command with the stop subcommand and the -w option to shut
down the Enterprise Controller.
For example:
# ./ecadm stop -w
ecadm: Shutting down Enterprise Controller using SMF...
2-12 Administration
About Using the Harvester
8. Use the ecadm command with the start subcommand and the -w option to start
the Enterprise Controller.
For example:
# ./ecadm start -w
ecadm: Starting Enterprise Controller with SMF...
ecadm: Enterprise Controller services have started
#
5. Enter the absolute path of the Knowledge Base bundle that you want to use, then
click Load Bundle. Use the Browse button to locate the Knowledge Base bundle if
you do not know the absolute path.
7. Use the ecadm command with the stop subcommand and the -w option to shut
down the Enterprise Controller.
For example:
# ./ecadm stop -w
ecadm: Shutting down Enterprise Controller using SMF...
ecadm: Enterprise Controller services have stopped
#
8. Use the ecadm command with the start subcommand and the -w option to start
the Enterprise Controller.
For example:
# ./ecadm start -w
ecadm: Starting Enterprise Controller with SMF...
ecadm: Enterprise Controller services have started
#
Note:
Any job that would cause the Enterprise Controller system to restart, such as
an OS update job that requires a reboot, cannot be performed through Oracle
Enterprise Manager Ops Center.
Note:
On Oracle Solaris 10, the local Agent Controller uses Java 6 version. If a later
version of Java 6 is already installed on the system, then the local Agent
Controller uses the already installed greater version. Starting from 12.3.2, if
Java 7 version is installed on the system, then the local Agent Controller uses
the Java 7 version instead of the Java 6 version.
4. Click OK.
2-14 Administration
Configuring Oracle Configuration Manager
3. Click OK.
4. Click OK.
3. Click OK.
# /var/opt/sun/xvm/ocm/ccr/bin/setupCCR
4. If you want security updates to appear on your My Oracle Support page, enter
your My Oracle Support password. Press Enter.
Provide your My Oracle Support password to receive security updates via your My
Oracle Support account.
Password (optional):
4. If the Enterprise Controller requires an HTTP Proxy to reach the Internet, enter the
HTTP Proxy information, then click Next.
2-16 Administration
Running a Self Diagnosis
5. Enter a valid My Oracle Support user name and password, then click Next. The
Enterprise Controller is registered with the specified user name.
1. Select the target asset in the Assets section or Administration section of the
Navigation pane.
3. Select a task.
• Select Run New Self Diagnosis to launch a new self diagnosis job.
If the target operating system supports the Enterprise Controller or a Proxy
Controller, you can also select Optimize Enterprise Controller or Proxy
Controller. This option uses the --tuning option to optimize the system for
Enterprise Controller or Proxy Controller performance.
• Select Work on Previous Self Diagnosis and select a prior self diagnosis job to
review the data from a prior self diagnosis.
4. If you selected Work on Previous Self Diagnosis, the data from the prior self
diagnosis is displayed. Review the data, then select a task.
5. Review the summary information, then click Finish to launch the job.
6. Review the job details or rerun the wizard and select Work on Previous Self
Diagnosis to view the data gathered by the self diagnosis.
2. Use the ecadm command with the status subcommand to check the status of the
Enterprise Controller.
For example:
# ./ecadm status
online
2. Use the ecadm command with the start subcommand to start the Enterprise
Controller.
• -w | --wait: ecadm does not exit until all services have been started.
2-18 Administration
Viewing and Changing the EC, PC, and AC Status
2. Use the ecadm command with the stop subcommand to stop the Enterprise
Controller.
• -w | --wait: ecadm does not exit until all services have been started.
2. Use the proxyadm command with the status subcommand to check the status of
the Proxy Controller.
For example:
# ./proxyadm status
online
2. Use the proxyadm command with the start subcommand to start the Proxy
Controller.
• -w | --wait: proxyadm does not exit until all services have been started.
2. Use the proxyadm command with the stop subcommand to stop the Proxy
Controller.
• -w | --wait: proxyadm does not exit until all services have been started.
2-20 Administration
About Managing Proxy Controller Networks
3. Click OK.
3. Click OK.
2. Use the agent command with the status subcommand to check the status of the
Agent Controller.
For example:
# ./agentadm status
online
Note:
If a Proxy Controller is connected to an asset using multiple networks, but
management traffic between the Proxy Controller and agent must use a
specific network, the Proxy Controller must have a NIC whitelisting file to
identify the usable NICs.
3. Use the arrow buttons to add networks to, or remove networks from, the Associate
with Proxy Controller list.
4. Click Finish to associate the selected networks with the Proxy Controller.
When the job is completed, the Proxy Controller can mange and provision the
assets that use these networks.
3. Use the arrow buttons to add networks to the Enabled and Disabled networks lists.
4. Click Finish.
5. If you are disabling networks that are being used to manage assets, the migrate
assets popup is displayed. Click Yes to launch the Migrate Assets Wizard, or click
No to leave the assets associated with their current Proxy Controller in an
unmanaged state.
6. If you launched the Migrate Assets Wizard and another Proxy Controller is
available, the Migrate Assets page is displayed. Select another Proxy Controller for
the assets, then click Migrate.
2-22 Administration
Configuring Proxy Controllers to Use a Strong Cipher Suite Configuration
Once the Enterprise Controller IP address is changed, you must update the Proxy
Controllers with the new Enterprise Controller IP address using the proxyadm
command.
Note: Do not modify the host name of the Enterprise Controller, Proxy
Controller, and Agent Controller system.
To update the Proxy Controller with the new Enterprise Controller IP address:
1. Stop the Proxy Controller using the proxyadm command with the stop
subcommand and the -w option. For example:
# proxyadm stop -w
4. Restart the Proxy Controller using the proxyadm command with the start
subcommand and the -w option. For example:
# proxyadm start -w
Changing the IP address for the Proxy Controllers is not supported. However, you can
create a new Proxy Controller and move the assets to the new Proxy Controller.
Note:
Note:
Configure the DHCP services in the Oracle Enterprise Manager Ops Center
user interface, not from the command line.
• About DHCP
• About Subnets
About DHCP
You can configure and enable DHCP services on a Proxy Controller. DHCP
configuration configures and enables basic DHCP services on the Proxy Controller to
support OS provisioning operations. The Proxy Controller must be in the same subnet
as the target hosts for OS provisioning to work.
The DHCP Config action configures and enables either an Oracle Solaris DHCP server,
or an Internet Standards Consortium (ISC) DHCP server, on the Proxy Controller that
you select.
The DHCP Config action requires that you specify the Ethernet interface through
which the Proxy Controller should provide DHCP services, for example bge0. You can
establish DHCP services on all the Ethernet interfaces in the Proxy Controller. The
Proxy Controller's Ethernet interface that you specify must be connected to the
network where the target systems for OS provisioning are connected. In the same way,
the Ethernet interface that you select in the Boot Network Device field of the Provision
OS Wizard must be connected to the network where the Proxy Controller is providing
DHCP services.
2-24 Administration
About Configuring DHCP and Subnets for OS Provisioning
The DHCP Config and External DHCP Servers actions are mutually exclusive. Use one
of these actions to configure DHCP services to support OS provisioning operations.
The DHCP Config action is more commonly used, and is simpler to implement.
The Provision OS Wizard supplies the specific identity information that the target
system requests, using the basic DHCP services that you establish on the Proxy
Controller.
Figure 2-1 shows the basic DHCP configuration.
Configuring DHCP
You can configure DHCP using Oracle Enterprise Manager Ops Center.
To configure DHCP, perform the following steps:
1. In the Administration pane, select the Proxy Controller where you want to
configure DHCP services.
3. In the DHCP Server menu, select either ISC or Oracle Solaris to implement either
the Internet Standards Consortium (ISC) reference DHCP server, or the Oracle
Solaris native DHCP server.
4. In the interfaces list, use the arrow buttons to add the correct Proxy Controller
interface or interfaces to the list of selected interfaces. DHCP services are provided
on the selected interface or interfaces. DHCP configuration is possible for multiple
Ethernet interfaces in the Proxy Controller.
5. Click Configure DHCP to save the DHCP configuration that you specified.
6. A warning indicates that the procedure removes existing subnets in the DHCP
configuration. Click Yes to accept that action and continue.
Note:
You can configure DHCP server on the Proxy Controller to listen to multiple
Ethernet interfaces. For example, consider the following network
configuration for the Proxy Controller:
e1000g0 203.0.113.2
e1000g1 192.0.2.2
e1000g2 198.51.100.2
If you configure the DHCP server to listen to e1000g1 and e1000g2, then the
target system must have the IP address in the range of 192.0.2.0/24 or
198.51.100.0/24.
About Subnets
You can configure subnets to use the DHCP server on a Proxy Controller for purposes
in addition to OS provisioning, or to define subnets that are used with external DHCP
servers.
Configuring subnets is not required to establish the basic DHCP services that are
required for OS provisioning, unless you are using an external DHCP server.
You configure subnets for the following reasons:
• To provide IP address, DNS server, and router information to systems that can
request them on the same network where the Proxy Controller is providing basic
DHCP services for OS provisioning;
Configuring Subnets
You can configure subnets using Oracle Enterprise Manager Ops Center.
To configure subnets, perform the following steps:
1. In the Administration pane, select the Proxy Controller where you want to
configure a DHCP subnet.
2. Select Subnets in the Actions pane. The DHCP Subnets Configuration window is
displayed.
3. Select a subnet from the drop-down list. To create a new subnet, select Create New
Subnet. To modify an existing subnet, select the existing subnet from the drop-
down list. Click Refresh to update the list of subnets.
2-26 Administration
About Configuring DHCP and Subnets for OS Provisioning
4. In the DHCP Subnets Configuration dialog box, provide the following information:
• Subnet Name: Enter the name of the subnet where you want to establish or
modify DHCP services.
• IP Range: Enter the IP addresses to use as the lower and upper limits of the IP
address range that systems on this subnet can use.
• Name Server: Enter the IP addresses of the DNS servers that systems should
use.
• Domain Name: Enter the names of the DNS domains that systems should use to
resolve host names.
5. Click Create Subnet to create the subnet configuration that you specified, or click
Save Subnet to save your changes to an existing subnet. A message indicates that a
job to create the subnet was submitted. Click OK to dismiss the message.
2-28 Administration
About Configuring DHCP and Subnets for OS Provisioning
a. On the external DHCP server, execute the following command to get the
scninstall_ext_dhcp.pl script from the Proxy Controller.
# wget http://proxy_ip:8004/pub/scninstall_ext_dhcp.pl
• Sets up the configuration file for limited commands to run from scnospadmin
user.
• Sets up SSH keys to allow SSH/SCP commands from the Proxy Controller to
the external DHCP server without requiring passwords.
2. In the Administration pane, select the Proxy Controller where you want to
configure an external DHCP server.
3. Select External DHCP Servers in the Actions pane. The External DHCP Servers
Configuration dialog box is displayed.
4. Select a DHCP server. To create a new DHCP server on the selected Proxy
Controller, select Create New DHCP Server. To modify an existing DHCP server,
select the existing DHCP server from the drop-down list. Click Refresh to update
the list of DHCP servers.
5. In the External DHCP Servers Configuration dialog box, provide the following
information:
• Network IP: Enter the network address where you want to establish or modify
DHCP services.
• DHCP Type: Select either ISC or Oracle Solaris to implement either the
Internet Standards Consortium (ISC) reference DHCP server, or the Oracle
Solaris native DHCP server.
• Netmask: Enter the netmask for the network where you want to establish or
modify DHCP services.
• IP Range: Enter the IP addresses to use as the lower and upper limits of the IP
address range that systems on this subnet can use.
• Name Server: Enter the IP addresses of the DNS servers that systems should
use.
• Domain Name: Enter the names of the DNS domains that systems should use
to resolve host names.
6. Click Create DHCP Server to create the DHCP server configuration that you
specified. A message indicates that a job to create the external DHCP server was
submitted. Click OK to dismiss the message.
1. Expand the Administration section in the Navigation pane, then click Enterprise
Controller.
2-30 Administration
Editing Oracle Solaris 11 Credentials
Note:
To ensure that WAN boot downloads the miniroot, the OS profile, and the OS
manifest from the same server, Oracle Enterprise Manager Ops Center
disables multicastDNS (mDNS) on the Proxy Controller.
3. Edit the following service and change 5555 to a different port, in this case to port
7000:
1. Expand the Administration section in the Navigation pane, then click Enterprise
Controller.
4. To enable WAN boot, change the value for the property to true.
5. To disable WAN boot, change the value for the property to false.
3. If a set of credentials with the certificate category exists, select it and click the Edit
icon, then supply the new key and certificate.
a. In the Key field, click Browse and select the key file on the local system, or
enter the full key text.
b. In the Certificate field, click Browse and select the key file on the local system,
or enter the full key text.
c. Click Update.
4. If no set of credentials with the certificate category exists, click Create Credentials
in the Actions pane, then enter the new credentials.
d. In the Key field, click Browse and select the key file on the local system, or
enter the full key text.
e. In the Certificate field, click Browse and select the key file on the local system,
or enter the full key text.
f. Click Create.
1. Expand the Administration section in the Navigation pane, then click Enterprise
Controller.
1. Expand the Administration section in the Navigation pane, then click Enterprise
Controller.
2-32 Administration
Displaying Related Assets In Groups
Note:
If multiple related assets have been independently added to the same user-
created group, duplicate entries may appear.
1. Expand the Administration section in the Navigation pane, then click Enterprise
Controller.
• Port Number: Enter the port number to access on the HTTP Proxy.
4. Click Update.
1. Expand the Administration section in the Navigation pane, then click Enterprise
Controller.
Note: After the diagnostics data is collected, the diagnostics mode should be
disabled by modifying the value of system property to false.
You can add the serial number of an asset to a blacklist to prevent Oracle Enterprise
Manager Ops Center from enabling that asset for ASR as described in Blacklisting an
Asset. You can view the list of assets added to the blacklist.
The asset names that are in the blacklist mode are displayed in the center pane.
3. (Optional) To remove the assets from the blacklist mode, select the asset name in
the center pane and click Clear blacklist.
4. (Optional) To update the credentials of the assets in blacklist mode, select the asset
name in the center pane and click Update credentials.
Rebalancing Assets
You can rebalance assets of a Proxy Controller.
When a Proxy Controller fails, you need to rebalance the assets of the failed Proxy
Controller by migrating them to other Proxy Controllers. You can also rebalance the
assets of a Proxy Controller when it experiences a high load by migrating the assets to
other Proxy Controllers.
When an asset rebalance job is initiated, it calculates the necessary migrations required
and starts the migration tasks.
2-34 Administration
Rebalancing Assets
To rebalance assets:
1. Expand the Administration section of the Navigation pane, then select Enterprise
Controller.
The Select Proxy Controller wizard appears which displays the available Proxy
Controllers on which to balance assets and Proxy Controllers from which to
migrate assets.
3. For Proxy Controllers on which to balance assets, select and move the specific
Proxy Controller listed in the Available Proxy Controllers field to the Balance field.
4. For Proxy Controllers from which to migrate assets, select and move the specific
Proxy Controller listed in the Available Proxy Controllers field to the Migrate field.
5. Click Next.
The Summary wizard with the Proxy Controller selected for assets to be balanced
on and Proxy Controller selected for assets to be migrated from is displayed.
6. Click Finish.
• For more information about using Disconnected mode, see Oracle Enterprise
Manager Ops Center Use Disconnected Mode
• For information on using the harvester script to upload the content in bulk, see
Oracle Enterprise Manager Ops Center Configuration Reference
• For information on the advantages of managing assets using Agent Controller, see
Oracle Enterprise Manager Ops Center Operations Reference
• For more information on WAN boot connection, see Oracle Enterprise Manager Ops
Center Operations Reference
• To provide a new key and certificate for Oracle Solaris 11, go to https://pkg-
register.oracle.com
• For more information on Enterprise Manager Ops Center, see the Ops Center blog
at https://blogs.oracle.com/opscenter/
2-36 Administration
3
Manage the Configuration
Topics
• BUI
• Discovery
• EC Manager
• Job Manager
• OC Doctor
• OS Provisioning
• Proxy Manager
• Report Service
• Server Pools
• Virtualization
Task Role
Modify any of the subsystem configuration Ops Center Admin
3-2 Administration
Actions for Configuration Management
To See Location
View Auto Service Request Expand Administration in the Navigation pane and select a
subsystem properties Enterprise Controller. Select Configuration in the center pane.
Select Auto Service Request from the Subsystem drop-down
View BUI subsystem Expand Administration in the Navigation pane and select a
properties Enterprise Controller. Select Configuration in the center pane.
Select BUI from the Subsystem drop-down
View Console Access Expand Administration in the Navigation pane and select a
Configuration subsystem Enterprise Controller. Select Configuration in the center pane.
properties Select Console Access Configuration from the Subsystem drop-
down.
View Discovery subsystem Expand Administration in the Navigation pane and select a
properties Enterprise Controller. Select Configuration in the center pane.
Select Discovery from the Subsystem drop-down.
View Domain Model Expand Administration in the Navigation pane and select a
Navigator subsystem Enterprise Controller. Select Configuration in the center pane.
properties Select Domain Model Navigator from the Subsystem drop-
down.
View Job Manager Expand Administration in the Navigation pane and select a
subsystem properties Enterprise Controller. Select Configuration in the center pane.
Select Job Manager from the Subsystem drop-down.
View OCDoctor subsystem Expand Administration in the Navigation pane and select a
properties Enterprise Controller. Select Configuration in the center pane.
Select OCDoctor from the Subsystem drop-down.
View Proxy Manager Expand Administration in the Navigation pane and select a
subsystem properties Enterprise Controller. Select Configuration in the center pane.
Select Proxy Manager from the Subsystem drop-down.
To See Location
View Report Service Expand Administration in the Navigation pane and select a
subsystem properties Enterprise Controller. Select Configuration in the center pane.
Select Report Service from the Subsystem drop-down.
View Server Pools Expand Administration in the Navigation pane and select a
subsystem properties Enterprise Controller. Select Configuration in the center pane.
Select Server Pools from the Subsystem drop-down.
See Related Resources for Configuration Management for information on editing the
Auto Service Request subsystem property value.
See Related Resources for Configuration Management for information on editing the
BUI subsystem property value.
3-4 Administration
About Console Access Configuration
See Related Resources for Configuration Management for information on editing the
Console Access Configuration subsystem property value.
• ssh.alom.timeout: Starting in Release 12.3.1, the discovery of assets with the ALOM
service processor is disabled by default. If your site has an asset with this type of
service processor, enable discovery by changing the value of this property from 0
to the number of seconds to allow for discovery.
See the Related Resources for Configuration Management for information on editing
the Discovery subsystem property value.
See Related Resources for Configuration Management for information on editing the
Domain Model Navigator subsystem property value.
• audit.dateformat: Subsystem property to specify the format of date and time for
audit logs. Edit the value of this property with a specification that is supported by
Java’s SimpleDateFormat class.
See Related Resources for Configuration Management for information on editing the
EC Manager subsystem property value.
See Related Resources for Configuration Management for information on editing the
Job Manager subsystem property value.
3-6 Administration
About OS Provisioning Configuration
• UPLOAD_PATH: Subsystem property to define the OCDoctor upload path. Set the
value of this property with the upload path.
• DiagnosticsOn: Subsystem property to collect diagnostics data for all jobs that are
run. Set the value to true to collect the diagnostics data for all jobs.
See Related Resources for Configuration Management for information on editing the
OCDoctor subsystem property value.
• usesS11WANBoot: Subsystem property to enable WAN boot for Oracle Solaris 11.
Set the value to true to enable WAN boot and set the value to false to disable
WAN boot.
• usesS10WANBoot: Subsystem property to enable WAN boot for Oracle Solaris 10.
Set the value to true to enable WAN boot and set the value to false to disable
WAN boot.
• useSRUVersion: Subsystem property to set the same SRU version that you selected
when creating a profile to be used for provisioning your operating system. Set the
value to true to set the same SRU version.
See Related Resources for Configuration Management for information on editing the
OS Provisioning subsystem property value.
See Related Resources for Configuration Management for information on editing the
Proxy Manager subsystem property value.
3-8 Administration
About Server Pools Configuration
See Related Resources for Configuration Management for information on editing the
Server Pools subsystem property value.
configuring a default router and set the value to false to disable configuring a
default router.
See Related Resources for Configuration Management for information on editing the
Virtualization subsystem property value.
• For information on modifying the property of Auto Service Request subsystem, see
Blacklisting an Asset
– Service Tags
• For information on modifying the property of job manager subsystem, see Oracle
Enterprise Manager Ops Center Configuration Reference
3-10 Administration
Related Resources for Configuration Management
• For information on modifying the property of Report Service subsystem, see Oracle
Enterprise Manager Ops Center Sizing and Performance
– Migrating Zones
• For Enterprise Controller installation procedure for Oracle Solaris OS, see Oracle
Enterprise Manager Ops Center Installation for Oracle Solaris Operating System
• For Enterprise Controller installation procedure for Linux OS, see Oracle Enterprise
Manager Ops Center Installation for Linux Operating Systems
• For more information on Enterprise Manager Ops Center, see the Ops Center blog
at https://blogs.oracle.com/opscenter/
3-12 Administration
4
Manage the Database
Oracle Enterprise Manager Ops Center uses an Oracle Database 12c Enterprise Edition
instance to store product data. You can manage this database.
This chapter includes the following sections:
Note:
Note:
The OC Dump Directory is set when the Enterprise Controller is installed or
when a new Oracle Enterprise Manager Ops Center database is specified.
Some of the procedures described in this section use the ecadm command. See
Command Line Administration for more information about this command.
Task Role
Verify the database Ops Center Admin
4-2 Administration
Location of Database Management Information in the User Interface
To See Location
Database management Expand Administration in the Navigation pane and select the
actions Enterprise Controller.
View database credentials Expand Administration in the Navigation pane and select the
Enterprise Controller.
1. Install the database according to the Oracle Database 12c release 1 (12.1.0.2.0)
Enterprise Edition installation documentation.
• Default tablespace: This is the default tablespace for the Oracle Enterprise
Manager Ops Center user. Create this tablespace with the name users.
• Report tablespace: This is the tablespace used for report data. Create this
tablespace with the name OC_RM_RESOURCE_TS.
Password:
createOCschema_remote.sql 100% |*********************| 1486 00:00
• Oracle Enterprise Manager Ops Center user name: This is a database user that
is created by the script, which Oracle Enterprise Manager Ops Center uses to
access the database.
• Oracle Enterprise Manager Ops Center password: This is the password for the
database user.
• Oracle Enterprise Manager Ops Center read-only user name: This is a read-
only database user, which Oracle Enterprise Manager Ops Center uses to view
the database.
• Default tablespace: This is the default tablespace for the Oracle Enterprise
Manager Ops Center user.
• Oracle Enterprise Manager Ops Center dump directory: This directory must
exist and must be owned by the oracle user. If you are using Oracle RAC, this
directory must be shared between all Oracle RAC nodes.
For example:
$ sqlplus / as sysdba @createOCSchema_remote.sql
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Advanced Analytics and
Real Application Testing options
4-4 Administration
Installing and Configuring Oracle 12CDB Customer-Managed Database
"Create is Complete. OC can now be used with the new schema: 'TESTSCHEMA'"
1. Create a pluggable database (PDB) for the Oracle Enterprise Manager Ops Center
schema where the database objects will be placed.
• Default tablespace: This is the default tablespace for the Oracle Enterprise
Manager Ops Center user. If the default tablespace does not exist, create this
tablespace with the name USERS.
• Report tablespace: This is the tablespace used for report data. Create this
tablespace with the name OC_RM_RESOURCE_TS.
• Oracle Enterprise Manager Ops Center user name: This is a database user
that is created by the script, which Oracle Enterprise Manager Ops Center uses
to access the database.
• Oracle Enterprise Manager Ops Center password: This is the password for
the database user.
• Oracle Enterprise Manager Ops Center read-only user name: This is a read-
only database user, which Oracle Enterprise Manager Ops Center uses to view
the database.
• Default tablespace: This is the default tablespace for the Oracle Enterprise
Manager Ops Center user.
• Oracle Enterprise Manager Ops Center dump directory: This directory must
exist and must be owned by the oracle user. If you are using Oracle RAC,
this directory must be shared between all Oracle RAC nodes.
For example:
[oracle@OAK0 OC_Scripts]
$ sqlplus '/as sysdba' @createOCSchema_remotePDB.sql
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Advanced Analytics
and Real Application Testing options
The database properties file contains the location of the customer-managed database
and a user name and password that can access the database. With Oracle 12CDB, the
database service should point to the puggable database service name. This database
information can be found in the tnsnames.ora file.
For example:
4-6 Administration
Migrating to a Customer-Managed Database
# vi /var/tmp/RemoteDBProps.txt
mgmtdb.appuser=TESTSCHEMA
mgmtdb.password=TESTSCHEMA_PWD
mgmtdb.roappuser=TESTSCHEMA_RO
mgmtdb.ropassword=TESTSCHEMA_RO_PWD
mgmtdb.dburl=jdbc:oracle:thin:@<database host name>:<port>/<Pluggable database
service name>
Note:
The Enterprise Controller system must be routable by host name from the
customer-managed database server for the migration to succeed.
Note:
If you are using Oracle 12CDB customer-managed database, then the database
service name should point to the pluggable database service name. For
example: mgmtdb.dburl=jdbc:oracle:thin:@<database host
name>:<port>/<Pluggable database service name>
2. Use the ecadm command with the backup subcommand to back up the Enterprise
Controller. This procedure is described in Perform Backup and Recovery.
3. Use the ecadm command with the migrate subcommand and the --
remoteDBprops <path to properties file> and -l <log file> options
For example:
# ./ecadm migrate --remoteDBprops /var/tmp/RemoteDBProps.txt -l migrate.log
2. Use the ecadm command with the stop subcommand and the -w option to shut
down the Enterprise Controller.
For example:
./ecadm stop -w
ecadm: Shutting down Enterprise Controller using SMF...
ecadm: Enterprise Controller services have stopped
#
For example:
# vi /var/opt/sun/xvm/db.properties
...
mgmtdb.dburl=jdbc:oracle:thin:@<source database host name>:<port>/<source
database service name>
Change the mgmtdb.dburl line to point to the new database host name and name.
For example:
...
mgmtdb.dburl=jdbc:oracle:thin:@<destination database host name>:<port>/
<destination database service name>
5. Use the datapump export utility to export the source database. When prompted for
a user name, enter / as sysdba.
For example:
4-8 Administration
Changing the Customer-Managed Database Location
6. Review the log file and verify that there were no errors.
For example:
$ cat expdp_OC_schema.log
<output omitted>
Job "SYS"."SYS_EXPORT_SCHEMA.01" succesfully completed at <timestamp>
7. Move the dump file from the source database server to the destination database
server.
For example:
$ scp OC_schema.dmp <destination database host name>
Password:
OC_schema.dmp 100% |***************************| 18192 KB 00:01
For example:
$ rm OC_schema.dmp
10. Create a database directory that points to the location of the dump file, then exit.
For example:
SQL> create or replace directory oc_dump_dir as '/var/tmp/ocdumpdir';
SQL> exit;
11. Use the import utility to import the database dump file into the source database.
For example:
$ impdp DIRECTORY=oc_dump_dir DUMPFILE=OC_schema.dmp LOGFILE=impdp_OC_schema.log
Import: Release 12.1.0.2.0 - Production on Mon Jul 27 13:24:50 2015
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
Username: / as sysdba
<output omitted>
Job "SYS"."SYS_EXPORT_SCHEMA_01" succesfully completed at <timestamp>
12. Review the log file and verify that there were no errors.
For example:
$ cat impdp_OC_schema.log
<output omitted>
Job "SYS"."SYS_IMPORT_SCHEMA.01" succesfully completed at <timestamp>
14. Use the ecadm command with the start subcommand and the -w option to start
the Enterprise Controller.
For example:
# ./ecadm start -w
ecadm: Starting Enterprise Controller with SMF...
ecadm: Enterprise Controller services have started
#
For example:
$ rm OC_schema.dmp
1. Use the ecadm command with the stop subcommand and the -w option to shut
down the Enterprise Controller.
For example:
./ecadm stop -w
ecadm: Shutting down Enterprise Controller using SMF...
ecadm: Enterprise Controller services have stopped
#
3. Use the ecadm command with the start subcommand and the -w option to start
the Enterprise Controller.
For example:
# ./ecadm start -w
ecadm: Starting Enterprise Controller with SMF...
ecadm: Enterprise Controller services have started
#
4-10 Administration
Changing the Database Credentials
1. Create a temporary file containing the new password and secure it with 600
permissions.
For example:
# touch /tmp/password
# chmod 600 /tmp/password
# vi /tmp/password
newpassword
3. If you have a high availability configuration, the ecadm command copies the
new database properties to each remote cluster node. Enter the root password
for each remote cluster node.
For example:
4-12 Administration
Defragmenting an Embedded Database
3. If you have a high availability configuration, the ecadm command copies the
new database properties to each remote cluster node. Enter the root password
for each remote cluster node.
For example:
ecadm: --- Changed database password, restarting.
The DB configuration file must now be copied to each remote cluster node.
You will be prompted for the root password for each node to perform the copy.
Copying to node OC-secondary
Password: password
<output omitted>
ecadm: --- Enterprise Controller successfully started HA
#
2. If you have a co-located Proxy Controller, use the proxyadm command with the
stop subcommand and the -w option to first shut down the Proxy Controller.
For example:
./proxyadm stop -w
3. Use the ecadm command with the stop subcommand and the -w option to shut
down the Enterprise Controller.
For example:
./ecadm stop -w
ecadm: Shutting down Enterprise Controller using SMF...
ecadm: Enterprise Controller services have stopped
#
4. Use the ecadm command with the defrag-db subcommand to defragment the
embedded database.
• -l|--logfile <logfile>: Save output from command in <logfile>. Log files are
stored in the /var/tmp/sat-defrag-<date>-<time>.log directory.
5. Use the ecadm command with the start subcommand and the -w option to start
the Enterprise Controller.
For example:
# ./ecadm start -w
ecadm: Starting Enterprise Controller with SMF...
ecadm: Enterprise Controller services have started
#
/var/opt/sun/xvm/OCDoctor/OCDoctor.sh --troubleshoot
<output omitted>
ERROR: Tablespace OC_RM_RESOURCE_TS needs to be added to the remote DB (Bug
17737994)!Tablespace creation example (to be run by DBA of remote DB):
CREATE TABLESPACE OC_RM_RESOURCE_TS DATAFILE '<path to datafile>/
ocresource01.dbf' SIZE 100M REUSE AUTOEXTEND
ON NEXT 100M MAXSIZE 32767M EXTENT
MANAGEMENT LOCAL
SEGMENT SPACE MANAGEMENT AUTO ;ALTER USER <oc_user_name> QUOTA UNLIMITED
ON OC_RM_RESOURCE_TS;
2. Use the ecadm command with the stop subcommand and the -w option to shut
down the Enterprise Controller.
For example:
./ecadm stop -w
ecadm: Shutting down Enterprise Controller using SMF...
ecadm: Enterprise Controller services have stopped
#
3. Use the ecadm command with the mv-rep subcommand to move the report data.
4-14 Administration
Related Resources for Database Management
5. Use the ecadm command with the start subcommand and the -w option to start
the Enterprise Controller.
For example:
# ./ecadm start -w
ecadm: Starting Enterprise Controller with SMF...
ecadm: Enterprise Controller services have started
#
• For information on changing the OC Dump Directory, follow the procedure in MOS
document 1543144.1
• For Enterprise Controller installation procedures, see Oracle Enterprise Manager Ops
Center Installation for Oracle Solaris Operating System or Oracle Enterprise Manager
Ops Center Installation for Linux Operating Systems
• For more information on Enterprise Manager Ops Center, see the Ops Center blog
at https://blogs.oracle.com/opscenter/
4-16 Administration
5
Perform General Administration
Oracle Enterprise Manager Ops Center includes several administrative tools for
viewing and fine-tuning the product's features. This chapter discusses these tools.
This chapter includes the following sections:
• Viewing Logs
Task Role
View Service Status Ops Center Admin
• View logs
To See Location
View Service Status Expand Administration in the Navigation pane and select the
Enterprise Controller. Select Summary tab.
View Logs Expand Administration in the Navigation pane and select the
Enterprise Controller. Select the Logs tab.
Adding a Product Alias Expand Administration in the Navigation pane and select the
Enterprise Controller. Select Add Product Alias in the Actions
pane.
5-2 Administration
Viewing and Understanding Service Statuses
To See Location
Add or Edit Expand Administration in the Navigation pane and select the
Authentications Enterprise Controller. Select Edit Authentications in the Actions
pane.
Edit the Energy Cost Expand Administration in the Navigation pane and select the
Enterprise Controller. Select Edit Energy Cost in the Actions
pane.
The status of the Oracle Enterprise Manager Ops Center services is displayed.
Viewing Logs
You can view logs to diagnose problems or examine Oracle Enterprise Manager Ops
Center activities.
The following is the list of different logs which you can view:
• Cacao log: It provides logs for the agent running Enterprise Controller, Proxy
Controller, Agent Controller, and Virtual Controller. It also provides the job
execution startup error messages.
• UI log: It is the main log for Oracle Enterprise Manager Ops Center and provides
log dedicated to the user interface to troubleshoot the user interface issues.
• Proxy log: It is a cacao log for the Proxy Controller and reports the operations
invoked by the Proxy Controllers.
• Update channel download log: It provides a specific download log for each
channel. It reports the specific download job procedures.
• Update channel error log: It provides a specific error log for each channel. It
reports authentications and network protocol connections.
This procedure describes the steps to view the logs.
5-4 Administration
Adding a Product Alias
• Cacao log
• UI log
• Proxy log
4. (Optional) Click Refresh Log File to refresh the displayed version of the log file.
Note:
2. Click Add Product Alias in the Actions pane. The Add Product Alias page is
displayed.
• Product ID: This is the full product ID number. If a Product Label is supplied,
the Product ID is optional.
• Product Label: This is the original factory label for the asset. If a Product ID is
supplied, the product Label is optional.
4. Click Add Product Alias to add the product alias to the Enterprise Controller.
are also used to create service requests. You can add or edit authentications to access
additional external resources.
If you have not configured Oracle Configuration Manager (OCM) with a set of MOS
credentials, OCM uses the MOS credentials supplied to Oracle Enterprise Manager
Ops Center to configure itself. After OCM has configured itself using a valid set of
authenticated credentials, it does not use any other MOS credentials.
If OCM is already configured, no attempt is made to reconfigure it with new
credentials.
Note:
You must register the Enterprise Controller before adding My Oracle Support
credentials.
• To edit an online account, click the description, user name, or password field
and enter the new information.
• To edit a MOS user, click the description, user name, or password field and
enter the new information.
• To remove a MOS user, select the user and click the Remove MOS User icon.
• To set a MOS user as default, select the user and click the Set as Default MOS
User icon.
4. Click Apply.
5-6 Administration
Related Resources for General Administration
5. Click Submit.
• For more information on viewing service requests, see Oracle Enterprise Manager
Ops Center Use Service Requests
• For more information on administering concepts, see Oracle Enterprise Manager Ops
Center Administer Your Environment Using Oracle Enterprise Manager Ops Center
• For more information on Enterprise Manager Ops Center, see the Ops Center blog
at https://blogs.oracle.com/opscenter/
5-8 Administration
6
Manage the OCDoctor
Oracle Enterprise Manager Ops Center includes the OCDoctor utility, a tool that can
check systems for installation prerequisites, troubleshoot issues, and tune systems for
Oracle Enterprise Manager Ops Center.
This chapter discusses the use of the OCDoctor.
This chapter includes the following sections:
Task Role
Preinstallation checks, troubleshoot and tuning, Update Ops Center Admin
OCDoctor, and determine the number of access points
To See Location
To view the OCDoctor Expand Administration in the Navigation pane and select a
subsystem properties Enterprise Controller. Select Configuration in the center pane.
Select OCDoctor from the Subsystem drop-down.
# /var/opt/sun/xvm/OCDoctor/OCDoctor.sh --update --
file /var/tmp/OCDoctor-latest.zip
4. If the target system is a new system, unzip the file and run the OCDoctor.sh
script to see the available options.
6-2 Administration
Performing Preinstallation Checks
• --proxy-prereq: Verifies that the system meets the prerequisites for a Proxy
Controller installation.
• --tuning: Scans the current system and suggests changes to improve system
performance. You can also use the --fix option to automatically apply some
tuning improvements.
6-4 Administration
Cleanup Through OCDoctor
2. Run the OCDoctor.sh script with the --update option. If you want to force a
download of the latest online version, use the --force option.
For example:
# ./OCDoctor.sh --update
Ops Center Doctor 4.46 [OC 12.3.0.604,SunOS11]
Trying to download updates...
Using Ops Center Proxy server:example-proxy.company.com Port:80
Note: You can also run the OCDoctor.sh script with the --update option on
Proxy Controllers and Agent Controllers. When you run the OCDoctor.sh
script with the --update on Proxy Controllers and Agent Controllers, it
fetches the OCDoctor from the Enterprise Controller.
/var/opt/sun/xvm/EnterpriseController_installer_12.2.0.2663
/var/opt/sun/xvm/update-saved-state/update_EC_minor_bundle_12.2.2.1103
...
/var/opt/sun/xvm/images/agent/OpsCenterAgent.Solaris.sparc.12.2.0.2663.zip
/var/opt/sun/xvm/images/agent/OpsCenterAgent.Solaris.sparc.12.2.0.2663.zip.sig
/var/opt/sun/xvm/images/agent/OpsCenterAgent.SolarisIPS.all.12.2.0.2663.zip
/var/opt/sun/xvm/images/agent/OpsCenterAgent.SolarisIPS.all.12.2.0.2663.zip.sig
Ensure that there is no OS Provisisoning Job running using this Proxy Controller
right now!
Please review the list and press <ENTER> to continue or ^C to abort ...
Note: In case of further Boot Environments, you may not see any increase in free
disk space until the other BEs got destroyed!
Note:
Starting from 12.3.1 version, you can view the access point count for the
Enterprise Controller and the Proxy Controllers in the user interface. For more
information, see Viewing and Removing Access Points.
The following methods can be used to view the access point count:
6-6 Administration
About Determining the Number of Asset Access Points
-------------------------------------------------------------------------------------------------
pc4 32 5 25 0 2 0 0 0 0 0
pc1 28 0 26 0 2 0 0 0 0 0
pc0 12 2 4 0 6 0 0 0 0 0
Use option '-v' to see additional notes on the counting algorithm.
# /var/opt/sun/xvm/OCDoctor/toolbox/AssetCount.sh all
For example:
# /var/opt/sun/xvm/OCDoctor/toolbox/AssetCount.sh all
EC 72
Proxy Assets Zones Ldoms OVMGuests Servers Storages Switches ExadataCells MSeriesChassis MSeriesD
-------------------------------------------------------------------------------------------------
pc4 32 5 25 0 2 0 0 0 0 0
pc1 28 0 26 0 2 0 0 0 0 0
pc0 12 2 4 0 6 0 0 0 0 0
Proxy 32 pc4
Zones 5 S11zone101 S11zone102 S11zone100 S11zone103 S11zone104
Ldoms 25 stdldom21 stdldom34 stdldom36 stdldom22 stdldom45 stdldom47 ...
OVMGuests 0
Servers 2 10.187.70.169 pc4
...
Proxy 28 pc1
Zones 0
Ldoms 26 stdldom21 stdldom34 stdldom36 stdldom22 stdldom45 stdldom47 ...
OVMGuests 0
Servers 2 10.187.70.171 pc1
• For more information on Enterprise Manager Ops Center, see the Ops Center blog
at https://blogs.oracle.com/opscenter/
6-8 Administration
7
Manage Auto Service Request
Oracle Enterprise Manager Ops Center can be configured to use Oracle Auto Service
Request (ASR) to create service requests for assets when incidents occur.
This chapter includes the following sections:
• Introduction to ASR
• Enabling ASR
• Disabling ASR
• Blacklisting an Asset
• Testing ASR
• Moving Assets from Standalone ASR to Oracle Enterprise Manager Ops Center
ASR
Introduction to ASR
Oracle Enterprise Manager Ops Center can use ASR to generate service requests based
on known issues.
By providing contact information for your assets and enabling ASR, you enable the
creation of service requests whenever a new critical incident occurs.
Overview of ASR
Oracle Enterprise Manager Ops Center can use ASR to generate service requests based
on known issues.
The data from an incident in Oracle Enterprise Manager Ops Center and the asset's
contact information are used to create the service request.
Prerequisites
You must provide contact information for your assets and enable this feature before
service requests can be generated using ASR.
An ASR can only be generated for an asset if a set of valid My Oracle Support (MOS)
credentials have been provided. The asset must be present in MOS, and the credentials
must be associated with a Customer Service Identifier (CSI) with rights over the asset.
The CSI must be a direct CSI. Service Request Creation rights are required to create
7-2 Administration
Overview of ASR
new service requests, and Admin rights are required if the contact information for the
asset must be updated. Go to My Oracle Support page and log in to verify that your
assets are present in MOS. See Related Resources for Auto Service Request for the link
to log in.
Oracle Enterprise Manager Ops Center's ability to create an ASR is also limited by the
available credentials. Oracle Enterprise Manager Ops Center can only monitor an asset
for ASR telemetry using the management credentials for the asset. To ensure full
coverage for your hardware, provide management credentials for all applicable
protocols for each OS and hardware asset.
Note:
Blade chassis can be enabled for ASR, but individual blades cannot be enabled
for ASR.
When an asset is activated for ASR, Oracle Enterprise Manager Ops Center monitors
the asset for faults, using either an Agent Controller if one is installed or the asset's
Proxy Controller if no Agent Controller is installed. This monitoring is performed
automatically, and does not create a job.
To detect faults, Oracle Enterprise Manager Ops Center uses the ILOM and FMA
telemetry sources as well as HALRT faults from Exadata systems. It collects SNMP
traps from hardware assets and uses SNMP to monitor switch and PDU assets. It can
process SNMP V1 and V2 fault alerts, but it can only process SNMP V1 sensor alerts,
and it does not check the SNMP community string. It also gathers faults from ILOM
using IPMI and SSH to detect faults that occurred before the asset was activated.
Note:
Starting with version 12.3.2, Oracle Enterprise Manager Ops Center can
process SNMPv3 fault alerts which uses credentials instead of a public
community string for communication exchanges. For more information about
SNMPv3, see Oracle Enterprise Manager Ops Center Configuration Reference.
Oracle Enterprise Manager Ops Center sends a daily heartbeat event to Oracle for each
asset that is enabled for ASR. If this heartbeat is not received, this is reflected for the
asset in MOS. The status of this asset is changed to "Active — No Heartbeat" with a
date when a heartbeat was last received listed in MOS. The next time a heartbeat is
received, the asset's status is changed to the standard ASR status of "Active".
Note:
Some assets, such as Solaris 11 and Sun ZFS Storage Appliances, include
embedded ASR support. You can choose to enable these assets for ASR
directly, or to enable ASR through Oracle Enterprise Manager Ops Center.
Note:
If you create a manual service request for an incident that has already
generated an ASR, the duplicate service request is not automatically removed.
Task Role
Enable or disable ASR Ops Center Admin
7-4 Administration
Location of ASR Information in the User Interface
• Enable ASR
• Disable ASR
• Blacklist an ASR
• Test ASR
To See Location
View ASR Status for an Expand Assets in the Navigation pane and then select Service
Asset Requests tab.
Edit ASR Contact Expand Administration in the Navigation pane and select the
Information Enterprise Controller. Select Edit ASR Default Contact in the
Actions pane.
Enable ASR/Disable ASR Expand Administration in the Navigation pane and select the
Enterprise Controller. Select Enable ASR/Disable ASR in the
Actions pane.
The ASR Activated State field shows the asset's ASR status.
• First name
• Last name
• Phone
• Country
• Address: Two address fields are provided, but only the first is required.
• City
• State or Province
• Time Zone
4. Click Save.
• First name
• Last name
• Phone
7-6 Administration
Enabling ASR
• Country
• Address: Two address fields are provided, but only the first is required.
• City
• State or Province
• Time Zone
4. Click Save.
Enabling ASR
You can enable ASR to automatically generate service requests for your assets when a
qualified incident occurs.
Follow this procedure to enable ASR.
Note:
You must provide default contact information before you enable ASR. See
the Providing Default Contact Information section for more information.
3. Click OK.
Disabling ASR
You can disable ASR. While the feature is disabled, service requests are not
automatically generated for any asset.
Follow this procedure to disable ASR.
3. Click OK.
ASR is disabled.
Blacklisting an Asset
When ASR is enabled, Oracle Enterprise Manager Ops Center periodically launches a
job to enable assets for ASR, and attempts to activate all assets when they are
discovered.
You can add the serial number of an asset to a blacklist to prevent Oracle Enterprise
Manager Ops Center from enabling that asset for ASR.
2. Click the Configuration tab, then select the Auto Service Request subsystem.
3. In the Serial Blacklist value field, enter one or more serial numbers in a comma-
separated list.
4. Click Save.
Testing ASR
You can create a test fault on a managed asset to verify that ASR is working correctly.
Follow this procedure to test ASR.
3. Add or edit a test rule to include an snmp test trap, then test this new rule.
5. Click the Incidents section and verify that an incident for the test trap is displayed.
6. Click the Jobs section and verify that an ASR creation job has been created.
To move assets from a Standalone ASR to Oracle Enterprise Manager Ops Center ASR:
1. Log in to Oracle ILOM CLI, disable the SNMP trap destinations rule pointing to
the ASR manager by using the following command:
set /SP|CMM/alertmgmt/rules/n level=disable
2. Log in to ASR Manager as a root and run the following command to deactivate
every asset:
asr deactivate_asset
7-8 Administration
Related Resources for Auto Service Request
4. Enter the MOS credentials for the discovered assets as described in Adding or
Editing Authentications.
• See the following chapters in the Oracle Enterprise Manager Ops Center Configuration
Reference:
– See Configure Storage for information about enabling assets with embedded
ASR support
• For information on the assets that can be activated for ASR and the incidents that
can create an ASR, see the ASR Documentation at http://
www.oracle.com/asr
• For more information on Enterprise Manager Ops Center, see the Ops Center blog
at https://blogs.oracle.com/opscenter/
7-10 Administration
8
Manage the Users and Roles
You can add users to Oracle Enterprise Manager Ops Center from the local
authentication subsystem of the Enterprise Controller's operating system or from a
separate directory server. You can give each user a set of roles that grant access to the
different functions of Oracle Enterprise Manager Ops Center. You can also give users
privileges for their roles, which apply the roles to specific assets, networks, or other
objects.
You can view the existing users and their roles and privileges from the Administration
section.
This chapter includes the following sections:
• Adding a User
• Deleting a User
• Managing Roles
• Replicating a User
Task Role
Add, replicate, or delete a user Ops Center Admin
• Add a user
• Delete a user
8-2 Administration
Location of User and Role Management Information in the User Interface
• Manage roles
• Replicate a user
To See Location
View/Add/Replicate/ Expand Administration in the Navigation pane and select Local
Delete a user Users.
Sync Remote Users and Expand Administration in the Navigation pane and select
Roles Directory Servers.
Manage Roles Expand Administration in the Navigation pane and select the
Roles tab in the center pane.
Configure or delete a Expand Administration in the Navigation pane and select Local
Notification Profiles Users.
Adding a User
Users with the User Admin role can add other users to Oracle Enterprise Manager Ops
Center. New user information, such as the passwords for new users, are drawn from
the local authentication subsystem.
To add a user, perform the following steps:
Deleting a User
A user with the User Admin role can delete other users, removing the user from
Oracle Enterprise Manager Ops Center and erasing the user's roles and privileges.
To delete a user, perform the following steps:
3. Select the user that you want to delete, then click the Delete User icon.
4. Click OK.
5. Click Next.
The privileges for each of the user's roles are displayed on separate pages.
8-4 Administration
Adding a Directory Server
grant a role to a user by adding the user to the corresponding group, and remove a
role from a user by removing them from the group. You cannot edit the roles of a
directory server user through the Oracle Enterprise Manager Ops Center user
interface. Users that are added from a directory server begin with complete privileges
for each of their roles.
When you add a directory server to Oracle Enterprise Manager Ops Center, the login
page uses directory server users by default. Local users can still be selected.
• ASSET_ADMIN
• CLOUD_ADMIN
• CLOUD_USER
• FAULT_ADMIN
• NETWORK_ADMIN
• OPS_CENTER_ADMIN
• PROFILE_PLAN_ADMIN
• READ
• REPORT_ADMIN
• ROLE_ADMIN
• SECURITY_ADMIN
• SERVER_DEPLOY_ADMIN
• STORAGE_ADMIN
• SUPERCLUSTER_ADMIN
• UPDATE_ADMIN
• UPDATE_SIM_ADMIN
• USER_ADMIN
• VIRT_ADMIN
2. Add users to these groups on the directory server. When the directory server is
imported, the users are given the roles corresponding to their groups.
• SSL: Check this box to use SSL to connect to the directory server.
• Anonymous Bind: Check this box to use anonymous binding to access the
directory server.
• Username: The user name used to access the directory server. Username is
required only if Anonymous Bind is not checked.
• Password: The password for the given user name. Password is required only if
Anonymous Bind is not checked.
• Group search DN: The container or operational unit in which to search for the
role groups.
• Group search scope: The scope of the group search. Select Search One Level or
Search Entire Subtree.
• User search DN: The container or operational unit in which to search for users.
• User search scope: The scope of the user search. Acceptable values are base,
one, subtree, baseObject, singleLevel, wholeSubtree, or subordinateSubtree.
• User search filter: An LDAP search filter which users must meet for inclusion.
This filter can include memberUid and UniqueMember LDAP schemas.
• User name attribute: The attribute which Oracle Enterprise Manager Ops
Center should use as the user name. The specified attribute, such as
GivenName, is treated as the user name during login and within the user
interface.
Click Next.
The Summary page is displayed.
8-6 Administration
Deleting a Directory Server
Note:
Oracle Enterprise Manager Ops Center does not support synchronizing active
directory servers.
3. Select a directory server and click the Sync Remote Users and Roles icon.
4. Click OK.
3. Click Sync All Remote Users and Roles in the Actions pane.
4. Click OK.
3. Select a directory server and click the Delete Directory Server icon.
4. Click OK.
Each role grants a user a specific set of permissions. To perform a job, you must have
the correct permissions for the target of the job.
Note:
8-8 Administration
About Roles and Permissions
Role Permissions
Asset Admin Asset Group Management
Asset Management
Asset Network Management
Boot Environment Management
Chassis Management
Chassis Usage
Cluster Management
Discover Assets
IPMP Groups
Link Aggregation
Manage Assets
Network Management
Operating System Management
Operating System Usage
Power Distribution Unit Management
Power Distribution Unit Usage
Power Management
Rack Creation
Rack Deletion
Rack Management
Rack Usage
Read Access
Server Management
Server Usage
Service Request
Storage Server Management
Storage Server Usage
Switch Management
Switch Usage
Write Access
Role Permissions
Cloud Admin Asset Management
Asset Network Management
Cloud Management
Cloud Usage
Fabric Creation
Fabric Deletion
Fabric Management
Fabric Usage
IPMP Groups
LDOM Power Management
Link Aggregation
Manage Assets
Network Creation
Network Deletion
Network Domain Creation
Network Domain Deletion
Network Domain Management
Network Domain Usage
Network Management
Network Usage
Operating System Management
Operating System Usage
OVM Manager Management
OVM Manager Usage
Profile Plan Management
Read Access
Role Management
Server Management
Server Pool Management
Server Pool Usage
Server Provisioning
Server Usage
Solaris Zone Creation
Solaris Zone Deletion
Solaris Zone Host Management
Solaris Zone Management
Storage Management
Storage Server Management
Storage Server Usage
Storage Usage
Switch Management
Switch Usage
Virtualization Guest Creation
Virtualization Guest Deletion
Virtualization Guest Management
Virtualization Guest Usage
8-10 Administration Virtualization Host Management
Virtualization Host Usage
Write Access
About Roles and Permissions
Role Permissions
Cloud User Asset Management
Asset Network Management
Cloud Usage
Fabric Creation
Fabric Deletion
Fabric Usage
LDOM Power Management
Manage Assets
Network Creation
Network Deletion
Network Domain Management
Network Domain Usage
Network Management
Network Usage
Operating System Management
Operating System Usage
OVM Manager Usage
Read Access
Server Pool Usage
Server Provisioning
Server Usage
Solaris Zone Creation
Solaris Zone Deletion
Solaris Zone Host Management
Solaris Zone Management
Storage Management
Storage Server Usage
Storage Usage
Switch Usage
Virtualization Guest Creation
Virtualization Guest Deletion
Virtualization Guest Management
Virtualization Guest Usage
Virtualization Host Management
Virtualization Host Usage
Write Access
Role Permissions
Network Admin Asset Management
Asset Network Management
Fabric Creation
Fabric Deletion
Fabric Management
Fabric Usage
IPMP Groups
Link Aggregation
Network Creation
Network Deletion
Network Domain Creation
Network Domain Deletion
Network Domain Management
Network Domain Usage
Network Management
Network Usage
Read Access
Write Access
8-12 Administration
About Roles and Permissions
Role Permissions
Plan/Profile Admin Plan/Profile Management
Read Access
Write Access
Role Permissions
Supercluster Systems Read Access
Admin Manage Assets
Asset Group Management
Server Provisioning
Fault Management
Credential Management
Network Management
Fabric Management
Storage Management
Report Management
Profile and Plan Management
User Management
Role Management
Asset Management
Write Access
Service Requests
Power Management
Storage Server Management
Server Management
Operating System Management
Cluster Management
Link Aggregation
Operation Execution
EC Registration
EC HTTP Proxy Management
EC Energy Cost Management
Server Pool Creation
Server Pool Deletion
Server Pool Management
Server Pool Usage
Storage Creation
Storage Deletion
Storage Usage
Network Creation
Network Deletion
Network Usage
Fabric Creation
Fabric Deletion
Fabric Usage
Storage Server Usage
Switch Usage
Server Usage
8-14 Administration
About Roles and Permissions
Role Permissions
Supercluster Admin Operating System Usage
(Continued) Directory Server Management
PDU Usage
PDU Management
Network Domain Creation
Network Domain Deletion
Network Domain Management
Network Domain Usage
Asset Network Management
Job Management
Solaris Zone Creation
Solaris Zone Deletion
Solaris Zone Host Management
Solaris Zone Management
Software Library Management
LDOM Power Management
Role Permissions
User Management Admin Directory Server Management
Read Access
User Management
Write Access
8-16 Administration
About Roles and Permissions
Role Permissions
Virtualization Admin Asset Management
Asset Network Management
Fabric Creation
Fabric Deletion
Fabric Management
Fabric Usage
IPMP Groups
Link Aggregation
LDOM Power Management
Manage Assets
Network Creation
Network Deletion
Network Domain Creation
Network Domain Deletion
Network Domain Management
Network Domain Usage
Network Management
Network Usage
Operating System Management
OVM Manager Management
OVM Manager Usage
PDOM Domain Management
Read Access
Server Provisioning
Server Management
Server Pool Creation
Server Pool Deletion
Server Pool Management
Server Pool Usage
Solaris Zone Creation
Solaris Zone Deletion
Solaris Zone Host Management
Solaris Zone Management
Storage Creation
Storage Deletion
Storage Management
Storage Server Management
Storage Server Usage
Storage Usage
Virtualization Guest Creation
Virtualization Guest Deletion
Virtualization Guest Management
Virtualization Guest Usage
Virtualization Host Creation
Virtualization Host Deletion
Virtualization Host Management
Virtualization Host Usage Manage the Users and Roles 8-17
Write Access
About Roles and Permissions
Permission Tasks
Read Access Read Access
8-18 Administration
About Roles and Permissions
Permission Tasks
Credential Management Update Management Credentials
Any Actions related to changing credentials
Permission Tasks
User Management Add Users
Remove Users
8-20 Administration
About Roles and Permissions
Permission Tasks
EC Local Agent Management Configure Local Agent
Unconfigure Local Agent
Permission Tasks
Virtualization Guest Creation Create Logical Domains
Create zones
Create OVM virtual servers
8-22 Administration
Managing Roles
Permission Tasks
Rack Creation Create Rack
Managing Roles
Users with the Role Admin role can grant users different roles and privileges.
To grant users different roles and privileges, perform the following steps:
5. Add or remove one or more roles from the selected roles list.
By default, users are given full privileges for each of their assigned roles. To specify
privileges, deselect the Use the default Role associations box.
Click Next.
6. If you chose to specify privileges, the privileges for each type of target are
displayed on separate pages. Select the roles to apply to each target, then click
Next.
7. The Summary page is displayed. Review the roles and privileges assigned to the
user, then click Finish.
Replicating a User
You can copy a user's roles and privileges to other target users.
The target users' current roles and privileges are overwritten.
Note:
You can replicate a user from a directory server, but only the user's privileges
are replicated. The target user must begin with the same roles as the source
user.
• To receive notifications about all the assets, a user must have an Ops Center Admin
role.
8-24 Administration
About Notification Profiles
Note:
To receive email notifications about assets, a user must have a Read role. You
can receive email notifications either in HTML or plain text format by using
the alert.mail.format property. See About EC Manager Configuration
for more information on how to set the property value to receive email
notification in HTML or plain text format.
• Incident Severity >= Critical: Incidents of critical severity are sent to the
destination.
• Incident Severity >= Warning: Incidents of critical or warning severity are sent to
the destination.
• Incident Severity >= Info: Incidents of any severity are sent to the destination.
• Incident updates and all severities: Incidents of any severity and incident updates
such as status changes and new annotations are sent to the destination.
• Notification Priority >= High: High severity notifications are sent to the
destination. This level can only be sent to the user interface.
• Notification Priority >= Medium: Medium and high severity notifications are sent
to the destination. This level can only be sent to the user interface.
• Notification Priority >= Low: Low, medium, and high severity notifications are
sent to the destination. This level can only be sent to the user interface.
Different levels of notifications can be sent for specific Server Pools, or asset groups.
If a user has no notification profile, all notifications of medium or high severity for all
assets are sent to the UI, and no notifications are sent to other destinations.
• If you select Subscribe to All Messages, you receive notifications for all assets.
Use the User Interface drop-down list to select the severity of messages to be
received through the UI.
Use the Email drop-down list to select the severity of messages to be received
through email.
Use the Pager drop-down list to select the severity of messages to be received
through a pager.
• Mail Host: The mailhost to use in sending the email. Enter localhost or the
name or IP address of the Enterprise Controller to send emails directly.
• Mail User Name: Enter a user name if it is required by the mail host.
• From Email Address: Enter the email address from which email notifications
are sent.
Note: The name of the asset that caused the notification appears in the subject
of the email.
7. If you chose to receive notifications by pager, enter a pager address, then click
Next.
8-26 Administration
Viewing the Audit Log
5. Click Delete.
2. Change to the directory containing the log files. The log files are in the following
directory:
• On Linux: /var/opt/sun/cacao2/instances/oem-ec/logs/audit-
logs.*
3. View the most recent log. Log entries are stored in the format <date/time>
<action> <connection info> <additional info>.
• For more information on audit logs, see Oracle Enterprise Manager Ops Center
Configuration Reference
• For more information on Enterprise Manager Ops Center, see the Ops Center blog
at https://blogs.oracle.com/opscenter/
8-28 Administration
9
Perform Backup and Recovery
Oracle Enterprise Manager Ops Center has capabilities that can be used to recover
data and resume functions if the Enterprise Controller system fails.
This chapter includes the following sections:
• The new system must have the same architecture and operating system as the old
system. It is recommended that the operating system versions be identical,
including updates and SRUs.
• The host name of the new system should be the same as the old system. You can
change the host name of the new system, provided the old host name is added as
an alias host name in the new system.
• The IP address of the new system can be different. If the new system has a different
IP address, the restore process includes a step to configure any remote Proxy
Controllers to use the new Enterprise Controller IP address. The MAC address of
the new system can be different.
• The new system's Enterprise Controller software version must also match those of
the backed up system.
For a regular back up and restore procedure, the IP address and the host name of the
new system should match that of the old system. For a disaster recovery procedure,
the IP address and the host name of the new system can be different than that of the
old system.
If a remote Proxy Controller system fails, you can use the proxyadm restore
command and the backup file to restore the Proxy Controller. The proxyadm
restore command accepts the name of the backup file as input, and restores the
Proxy Controller to the state it had at the time of the backup.
Some of the procedures described in this section use the ecadm and proxyadm
commands. See Command Line Administration for more information about these
commands.
Task Role
Backup and Restore an Enterprise Controller Ops Center Admin
9-2 Administration
Location of Backup and Recovery Information in the User Interface
To See Location
Back up or Restore Command Line
Enterprise Controller
Note:
By default, the server data is saved in a backup file in the /var/tmp directory with a
file name that includes a date and time stamp. You can define the file name and
location during the backup, as shown in the example below.
If you are using an embedded database, the backup file includes the product schema
from the embedded database. This database schema includes all logical structures and
data related to Oracle Enterprise Manager Ops Center. If you are using a customer-
managed database, you can back up the database schema using the --remotedb
option, or you can use the existing backup and recover processes implemented by
your database administrator.
2. Stop the Enterprise Controller by running the ecadm command with the stop
subcommand and the -w option.
For example:
ecadm stop -w
3. Use the ecadm command with the backup subcommand to back up the Enterprise
Controller.
• -o|--output <backup file>: Specify the file in which the backup archive is
generated. Do not specify a path inside the /opt/*xvm* directories. The
default output file is /var/tmp/sat-backup-<date>-<time>.tar.
• -l|--logfile <logfile>: Save output from command in <logfile>. Log files are
stored in the /var/tmp/ directory.
5. Start the Enterprise Controller by running the ecadm command with the start
subcommand and the -w option.
For example:
ecadm start -w
9-4 Administration
Backing Up and Restoring an Enterprise Controller
Note: Before you restore on a system, you must uninstall any previously
existing Enterprise Controllers, Proxy Controllers, and Agent Controllers from
the system.
• If you are restoring the backup on a new system, then the new system must
have the same architecture and operating system as the old system. It is
recommended that the operating system versions be identical, including
updates and SRUs. The new system's host name and Enterprise Controller
software version must also match those of the backed up system. If the host
name does not match, add the old host name as an alias to the/etc/hosts
file.
• If you are restoring the backup on the same system, but the software has
become corrupt or an upgrade failed, uninstall the Enterprise Controller
software.
Run the install script with the -e and -k options. The -e option uninstalls
the Enterprise Controller and co-located Proxy Controller, and the -k option
preserves the Oracle Configuration Manager software. For example:
# cd /var/tmp/OC/xvmoc_full_bundle
# install -e -k
2. Install the Enterprise Controller to the same version that was running when the
backup was made, but do not configure the Enterprise Controller, as the ecadm
restore command restores your configuration settings.
Note:
If you are using a customer-managed database which is still functioning, the
Enterprise Controller installation procedure indicates several steps that you
must skip and an additional option that you must use to avoid overwriting
your existing database schema.
3. Run the ecadm command with the restore subcommand and the -i <backup
directory location and file name> option.
• -i|--input <backup file>: (Required) Specify the location of the backup file.
• -l|--logfile <logfile>: Save output from command in <logfile>. Log files are
stored in the /var/tmp/ directory.
5. If you restored the Enterprise Controller on a new system, restart each remote
Proxy Controller to use the new Enterprise Controller.
a. Stop the Proxy Controller using the proxyadm command with the stop
subcommand and the -w option. For example:
# proxyadm stop -w
9-6 Administration
Backing Up and Restoring a Proxy Controller
c. Restart the Proxy Controller using the proxyadm command with the start
subcommand and the -w option. For example:
# proxyadm start -w
6. Restart the co-located Agent Controllers using the agentadm command with the
start subcommand and the -w option. For example:
/opt/SUNWxvmoc/bin/agentadm start -w
Note:
After restoring the Enterprise Controller, the asset details might take several
minutes to display completely in the user interface.
Note:
During the database schema restore, an import log is created. The name of the
import log appears in the Enterprise Controller restore log file with the
OC_import<timestamp>.log format. You can check the progress of the
database import status using this import log.
In this example, the ecadm restore command includes options to set the restore in
verbose mode (-v), and to create a restore log (-l) for debugging purposes. The input (-
i) option specifies the backup file location.
Example 9-2 Restoring an Enterprise Controller With a Customer-Managed
Database
In this example, the ecadm restore command includes the (-r) option to restore the
database schema on a customer-managed database. The input (-i) option specifies the
backup file location.
# /opt/SUNWxvmoc/bin/ecadm restore -i /var/tmp/OC/server1/EC-17December.tar -r
2. Use the proxyadm command with the backup subcommand to back up the Proxy
Controller.
• -o|--output <backup file>: Specify the file in which the backup archive is
generated. Do not specify a path inside the /opt/*xvm* directories. The
default output file is /var/tmp/proxy-backup-<date>-<time>.tar.
• -l|--logfile <logfile>: Save output from command in <logfile>. Log files are
stored in the /var/tmp/ directory.
2. Upgrade the Proxy Controller to the same version that was running when the
backup was made, if it is not already running that version. Perform this upgrade
from the command line.
9-8 Administration
Related Resources for Backup and Recovery
3. Run the proxyadm command with the restore subcommand and the -i
<backup directory location and file name> option.
• -i|--input <backup file>: (Required) Specify the location of the backup file.
• -l|--logfile <logfile>: Save output from command in <logfile>. Log files are
stored in the /var/tmp/ directory.
4. Stop the Proxy Controller by running the proxyadm command with the stop
subcommand and the -w option.
For example:
proxyadm stop -w
5. Start the Proxy Controller by running the proxyadm command with the start
subcommand and the -w option.
For example:
proxyadm start -w
• For more information on Enterprise Manager Ops Center, see the Ops Center blog
at https://blogs.oracle.com/opscenter/
9-10 Administration
10
Manage High Availability
Oracle Enterprise Manager Ops Center has several capabilities that can be used to
recover data and resume functions if the Enterprise Controller system or a Proxy
Controller system fail.
If you set up a High Availability configuration during the installation and
configuration process, you can fail over to the standby Enterprise Controller if the
active Enterprise Controller fails.
This chapter includes the following sections:
If the active Enterprise Controller must be taken offline, you can make another
Enterprise Controller active. One of the standby Enterprise Controllers is also
activated if the active Enterprise Controller fails.
Figure 10-1 shows an example Enterprise Controller High Availability configuration.
Note:
If you have not yet installed Oracle Enterprise Manager Ops Center, make
sure to install it with Enterprise Controller High Availability.
• Use two or more systems of the same model and configured identically:
– Processor class
– Operating system
• Add an asset tag to identify the active Enterprise Controller and to distinguish it
from the standby Enterprise Controller using the Edit Asset action.
• Maintain the standby Enterprise Controller's system in the same way as the active
Enterprise Controller. The active and standby Enterprise Controllers must use the
10-2 Administration
Introduction to High Availability
same version of Oracle Enterprise Manager Ops Center software. If you cannot use
the user interface to verify the installed software versions at the time that you need
to transfer functions to the standby system, view the content of the /n1gc-
setup/.version.properties file. The product.version property lists the
specific revision level of the installed software. For example:
cat /n1gc-setup/.version.properties
#Note: This file is created at build time.
#Sat Nov 03 23:48:37 MDT 2012
jar.sign=true
date=2012/11/03 23\:48
build.variation=xvmopscenter
oc.build.type=dev-ga
product.version==12.3.0.604
product.installLocation=/var/opt/sun/xvm/
EnterpriseController_installer_=12.3.0.604
#
Verify that the product.version property lists the same version on the active and
standby Enterprise Controllers before you perform a relocate procedure.
– <node#>-vip - One address of this format should be available for each node.
• The Enterprise Controller libraries must be NFS shares that are accessible by every
Enterprise Controller system.
– Shared SAN storage with at least one FibreChannel LUN connected to each
server with identical /dev/dsk and /dev/rdsk names.
The following are limitations of a High Availability environment:
• User accounts and data that are not associated with Oracle Enterprise Manager Ops
Center are not part of the relocate process. Only Oracle Enterprise Manager Ops
Center data is moved between the active and standby Enterprise Controllers.
unreachable. In either case, you can manually move assets to a new Proxy Controller
at any time.
To migrate an asset to a new Proxy Controller, the destination Proxy Controller must
either be connected to the networks of the assets being moved, or be associated with
those networks and have them enabled. The destination Proxy Controller must also be
online and reachable.
Task Role
Enable or disable Enterprise Controller High Ops Center Admin
Availability
10-4 Administration
Location of High Availability Information in the User Interface
To See Location
Enterprise Controller High Expand Administration in the Navigation pane and select the
Availability Enterprise Controller. In the Configuration tab and select EC
Manager.
View Cluster Management Expand Administration in the Navigation pane and select the
UI Enterprise Controller. Select Manage Cluster Configuration in
the Actions pane.
Proxy Controller High Expand Administration in the Navigation pane and select the
Availability Enterprise Controller. In the Configuration tab and select Proxy
Manager.
Migrate assets between Expand Administration in the Navigation pane and select the
Proxy Controllers Enterprise Controller. Select Manage Assets tab.
2. If you are using a local database, switch to a remote database. See Manage the
Database for more information.
10-6 Administration
About Enabling and Using Enterprise Controller High Availability
1. Stop the Enterprise Controller using the ecadm command and the stop
subcommand.
If the clusterware crsctl command is not in the /u01 directory, use the --
crsctl_basepath <location> option to specify its location.
For example:
# ./ecadm ha-configure-primary
INFO: HAECClusterwareAdapter/doConfigurePrimary() Stopping Ops Center ...
INFO: HAECClusterwareAdapter/doConfigurePrimary() Ops Center stopped
INFO: HAECClusterwareAdapter/createActionScript() created Resource Action
Script='/var/opt/sun/xvm/ha/EnterpriseController'
INFO: HAECClusterwareAdapter/doConfigurePrimary() created Clusterware Action
Script='/var/opt/sun/xvm/ha/EnterpriseController'
INFO: HAECClusterwareAdapter/doConfigurePrimary() created Clusterware
Resource='EnterpriseController'
INFO: HAECClusterwareAdapter/doHAStart() starting resource='EnterpriseController'
on node='primary-system'
INFO: HAECClusterwareAdapter/doHAStart()statusSB='CRS-2672: Attempting to start
'EnterpriseController' on 'primary-system'
CRS-2676: Start of 'EnterpriseController' on 'primary-system' succeeded'
INFO: HAECClusterwareAdapter/doHAStart() started resource='EnterpriseController'
on node='primary-system'
INFO: HAECClusterwareAdapter/doConfigurePrimary() Ops Center started on
node='primary-system'
ecadm: --- Enterprise Controller successfully configured HA primary node
#
1. If you are installing on Oracle Solaris 11, and if the system requires an HTTP proxy
to reach the Internet, set the http_proxy and https_proxy environment
variables. These values are only used during the installation. Use the following
format:
export http_proxy=http://10.79.204.11:8080
export https_proxy=https://10.79.204.12:8080
2. If you are installing on Oracle Solaris 11, check the user type for the root user. If
root is a role, configure root as a normal user. For example:
3. Create a temporary directory on your system, then copy or move the appropriate
Oracle Enterprise Manager Ops Center archive for your system from delivery
media to the temporary directory that you created. For example:
# mkdir /var/tmp/OC
# cp enterprise-controller.Solaris.i386.12.3.0.604.tar.gz /var/tmp/OC
4. Change to the directory where the installation archive is located on your system.
# cd /var/tmp/OC
#
5. Expand the installation archive, then list the contents of the expanded directory.
• If your installation archive has the .zip extension, use the unzip command to
uncompress the archive. For example:
# unzip enterprise-controller.Solaris.i386.12.3.0.604.zip
# ls
enterprise-controller.Solaris.i386.12.3.0.604.zip
xvmoc_full_bundle
#
• If your installation archive has the .tar.zip extension, use the unzip and tar
commands to uncompress and un-tar the archive, then list the contents of the
temporary directory. The following command example retains the original
compressed archive file. The data extracted from the archive consumes about 1
GB of additional space. For example:
# unzip enterprise-controller.Solaris.i386.12.3.0.604.tar.zip | tar xf -
# ls
enterprise-controller.Solaris.i386.12.3.0.604.tar.zip
xvmoc_full_bundle
#
6. Create a database properties file on the Enterprise Controller system. The database
properties file must contain the location of the customer-managed database and a
user name and password that can access the database.
10-8 Administration
About Enabling and Using Enterprise Controller High Availability
7. Change directory to xvmoc_full_bundle, and run the install script with the
--remoteDBprops <path to database properties file> and --
standbyEC options. For example:
# cd xvmoc_full_bundle
# ./install --remoteDBprops=/var/tmp/remoteDBProps.txt --standbyEC
9. If you want security updates to appear on your My Oracle Support page, enter
your My Oracle Support password.
Provide your My Oracle Support password to receive security updates via your My
Oracle Support account.
Password (optional):
The screen clears, then the install script displays a list of installation tasks that
automatically updates as the installation proceeds. For example:
Ops Center Enterprise Controller Installer
(version 12.3.0.604 on SunOS)
10. Review and correct any problems when the install script checks for installation
prerequisites that are not met. For example, this install script detected
insufficient disk space:
You can enter t to try again, c to continue and ignore the warning, or x to exit the
install script. You should exit the install script, correct the problem, and then run
the install script again, which resumes from where it stopped. Choose to continue
and ignore the warning only if you accept the impact of the error condition on your
installation. Entering t typically produces the same error, unless you are able to
correct the problem before trying the step again. If the install script finds that all
prerequisites have been satisfied, or if you choose to continue despite the warning,
the install script continues and installs all Enterprise Controller and Proxy
Controller components.
When complete, the install script displays a confirmation that all components have
been installed. The /var/tmp/installer.log.latest file contains the
installation log.
11. Create a password file containing the root user name and password for the active
Enterprise Controller. For example:
# touch /tmp/creds.props
# chmod 400 /tmp/creds.props
# vi /tmp/creds.props
10-10 Administration
About Enabling and Using Enterprise Controller High Availability
# cat /tmp/creds.props
username:root
password:XXXXX
12. Use the ecadm command with the ha-configure-standby and -p <password
file> subcommands to configure the node as a standby node.
If the clusterware crsctl command is not in the /u01 directory, use the --
crsctl_basepath <location> option to specify its location.
For example:
# ecadm ha-configure-standby -p /tmp/creds.props
INFO: HAECClusterwareAdapter/doConfigureStandby() Stopping Ops Center ...
INFO: HAECClusterwareAdapter/doConfigureStandby() Ops Center stopped
INFO: remoteFileCopy() copied '/etc/passwd' from remoteHostname='primary-system'
to local file='/tmp/activeNodepw'
<output omitted>
ecadm: --- Enterprise Controller successfully configured HA standby node
13. Use the ecadm command with the ha-status -d option to check the status of the
standby Enterprise Controller.
For example:
# ecadm ha-status -d
INFO: HAECClusterwareAdapter/doHAStatus() Status:
# HAEC Cluster Info: Thu Sep 29 15:49:09 MDT 2011
haec.cluster.active.node=primary
haec.cluster.nodes=standby, primary
haec.ec.public.nics=nge1
haec.ec.status=ONLINE
<output omitted>
haec.cluster.script=/var/opt/sun/xvm/ha/EnterpriseController
haec.cluster.crsctl=/u01/app/11.2.0/grid/bin/crsctl
# End of Cluster Info
ecadm: --- Enterprise Controller ha-status command succeeded
Status stored in file: /var/opt/sun/xvm/ha/HAECStatus
#
2. On each standby Enterprise Controller node, use the ecadm command with the
ha-unconfigure-standby subcommand to remove the node from the High
Availability configuration.
6. Use the ecadm command with the start subcommand to start the active node.
Another node is activated and the current node is switched to standby mode.
• -type application
10-12 Administration
About Enabling and Using Enterprise Controller High Availability
• ACTION_SCRIPT=/u01/app/11.2.0/grid/bin/usrvip
• PLACEMENT=favored
• ACTION_SCRIPT=/u01/app/11.2.0/grid/bin/usrvip
• PLACEMENT=favored
The node is removed from the cluster. You can uninstall the Enterprise Controller
on the node using the normal Enterprise Controller uninstall procedure.
2. Use the ecadm command with the ha-status subcommand and the -d option to
check the status of the cluster.
10-14 Administration
Enabling and Using Proxy Controller High Availability
3. Use the ecadm command with the ha-start subcommand to start the active
node.
Note:
10-16 Administration
Enabling and Using Proxy Controller High Availability
The Proxy Manager variables are displayed. Two variables are relevant:
Note:
1. Select the source Proxy Controller in the Administration section of the Navigation
pane.
3. Select one or more assets to move, then click the Migrate Assets icon.
If another Proxy Controller is available that can manage the assets, the Asset
Migration Wizard is displayed.
If no other Proxy Controller is available that can manage the assets, an error
message is displayed.
4. Within the Asset Migration Wizard, the selected assets are displayed in groups
which can be migrated together. Select one or more groups, then select the
destination Proxy Controller from the list of Proxy Controllers, or select Auto
Balance across Proxies to automatically select a destination Proxy Controller.
5. Click Migrate.
A job is launched to migrate the selected assets to the destination Proxy Controller.
The migration status is displayed in the job and in the Managed Assets tab.
If another Proxy Controller is available that can manage the assets, the Asset
Migration Wizard is displayed.
If no other Proxy Controller is available that can manage the assets, an error
message is displayed.
3. Within the Asset Migration Wizard, the selected assets are displayed in groups
which can be migrated together. Select one or more groups, then select the
destination Proxy Controller from the list of Proxy Controllers, or select Auto
Balance across Proxies to automatically select a destination Proxy Controller.
10-18 Administration
Related Resources for High Availability
4. Click Migrate.
A job is launched to migrate the selected assets to the destination Proxy Controller.
The migration status is displayed in the job and in the Managed Assets tab.
The Access Points are displayed in the center pane. Select the specific Access Point
to delete.
• For information about deleting access points, see Oracle Enterprise Manager Ops
Center Configuration Reference
• For more information on Enterprise Manager Ops Center, see the Ops Center blog
at https://blogs.oracle.com/opscenter/
10-20 Administration
11
Perform Upgrades
You can upgrade to the latest version of Oracle Enterprise Manager Ops Center 12c if
you are currently using Oracle Enterprise Manager Ops Center 12c.
This chapter includes the following sections:
• Introduction to Upgrade
• Database Requirements
Introduction to Upgrade
You can upgrade to the latest version of Oracle Enterprise Manager Ops Center from
Oracle Enterprise Manager Ops Center 12c.
Some of the procedures described in this section use the ecadm, proxyadm, and
agentadm commands. See Command Line Administration for more information
about these commands.
Task Role
Upgrading Enterprise Controller High Availability Ops Center Admin
To See Location
Download Upgrades Expand Administration in the Navigation pane and select the
Enterprise Controller. Select Ops Center Downloads in the
Actions pane.
Upgrade Enterprise Expand Administration in the Navigation pane and select the
Controller Enterprise Controller. Select Upgrade Enterprise Controllers in
the Actions pane.
Upgrade Enterprise Expand Administration in the Navigation pane and select the
Controllers Proxy Controllers tab. Select Upgrade to Latest Available
Version icon in the center pane.
Upgrade Agent Controllers Expand Assets in the Navigation pane and select All Assets.
Select an asset or a group.
11-2 Administration
Versions Supported for Upgrade
1. If you are using version 12.1.0, 12.1.1, or 12.1.2, upgrade to version 12.1.4.0.0 as
described in Related Resources for Upgrade.
11-4 Administration
Planning the Upgrade
• Review the pre-installation requirements and known issues. See Related Resources
for Upgrade for information on reviewing the pre-installation requirements and
known issues.
• Verify that your system meets the operating system requirements. See Related
Resources for Upgrade for information on verifying the operating system
requirements.
• Verify that your system meets the system requirements, since some system
requirements have changed. See Related Resources for Upgrade for information on
verifying the system requirements.
You can use the OCDoctor to check system requirements and to identify and
address some known issues. See Manage the OCDoctor for more information on
using OCDoctor.
• Check if there are any traces from previous Enterprise Controller installation or
upgrade procedure. Remove the /tmp/CVU_12.1.0.2.0_oracleoc directory
and /tmp/CVU_11.2.0.4.0_oracleoc directory before installing or upgrading
the Enterprise Controller.
• If you made changes to the uce.rc file, the upgrade erases your changes. Copy
your changes to the .uce.rc file before beginning the upgrade.
• If you replaced the self-signed web server certificate for the Enterprise Controller,
the upgrade erases your web server configuration changes, and might erase the
certificate. See Oracle Enterprise Manager Ops Center Security for information on
replacing the self-signed web server certificate. Copy the certificate to a safe
location before beginning the upgrade. After the upgrade, reapply your
configuration changes and copy the certificate to its original location.
• If your Enterprise Controller is installed on Oracle Solaris 11, your Oracle Solaris 11
publisher must point to an Oracle Solaris 11 repository that contains the specific
version of Oracle Solaris 11 installed on the Enterprise Controller before you begin
the upgrade. If not, the upgrade process does not proceed.
platforms. You can use the OC Doctor to calculate the parameter value. Once the
parameter value is set, restart the system for the configuration to take effect.
At the beginning of the installation or upgrade of an Enterprise Controller, if the
parameter values are not set, then the install or the upgrade wizard provides
information on the parameter value to be set and how to set the parameter value.
• If you are upgrading to version 12.2.2.0.0 or 12.3.0.0.0, and are using the embedded
database, you must download installation bundles for Oracle Database version
11.2.0.4, as the Oracle Enterprise Manager Ops Center upgrade also upgrades the
embedded database. The download procedure is described in the Before You Begin
section in each upgrade chapter.
Note:
• If you are upgrading to version 12.3.1.0.0 or later, and are using the embedded
database, you must download installation bundles for Oracle Database version
12.1.0.2, as the Oracle Enterprise Manager Ops Center upgrade also upgrades the
embedded database. The download procedure is described in the Before You Begin
section in each upgrade chapter.
• Any Oracle Enterprise Manager Ops Center IDRs that are installed prior to
upgrading are automatically removed during the upgrade. If the upgrade fails and
a rollback takes place, these IDRs must be manually re-installed. When the upgrade
is successful, these IDRs will no longer be needed and no further action is required.
The Ops Center IDRs uninstalled are listed in the upgrade log.
• Do not upgrade the Java version on Oracle Solaris 10 Control Domains or Logical
Domains that have LDOM Manager version 3.2 or earlier installed. If you have
upgraded the Java on these systems to version 1.6.0_101 or higher, downgrade to
Java 1.6.0_95.
Database Requirements
Oracle Enterprise Manager Ops Center version 12c can use either an embedded
database on the Enterprise Controller system or a customer-managed database. You
cannot change the existing database configuration during the upgrade.
The embedded database is configured and managed by Oracle Enterprise Manager
Ops Center. The embedded database requires 10 GB of space, plus 240 MB per
managed asset, 400 MB per UCE channel, and 20% of the space currently taken up by
the /var/opt/sun/xvm/db/mgmt and var/opt/sun/xvm/db/report
directories.
You must install and configure a compatible database to use a customer-managed
database. Using a customer-managed database requires no additional space beyond
that required by the Enterprise Controller.
11-6 Administration
Upgrading Your Environment
• For pre-installation and known issues, see Oracle Enterprise Manager Ops Center
Release Notes
• For information on system requirements, see Oracle Enterprise Manager Ops Center
Installation for Oracle Solaris Operating System or Oracle Enterprise Manager Ops
Center Installation for Linux Operating Systems
• For information on vServer Management, see Oracle Enterprise Manager Ops Center
Virtualization Reference
• For information on upgrading procedures, see Oracle Enterprise Manager Ops Center
Upgrade
• For more information on Enterprise Manager Ops Center, see the Ops Center blog
at https://blogs.oracle.com/opscenter/
11-8 Administration
12
Uninstall and Unconfigure the Software
You can unconfigure and uninstall the Agent Controller, Proxy Controller, and
Enterprise Controller components of Oracle Enterprise Manager Ops Center.
This chapter describes the procedure to unconfigure and uninstall the Agent
Controller, Proxy Controller, and Enterprise Controller.
Check with Oracle Support for any additional scripts that might be available to ensure
a clean removal of Enterprise Controller or Proxy Controller software.
This chapter includes the following sections:
Task Role
Uninstall and unconfigure Agent Controllers Ops Center Admin
To See Location
Uninstall and Unconfigure Expand Assets in the Navigation pane and select Managed
Agent Controllers Assets.
Uninstall and Unconfigure Expand Administration in the Navigation pane and select a
Proxy Controllers Proxy Controller. Select Unconfig/uninstall Proxy in the
Actions pane.
Uninstall and Unconfigure Expand Administration in the Navigation pane and select a
Enterprise Controllers Enterprise Controller. Select Unconfigure in the Actions pane.
12-2 Administration
Uninstalling and Unconfiguring Agent Controllers
Note:
The list of currently managed assets are displayed in the Managed Assets section.
3. From the Managed Assets list, select the managed OS instance from which you
want to remove the Agent Controller.
4. Click the Delete Assets icon (X icon placed above the list header).
5. Provide a set of credentials to access the Agent Controller, then click Next.
6. Click Finish.
Caution:
Do not uninstall co-located Agent Controllers from an Enterprise Controller or
Proxy Controller system. Uninstalling a co-located Agent Controller can
corrupt Enterprise Controller or Proxy Controller services.
2. Use the agentadm command with the stop subcommand to stop the Agent
Controller.
# ./agentadm stop
# ./agentadm unconfigure
Unconfiguring an Agent Controller in a Control Domain will delete the current
configuration.
This action cannot be undone.
• Unconfigure and Uninstall the Proxy Controller from the user interface. This
option connects to the Proxy Controller through SSH, then commands it to
unconfigure and uninstall itself. You can only take this action if the Proxy
Controller is reachable.
• Remove the Proxy Controller from Oracle Enterprise Manager Ops Center. This
option removes the Proxy Controller from the Oracle Enterprise Manager Ops
Center infrastructure, but does not uninstall the Proxy Controller. You can remove
a Proxy Controller even if it is unreachable. You can uninstall the Proxy Controller
from the command line once it has been removed.
• Unconfigure the Proxy Controller from the command line. The Proxy Controller
software must then be uninstalled from the command line.
12-4 Administration
Uninstalling and Unconfiguring a Proxy Controller
5. Enter the privileged user name and password for the Proxy Controller. If root login
is not permitted on the Proxy Controller system, enter a non-root user name and
password followed by the root user name and password.
3. Select Force the Removal of the Proxy Controller from Oracle Enterprise Manager
Ops Center.
4. Click Unconfigure/Unregister.
2. Use the proxyadm command with the stop subcommand and the -w option to
stop the Proxy Controller.
For example:
# ./proxyadm stop -w
proxyadm: Shutting down Proxy Controller using SMF...
proxyadm: Proxy Controller services have stopped
Note:
The co-located Proxy Controller that is installed with the Enterprise Controller
cannot be uninstalled without uninstalling the Enterprise Controller.
1. Use the proxyadm command with the stop subcommand and the -w option to
stop the Proxy Controller services.
• -l | --logfile <log file>: Saves the output from the command in <logfile>.
# cd /n1gc-setup/installer
# ./install -e
Invoking uninstall
The install script displays a list of uninstallation tasks that automatically updates as
the uninstallation proceeds. For example:
12-6 Administration
Uninstalling and Unconfiguring the Enterprise Controller
When complete, the install script indicates that the Proxy Controller has been
uninstalled.
3. Click Unconfigure.
Note:
3. Use the ecadm command with the stop subcommand and the -w option to stop
the Enterprise Controller services.
For example:
# ./ecadm stop -w
ecadm: Shutting down satellite using SMF...
#
For example:
# cd /n1gc-setup/installer/
# ./install -e
Invoking uninstall
The install script displays a list of uninstallation tasks that automatically updates as
the uninstallation proceeds. For example:
Ops Center Enterprise Controller Uninstall
(version 12.3.0.604 on SunOS)
12-8 Administration
Related Resources for Uninstall and Unconfigure
When complete, the install script indicates that the Enterprise Controller has been
uninstalled.
• For more information on Enterprise Manager Ops Center, see the Ops Center blog
at https://blogs.oracle.com/opscenter/
12-10 Administration
A
Command Line Administration
You can manage the Oracle Enterprise Manager Ops Center Enterprise Controller,
Proxy Controller, and Agent Controller from the command line.
The following information is included in this chapter:
Oracle Solaris OS
/opt/SUNWxvmoc/bin/ecadm -V
/opt/SUNWxvmoc/bin/ecadm [ -h | --help ]
/opt/SUNWxvmoc/bin/ecadm subcommand [ options ]
Linux OS
/opt/sun/xvmoc/bin/ecadm -V
/opt/sun/xvmoc/bin/ecadm [ -h | --help ]
/opt/sun/xvmoc/bin/ecadm subcommand [ options ]
start
Starts the Enterprise Controller services running on the host.
stop
Stops the Enterprise Controller services running on the host.
status
Displays the status of the Enterprise Controller services. Displays either online or
offline to the standard output and sets the exit status to reflect the Enterprise
Controller service state.
configure
Performs configuration tasks for the Enterprise Controller services. Registers the
Enterprise Controller with My Oracle Support.
unconfigure
Performs the inverse operation of configuring the Enterprise Controller. Deregisters
the Enterprise Controller.
backup
Creates a backup archive of the state data of the Enterprise Controller. This command
does not back up any installed software.
restore
Restores the state data of an Enterprise Controller from a backup archive. If a new
system is being used, the system must have the same host name as the original
Enterprise Controller. After the successful completion of this command, the
Enterprise Controller is in the same operational state that existed at the time of the
backup.
If the registration of the Enterprise Controller to My Oracle Support is invalidated
with the ecadm unconfigure command, any backup archives created during the
time the Enterprise Controller was registered become unusable. The Enterprise
Controller is no longer able to communicate with My Oracle Support, and the asset
data shared between the Enterprise Controller and the hosted servers lose their
synchronization.
verify-db
Verifies that the database used for the Enterprise Controller data persistence is
available, reachable, and the schemas are set up with the proper permissions.
A-2 Administration
About Configuring the Enterprise Controller: ecadm
change-db-password
Changes the Enterprise Controller password for the application or read only database
schema that is used by Oracle Enterprise Manager Ops Center database password for
the local or remote database. The Enterprise Controller services are restarted after
using this command.
defrag-db
Defragments the embedded database to increase free space and improve
performance.
maintenance
Changes the state of the database to maintenance state.
migrate
Moves Enterprise Controller data persistence from a local database to a customer-
managed database, then removes the local database and the local database server
binaries from the Enterprise Controller. The database must be installed in the
destination location before beginning this procedure. The Enterprise Controller is
shutdown and is restarted on successful completion.
sqlplus
Opens a sqlplus console to the underlying database.
ha-status
Checks the status of the Oracle Clusterware Enterprise Controller resource.
ha-configure-primary
Configures the system as the primary Enterprise Controller in an Oracle Clusterware
framework.
ha-configure-standby
Configures the system as a standby Enterprise Controller in an Oracle Clusterware
framework.
ha-modify-resource
Modifies the Enterprise Controller Clusterware resource attributes. To modify the
Clusterware resource attributes, edit the /var/opt/sun/xvm/ha/
EnterpriseController_HA_clusterware.properties file with the
appropriate changes, and run this command to take effect.
ha-relocate
Switches from the currently active Enterprise Controller node to a different node.
ha-start
Starts the Enterprise Controller Clusterware resource on one of the Clusterware
nodes. Starting the Enterprise Controller Clusterware resource causes the Enterprise
Controller services to start.
ha-stop-no-relocate
Stops the Enterprise Controller Clusterware resource. Stopping the Enterprise
Controller resource causes the currently active node hosting the Enterprise Controller
services to be stopped.
ha-unconfigure-primary
Removes the last node hosting the Enterprise Controller in an Oracle Clusterware
framework.
ha-unconfigure-standby
Removes a Enterprise Controller node from the Oracle Clusterware framework.
rebuild-db-index
Checks the indexes with more than 1 million leaf rows and coalesces the index if the
deleted leaf rows are between 10-15% of the index size or rebuilds the index if the
deleted leaf rows of the index are more than 50% of the total index leaf rows. This
command can only be executed on an Enterprise Controller with a co-located
database and can be used only when the Enterprise Controller is in the maintenance
mode.
start
Enter ecadm start [ -h | --help ] [ -v | --verbose ] [ -c | --
cluster ] [ -t | --temporary ] [ -w | --wait ] [ -l | --logfile
<logfile> ].
-c|--cluster: Cluster environment.
-w| --wait: ecadm does not exit until all services have been started.
-t| --temporary: The state change is made temporary until next reboot.
stop
Enter ecadm stop [ -h | --help ] [ -v | --verbose ] [ -c | --
cluster ] [ -t | --temporary ] [ -w | --wait ] [ -l | --logfile
<logfile> ].
-c|--cluster: Cluster environment.
-w| --wait: ecadm does not exit until all services have been stopped.
-t| --temporary: The state change is made temporary until next reboot.
status
Enter ecadm status [ -h | --help ].
configure
Enter ecadm configure [ -h | --help ] [ -f | --config <config-
file>] [ -p | --proxy ] [ -P | --noproxy ] [ -v | --verbose ]
[ -l | --logfile <logfile> ].
-f| --config <config-file>: Uses the contents of <config-file> to register
the Proxy Controller with My Oracle Support.
-p| --proxy: By default, enables the local Proxy Controller after the Enterprise
Controller is configured.
-P| --noproxy: The local control proxy is not enabled.
A-4 Administration
About Configuring the Enterprise Controller: ecadm
Note:
Ensure that the file permission for the configuration file properties is set to
400 because it contains the Online Account user name and password. The
configuration file must not be accessible to unauthorized users.
unconfigure
Enter ecadm unconfigure [ -h | --help ] [ -v | --verbose ] [ -l |
--logfile <logfile> ].
backup
Enter ecadm backup [ -o | --output <backup-file> ] [ -t | --tag
<tag> ] [ -d | --description <description> ] [ -r | --
remotedb ] [ -T | --tempdir <temp-dir> ] [ -h | --help ] [ -v |
--verbose ] [ -l | --logfile <logfile> ].
-o | --output <backup-file>: Stores the backup archive in tar format in
<backup-file>. Do not specify the path inside the xvm install directories (/opt/
*xvm*). Default: /var/tmp/sat-backup-<date>-<time>.tar
-t | --tag <tag>: Stores the string <tag> as a property of the backup archive
which is displayed by restore operation when referencing the <backup-file>.
-d | --description <description>: Stores the string <description> as a
descriptive property of the backup archive (the description is informational and it is
displayed during restore operation).
-r|--remotedb: If Enterprise Controller uses a remote database, export the schema
to a file on the database server. This option must be specified if the Enterprise
Controller uses a remote database, otherwise data is not exported from the database.
-T | --tempdir <temp-dir>: Uses <temp-dir> instead of the temporary
directory in /var/tmp for intermediate storage needs during the backup. This
temporary directory is required to hold a large quantity of data during the backup
operation.
restore
Enter ecadm restore -i | --input <backup-file> [ -r | --
remotedb ] [ -d | --tempdir <temp-dir> ] [ -h | --help ] [ -v |
--verbose ] [ -l | --logfile <logfile>] .
-i | --input <backup-file>: Restores state data from <backup-file> which
is the archive created by the ecadm backup operation. This parameter is required.
-r|--remotedb: If EC uses a remote database, export the schema to a file on the
database server. This option must be specified if the Enterprise Controller uses a
remote database, otherwise data is not exported from the database.
-d | --tempdir <temp-dir>: Uses <temp-dir> instead of the temporary
directory in /var/tmp for intermediate storage needs during the restore. This
temporary directory is required to hold a large quantity of data during the restore
operation.
verify-db
Enter ecadm verify-db [ -v | --verbose ].
change-db-password
Enter ecadm change-db-password -p| --passwordfile <password-file>
[ -v | --verbose ].
defrag-db
Enter ecadm defrag-db [ -T | --tempdir <temporary directory> ].
-T| --tempdir <temporary directory>: Specifies a different temporary
directory to use for the defragmentation.
maintenance
Enter ecadm maintenance [ -h | --help ] [ -v | --verbose ] [ -c |
--cluster ] [ -r | --reason <reason-file>] [ -t | --temporary ]
[ -w | --wait ] [ -l | --logfile <logfile> ].
-c| --cluster: Cluster environment.
-r| --reason <reason-file>: Record reason for shutdown from message in
<reason-file>.
-w| --wait: ecadm does not exit until all services have been stopped.
-t| --temporary: The state change is made temporary until next reboot.
migrate
Enter ecadm migrate -r | --remoteDBprops <credentials-file> [ -h
| --help ] [ -v | --verbose ] [ -l | --logfile <logfile>].
-r| --remoteDBprops <credentials-file>: Specify the file containing
credentials and url for the target database.
sqlplus
Enter ecadm sqlplus [ -h | --help ] [ -r | --as_read_only_user]
[ -c | --command] [ -f| --filedbprop <db.properties file] [ -p
| --propfile <dbpw.properties file] [ -d | --directory
<directory to run in> ].
-r| --as_read_only_user: Logs into the database as the read only user.
-c| --command: Reads the input stream commands that are passed to sqlplus.
-f| --filedbprop <db.properties file>: Contains the properties to get the
schema name and database URL to set the database properties. The default location of
db.properties file is /var/opt/sun/xvm/db.properties
-p| --propfile <dbpw.properties file>: Contains the passwords for the
schema names in db.properties. The dbpw.properties file is found by default
in /var/opt/sun/xvm/dbpw.properties
-d| --directory <directory to run in>: Uses the directory passed in as the
working directory for the sqlplus session.
ha-status
Enter ecadm ha-status [ -h | --help ] [ -v | --verbose ] [ -d |
--display] [ -l | --logfile <logfile> ].
-d| --as_read_only_user: Displays full High Availability status info.
A-6 Administration
About Configuring the Enterprise Controller: ecadm
ha-configure-primary
Enter ecadm ha-configure-primary [ -h | --help ] [ -v | --
verbose ] [ -l | --logfile <logfile> ].
ha-configure-standby
Enter ecadm ha-configure-standby [ -h | --help ] [ -p | --
credentialsfilename <credentials-file> ] [ -v | --verbose ] [ -
l | --logfile <logfile> ].
-p| --credentialsfilename<credentials-file>: Specifies the file
containing the user name and password for privileged access. The first line of the file
must contain the user name in this format: username=<user>. The second line of
the file must contain the password in this format: password=<password>.
ha-modify-resource
Enter ecadm ha-modify-resource [ -h | --help ] [ -p | --
credentialsfilename <credentials-file> ] [ -v | --verbose ] [ -
l | --logfile <logfile> ].
-p| --credentialsfilename <credentials-file>: Specifies the file
containing the user name and password for privileged access. The first line of the file
must contain the user name in this format: username=<user>. The second line of
the file must contain the password in this format: password=<password>.
ha-relocate
Enter ecadm ha-relocate [ -h | --help ] [ -n | --node <standby
node> ] [ -v | --verbose ] [ -l | --logfile <logfile> ].
-n| --node <standby node>: Relocates to node in <standby node>.
ha-start
Enter ecadm ha-start [ -h | --help ] [ -n | --node <standby
node> ] [ -v | --verbose ] [ -l | --logfile <logfile>].
-n| --node <standby node>: Relocates to node in <standby node>.
ha-stop-no-relocate
Enter ecadm ha-stop-no-relocate [ -h | --help ] [ -v | --
verbose ] [ -l | --logfile <logfile> ].
ha-unconfigure-primary
Enter ecadm ha-unconfigure-primary [ -h | --help ] [ -v | --
verbose ] [ -l | --logfile <logfile> ].
ha-unconfigure-standby
Enter ecadm ha-unconfigure-standby [ -h | --help ] [ -n | --node
<standby node>] [ -v | --verbose ] [ -l | --logfile <logfile>].
-n| --node <standby node>: Unconfigures the standby node when run from
another cluster node. Use this option when the standby node is down.
• Synopsis
Synopsis
Lists the synopsis for the Proxy Controller.
Oracle Solaris OS
/opt/SUNWxvmoc/bin/proxyadm -V
/opt/SUNWxvmoc/bin/proxyadm [ -h | --help ]
/opt/SUNWxvmoc/bin/proxyadm subcommand [ options ]
Linux OS
/opt/sun/xvmoc/bin/proxyadm -V
/opt/sun/xvmoc/bin/proxyadm [ -h | --help ]
/opt/sun/xvmoc/bin/proxyadm subcommand [ options ]
start
Starts the Proxy Controller services running on the host.
stop
Stops the Proxy Controller services running on the host.
A-8 Administration
About Configuring the Proxy Controller: proxyadm
status
Displays the online or offline status of the Proxy Controller services to the standard
output, and sets the exit status to reflect the Proxy Controller service state.
configure
Performs configuration tasks for the Proxy Controller services.
You can set the following classes of configuration information:
• Configuring the type of DHCP server that the Proxy Controller runs and the
parameters for that DHCP server.
unconfigure
Performs the inverse operation of configuring the Proxy Controller. Deregisters and
unconfigures the connection between the Proxy Controller and the Enterprise
Controller it is associated with.
backup
Creates a backup archive of the state data of the Proxy Controller. This command
does not back up any installed software.
restore
Restores the state data of the Proxy Controller from a backup archive.
update
Updates the URL property of a remote Proxy Controller to point to the new IP
address of the Enterprise Controller, if the Enterprise Controller is restored on a new
system.
start
Enter proxyadm start [ -h | --help ] [ -v | --verbose ] [ -w | --
wait ] [ -t | --temporary ] [ -l | --logfile <logfile> ].
-w| --wait: proxyadm does not exit until all the services are started.
-l| --logfile <logfile>: Captures any output from proxyadm in the logfile.
-t| --temporary: The state change is made temporary until next reboot.
stop
Enter proxyadm stop [ -h | --help ] [ -v | --verbose ] [ -w | --
wait ] [ -t | --temporary ] [ -l | --logfile <logfile> ].
-w| --wait: proxyadm does not exit until all the services are stopped.
-l| --logfile <logfile>: Captures any output from proxyadm in the logfile.
-t| --temporary: The state change is made temporary until next reboot.
status
Enter proxyadm status [ -h |--help ].
configure
Enter proxyadm configure [ -h | --help ] [ -v | --verbose ] [ -a
| --proxy-ip ] [ -u | --user <user name> ] [ -p | --
passwordfile ] [ -t | --tokenfile <password-file> ] [ -x | --
proxy <host name>[:<port>] ] [ -U | --proxy-user <proxy user
name> ] [ -P | --proxy-passwordfile <password-file> ] [ -a | --
proxy-ip ].
-s | --satellite <Enterprise Controller>: Specifies the Enterprise
Controller with which to register the Proxy Controller. Requires the -u and -p
options.
-u | --user <user name>: Specifies the Enterprise Controller administrator user
name.
-p| --passwordfile <passwordfile>: Specifies a filename containing the
password for the Enterprise Controller administrator.
(Optional) -t| --tokenfile <autoregistration_tokenfile>: Specifies an
autoregistration token stored in a file. This is used as an alternative for Enterprise
Controller administrator user name and password.
(Optional) -x| --proxy <host name>[:<port>]: If an HTTPS proxy is required
to reach the Enterprise Controller, specify the <host name> for that proxy.
Specifying the IP port is optional. The default proxy port is 8080.
(Optional) -U | --proxy-user <proxy user name>: Use this option if a proxy
requires a user name for authentication.
(Optional) -P | --proxy-passwordfile <password-file>: Uses the password
in <password-file> for proxy authentication.
(Optional) -a | --proxy-ip: Explicitly enter the IP address of the control proxy.
Note:
The password file must be secured to prevent unauthorized users from
examining the file. The file permission must be set to 400.
unconfigure
Enter proxyadm unconfigure [ -h | --help ] [ -k| --keep ].
-k|--keep: Keeps the local Proxy Controller database.
backup
Enter proxyadm backup [ -o | --output <backup-file> ] [ -t | --
tag <tag> ] [ -d | --description <description> ] [ -T | --
tempdir <temp-dir> ] [ -h | --help ] [ -v | --verbose ] [ -l |
--logfile <logfile> ].
-o | --output <backup-file>: Stores the backup archive in tar format in
<backup-file>. Do not specify the path inside the xvm install directories (/opt/
*xvm*). Default: /var/tmp/proxy-backup-<date>-<time>.tar
-t | --tag <tag>: Stores the string <tag> as a property of the backup archive
which is displayed by restore operation when referencing the <backup-file>.
A-10 Administration
About Configuring the Agent Controller: agentadm
restore
Enter proxyadm restore [-i | --input <backup-file>] [ -l | --
logfile <logfile>] [ -T | --tempdir <temp-dir> ] [ -v | --
verbose ].
-i | --input <backup-file>: Restores state data from <backup-file> which
is the archive created by the proxy backup operation. This parameter is required.
-T | --tempdir<temp-dir>: Uses <temp-dir> instead of the temporary
directory in /var/tmp for intermediate storage needs during the restore. This
temporary directory is required to hold a large quantity of data during the restore
operation.
update
Enter proxyadm update -s|--satellite-ip <ip address of EC>
-s|--satellite-ip <ip address of EC>: Uses the IP address of the
Enterprise Controller to connect the remote Proxy Controller to the Enterprise
Controller.
• Usage
Linux OS
/opt/sun/xvmoc/bin/agentadm -V
/opt/sun/xvmoc/bin/agentadm [ -h | --help ]
/opt/sun/xvmoc/bin/agentadm subcommand [ options ]
Usage
agentadm [-V | --version ] [ -K | --property-keys <file>] [ -q |
--quiet ] [ -v | --verbose ] [ -f | --force ] [ -n | --
norefresh ] [ -o | --output-file ] [ -h | --help]
agentadm subcommand [ options ]
start
Starts the Agent Controller services running on the host.
stop
Stops the Agent Controller services running on the host.
A-12 Administration
About Configuring the Agent Controller: agentadm
status
Displays the online or offline status of the Agent Controller services to the standard
output.
configure
Performs configuration tasks for the Agent Controller services.
unconfigure
Performs the inverse operation of configuring the Agent Controller.
usage
Equivalent to [ -h | --help ]
start
Enter agentadm start.
stop
Enter agentadm stop.
status
Enter agentadm status [ -h |--help ]
configure
The configuration step consists of:
unconfigure
Enter agentadm unconfigure
A-14 Administration
Index
Index-1
database (continued) H
changing the customer-managed database
location, 4-8 harvester script
Installing and configuring a customer-managed copying content to the Enterprise Controller, 2-12
database, 4-3, 4-5 downloading, 2-9
migrating to a customer-managed database, 4-7 identify a harvester system, 2-8
upgrading a customer-managed database, 4-10 using, 2-9
verifying, 4-10 high availability
database management accessing the cluster management UI, 10-15
roles, 4-2 checking the cluster status, 10-14
delete access points, 10-19 converting to a single Enterprise Controller, 10-11
deleting a directory server, 8-7 converting to high availability, 10-6
deleting a notification profile, 8-26 managing network resources, 10-12
deleting users, 8-4 manually relocating, 10-12
DHCP configuration, 2-24 removing a standby Enterprise Controller, 10-14
directory servers roles, 10-4
adding, 8-4 shutting down an Enterprise Controller without
deleting, 8-7 relocating, 10-15
disabling Auto Service Requests, 7-7 HTTP Proxy
disabling networks for a Proxy Controller, 2-22 changing, 2-33
Disconnected Mode, 2-7
Discovery I
assets, 3-5
downloading the OCDoctor, 6-2 Infrastructure
roles, 2-2
installing and configuring a 12CDB customer-
E managed database, 4-5
ecadm command, A-1 installing and configuring a customer-managed
editing authentications, 5-5 database, 4-3
editing the energy cost, 5-6
enabling Auto Service Requests, 7-7 L
enabling networks for a Proxy Controller, 2-22
energy cost logs, 5-4
editing, 5-6
Enterprise Controller M
backing up, 9-3
checking the status, 2-18 managing HA network resources, 10-12
ecadm command, A-1 managing Proxy Controller networks, 2-21
high availability, 10-5 managing roles, 8-23
registering, 2-16 manually relocating the Enterprise Controller, 10-12
restoring, 9-5 migrating to a customer-managed database, 4-7
starting, 2-18
stopping, 2-19 N
uninstalling, 12-7
viewing configuration, 2-6 networks
WAN boot configuration, 2-30 associating with a Proxy Controller, 2-22
external DHCP server configuration, 2-27 enable or disable, 2-22
notification profiles
configuring, 8-24
F deleting, 8-26
Find Assets, 3-5
O
G OCDoctor
downloading, 6-2
general administration
preinstallation checks, 6-3
roles, 5-2
roles, 6-1
Index-2
OCDoctor (continued) Roles (continued)
running a self-diagnosis, 2-17 database management, 4-2
troubleshooting and tuning, 6-4 general administration, 5-2
updating, 6-4 High Availability, 10-4
Oracle Configuration Manager infrastructure, 2-2
configuring, 2-15 OCDoctor, 6-1
uninstall and unconfigure, 12-1
P upgrade, 11-1
user and role management, 8-2
performing preinstallation checks, 6-3 running a self-diagnosis, 2-17
performing troubleshooting and tuning, 6-4
permissions
granted by roles, 8-8 S
required for tasks, 8-18 self-diagnosis, 2-17
preinstallation checks, 6-3 service status, 5-3
product aliases, 5-5 Service tags, 3-5
providing ASR contact information, 7-5 shutting down an Enterprise Controller without
Proxy Controllers relocating, 10-15
associate networks, 2-22 starting a Proxy Controller, 2-19
automatic failover, 10-15 starting the Enterprise Controller, 2-18
checking the status, 2-19 stopping a Proxy Controller, 2-20
configuring to use a strong cipher suite stopping the Enterprise Controller, 2-19
configuration, 2-23 strong cipher suite configuration, 2-23
DHCP configuration, 2-24 subnet configuration, 2-26
enable or disable networks, 2-22 synchronizing remote users and roles, 8-6
high availability, 10-15
maintenance mode, 2-20
manage networks, 2-21 T
proxyadm command, A-8 Tags
putting in maintenance mode, 2-20 service, 3-5
removing from maintenance mode, 2-21 troubleshooting with the OCDoctor, 6-4
starting, 2-19 tuning with the OCDoctor, 6-4
stopping, 2-20
subnet configuration, 2-26
uninstalling, 12-4
U
viewing, 2-6 Uninstall and Unconfigure
proxyadm command, A-8 roles, 12-1
putting a Proxy Controller in maintenance mode, 2-20 uninstalling
Agent Controllers, 12-2
Enterprise Controllers, 12-7
R
Proxy Controllers, 12-4
registering the Enterprise Controller, 2-16 updating the OCDoctor, 6-4
relocating the Enterprise Controller, 10-12 Upgrade
removing a Proxy Controller from maintenance mode, roles, 11-1
2-21 upgrading
removing a standby Enterprise Controller, 10-14 planning the upgrade, 11-5
replicating a user, 8-24 upgrading a customer-managed database, 4-10
roles User and role management
copying to a new user, 8-24 roles, 8-2
managing, 8-23 users
permissions granted by roles, 8-8 adding, 8-3
tasks available based on permissions, 8-18 configuring notification profiles, 8-24
Roles deleting, 8-4
Auto Service Request, 7-4 deleting notification profiles, 8-26
Backup and Recovery, 9-2 managing user roles, 8-23
configuration management, 3-2 replicating, 8-24
Index-3
users (continued) viewing logs, 5-4
viewing role details, 8-4 viewing Proxy Controllers, 2-6
using connection modes, 2-7 viewing service status, 5-3
viewing the Enterprise Controller configuration, 2-6
V viewing user role details, 8-4
Index-4