instance_name=<db_name>
host_name=<full_hostname>
dbhome_path=/opt/oracle/product/12.1/dbhome_1
instance_resname=${instance_name}_${host_name}
user_name=DBSNMP
user_role=Normal
listener_name=LISTENER_${instance_name}
listener_resname=LISTENER_${instance_name}_${host_name}
listener_port=1521
db_properties="SID:${instance_name}"
db_properties="${db_properties};Port:${listener_port}"
db_properties="${db_properties};OracleHome:${dbhome_path}"
db_properties="${db_properties};MachineName:${host_name}"
db_credentials="UserName:${user_name};password:<mot de passe DBSNMP>;Role:${user_role}"
lsnr_properties="LsnrName:${listener_name}"
lsnr_properties="${lsnr_properties};ListenerOraDir:${dbhome_path}/network/admin"
lsnr_properties="${lsnr_properties};Port:${listener_port}"
lsnr_properties="${lsnr_properties};OracleHome:${dbhome_path}"
lsnr_properties="${lsnr_properties};Machine:${host_name}"
Laisser un commentaire