0% found this document useful (0 votes)
545 views

Oracle Enterprise Manager 12c Hands On Lab Cheat Sheet

This document provides instructions for accessing and using an Oracle Enterprise Manager 12c virtual machine environment for hands-on labs. It outlines the client machine requirements, how to access the EM 12c environment by modifying the hosts file and browsing to the URL, and describes starting required lab targets using scripts. It also provides details on credentials for logging into the Linux VM via SSH or VNC, an overview of common scripts, and scripts for administering individual EM components.

Uploaded by

Murali Palepu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
545 views

Oracle Enterprise Manager 12c Hands On Lab Cheat Sheet

This document provides instructions for accessing and using an Oracle Enterprise Manager 12c virtual machine environment for hands-on labs. It outlines the client machine requirements, how to access the EM 12c environment by modifying the hosts file and browsing to the URL, and describes starting required lab targets using scripts. It also provides details on credentials for logging into the Linux VM via SSH or VNC, an overview of common scripts, and scripts for administering individual EM components.

Uploaded by

Murali Palepu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

ORACLE ENTERPRISE MANAGER 12c

Grand Tour VM Cheat sheet

OracleEnterpriseManager12cHandsonLabCheatSheet
A. ClientMachineRequirements

BrowseranyoneofthefollowingFirefoxversion8,7,5,4,3.6orInternetExplorerversion9.x,8,7
AdobeFlashPlayer10
VNCviewer(anyversion)
AdobeAcrobatReader(latestversion)

B. AccessingyourexclusiveEnterpriseManager12cLabEnvironment
1. InyourWindowslaptop,addthefollowingtoC:\WINDOWS\system32\drivers\etc\hostsfile
<EM12cVMIPaddress>

em12.oracle.com

em12

TipVerifythatyougetresponse,whenyourunpingem12commandfromWindowsStartmenuRun.
2. FromFirefoxbrowsergotoURLhttp://em12.oracle.com:7000/em
Tip:YoucanbookmarktheaboveURL(asEM12c)foraccessingEMlater.

Note:AboveinstructionswillworkonWindowsXPOSonly.
Windows7usersMakesureyouopenNotepadapplicationviarightclickandselectRunasAdministrator.

C. Startingthelabenvironment
BydefaultEnterpriseManagershouldberunningonVM.Ifnot,contactlabinstructor.Dependingon
theexercisesyouintendtodo,youwillstartthelabtargetsbyrunningthefollowingscripts.
Note:Thesescriptscanalsoberunbylabadministratorinadvance.Pleasecheckwiththeinstructor.
Scriptstoberun
Lab
(availableunder/home/oracle/scripts/)
LifecycleManagement
noscriptsrequired.
Frameworkand
DatabaseManagement
MiddlewareManagement

1db_lab_start.sh
2mw_lab_start.sh
Note:Middlewarediagnosticsrunseveryhouranddiagnostics
findingscantakeuptoanhourtoappearoncharts.Therefore
givenlabstartscriptshouldberuninadvanceaccordingly.

D. AccessingtheLinuxterminalofEM12cVMusingsshorVNC

ForrunningthescriptyoucanconnecttotheLinuxVMusingeithersshorVNC.
Usingssh
IntheWindowscommandprompttypesshem12
ClickOKonthewarningdialog.
Loginusingoracle/oracle12
UsingVNC
LaunchVNCviewer(RealVNC,UltraVNC,etc)
Providefollowingvalues
o Servername
:
em12.oracle.com:1
o VNCPassword
:
oracle12
o OSpassword
:
oracle12
Page1of2

ORACLE ENTERPRISE MANAGER 12c

Grand Tour VM Cheat sheet

RightclickontheLinuxdesktopandselectOpenTerminal.

E. Credentials
Intheexercises,alloftherequiredreferencesareprovided.However,allofthecredentialsaredetailedbelow
foryourreference.

User
Password
NamedCredentialsInEM
EnterpriseManagerUsers
oracle
oracle12
NA
HOSTORACLE,
HostUsers
oracle,root
oracle12
HOSTROOT
Database(test)
sys,system,dbsnmp
oracle12
DBTESTSYS
Database(prod)
sys,system,dbsnmp
oracle12
DBPRODSYS

F. Scripts
Overviewofthemostcommonlyusedscripts.

ScriptName
Purpose
StartsEMandrediscoversMW
0start_env_first_time.sh targets.Doesntstartany
targets.
StartsEM.Doesntstartany
targets.
Starts/Stopsprodandtest
1start_db_lab.sh/
databases+listenerandDB
3stop_db_lab.sh
load
0start_env.sh

2mw_lab_start.sh/ Starts/StopstestDB,JVMD
4mw_lab_stop.sh
Mgr,Medrectargets
5stop_all.sh

Stopstheentireenvironment

Comments
Takesabout15minutestoexecute.
ToberunbylabadministratorwhenVM
isbootedforthefirsttimeoranytimeIP
addresschanges.
AnytimeEMneedstoberestarted.To
berunbystudents.
Toberunbystudentsbeforestartingthe
DatabaseManagementexercises.
Toberunbylabadministratoror
studentsatleastanhourbeforestarting
theMiddlewareManagementexercises.
Toberunbylabadministratoratthe
endoflab.

G. Scriptsforadministeringindividualcomponents.
(Normallythesescriptswillnotberequiredduringthelab.Pleaseuseonlyifaskedbytheinstructor.)
Target/component
Environmentscript
Start
Stop
EMRepository
REP_ENV
rep_start.sh
rep_stop.sh
EMOMS
OMS_ENV
oms_start.sh
oms_stop.sh
EMAgent
AGENT_ENV
agent_start.sh
agent_stop.sh
Databaseprod
PROD_DB_ENV
prod_start.sh
prod_stop.sh
Databasetest
TEST_DB_ENV
test_start.sh
test_stop.sh
MiddlewareTargets
NA
medrec_start.sh
medrec_stop.sh

Sourcetheenvironmentscriptforsettingtheenvironmentvariablestorunoneoffcommands,like
emctl,sqlplusetc.
start/stopscriptscanberundirectlywithoutsourcingenvironmentscripts.

Page2of2

You might also like