Windows 防火墙放行入站:3872 (Agent)、1521 (Oracle 监听)
EMCC 放行出站:4903/4900(Agent 注册上传端口)
#这里均将防火墙关闭
3、Windows 库解锁 dbsnmp(Oracle 管理员 CMD,登录 sqlplus)
sqlplus / as sysdba
SELECT username,account_status,lock_date,expiry_date,profile FROM dba_users WHERE username='DBSNMP';
SELECT resource_name,limit FROM dba_profiles WHERE profile='MONITORING_PROFILE' AND resource_name='PASSWORD_LIFE_TIME';
SELECT resource_name,limit FROM dba_profiles WHERE profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
####################################################################
## copyright (c) 1999, 2012 Oracle. All rights reserved. ##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## identifies the variable type. ##
## ##
## Please specify the values in the following format: ##
## ##
## Type Example ##
## String "Sample Value" ##
## Boolean True or False ##
## Number 1000 ##
## StringList {"String value 1","String Value 2"} ##
## ##
## The values that are given as <Value Required> need to be ##
## specified for a silent installation to be successful. ##
## ##
## ##
## This response file is generated by Oracle Software ##
## Packager. ##
###################################################################
#-------------------------------------------------------------------------------
#OMS_HOST:<String> OMS host info required to connect to OMS
#EM_UPLOAD_PORT:<String> OMS port info required to connect to OMS
#AGENT_REGISTRATION_PASSWORD:<String> Agent Registration Password needed to
# establish a secure connection to the OMS.
#b_startAgent:<boolean> Agent will not be started after configuration if the value specified is false.
#AGENT_BASE_DIR=<String> Base directory of agent.
#AGENT_INSTANCE_HOME:<String> Agent instance home is the location of agent state directory.
#AGENT_PORT:<String> Agent port on which the agent process should be started.
#ORACLE_HOSTNAME:<String> Fully qualified domain name of host where is the agent is deployed.
#s_agentHomeName:<String>Customized Oracle home name for the agent home. Example: s_agentHomeName="agent12gR1"
#--------------------------------------------------------------------------------
#Following are mandatory parameters
#--------------------------------------------------------------------------------
OMS_HOST=omsserver.xnyy.com
EM_UPLOAD_PORT=4903
AGENT_REGISTRATION_PASSWORD=oracle_4U
#--------------------------------------------------------------------------------
#Following are optional parameters
#--------------------------------------------------------------------------------
b_startAgent=true
AGENT_BASE_DIR=E:\agent
#AGENT_INSTANCE_HOME=<Value Unspecified>
AGENT_PORT=3872
ORACLE_HOSTNAME=WIN-BGOIJK6HFQU
s_agentHomeName="agent13c"
#-------------------------------------------------------------------------------
#s_agentSrvcName:<String> Sets the agent Service Name and this variable can be
# used to overrite the agent service name calculated by the install. This is
# required for only Windows.
# Example:
# s_agentSrvcName = "GridAgent" ; User specified value
#-------------------------------------------------------------------------------
s_agentSrvcName="OracleAgent13c"
####################################################################################
#Please Don't change the values of these variables
####################################################################################
#-------------------------------------------------------------------------------
#EM_INSTALL_TYPE:<STRING> install type
#-------------------------------------------------------------------------------
EM_INSTALL_TYPE="AGENT"