OAM配置代理手冊
- 
创建webgate与ohs共享实例,copy文件到ohs实例文件夹。 1)进入webgage部署工具文件夹 Cd /%webgate_home%/webgate/ohs/tools/deployWebGate 2)运行部署命令: ./deployWebGateInstance.sh –w /%wt_home%/ /instances/instance1/config/OHS/ohs1–oh /%webgate_home% -w 參数后跟的是 OHS实例的文件夹路径 -oh 參数后跟的是WebGate根文件夹。 
- 
Webgate配置域登记。使用EditHttpdConf组件拷贝webate配置模板到实例文件夹下。并改动http.conf文件。 1)设置PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/%wt_home%/lib 2)使用EditHttpdConf配置 cd /%webgate_home%/webgate/ohs/tools/setup/InstallTools ./EditHttpConf –w /%wt_home%/instances/instance1/config/OHS/ohs1-oh /%webgate_home% -owebgate.conf EditHttpConf命令參数: -w<WebGate_instancedir> [-oh <WebGate Oracle Home>] [-o<output_file> ] 完毕后能够查看http.conf文件里会插入一行: 
- 
配置OAM代理 1)改动配置文件: /%OAM_HOME%/oam/server/rreg/input/ OAM11GRequest.xml 2)改动oamreg.sh权限 Chmod 777 /%OAM_HOME%/oam/server/rreg/bin/oamreg.sh 3)保证weblogic是启动状态,运行下面命令 exportJAVA_HOME=/home/oracle/jdk1.6.0_31 Cd /%OAM_HOME%/oam/server/rreg ./bin/oamreg.sh inband input/OAM11GRequest.xml 4)输入weblogicusername密码 5)下面两个提示都输入n “ Do you want to enter a webgatepassword ?(y/n)” “Do you want to import an URIs file?(y/n)” 6)完毕后会生成两个文件 /%OAM_HOME%/oam/server/rreg/output/RREG_OHSOAM11G 7)把生成的两个配置文件复制到webgate实例文件夹中 cd /%OAM_HOME%/oam/server/rreg/output/RREG_OHSOAM11G cp ObAccessClient.xml cwallet.sso /%WT_HOME%/instances/instance1/config/OHS/ohs1/webgate/config 
- 
重新启动服务 /home/oracle/Oracle/Middleware/Oracle_WT1/instances/instance_wt/bin/opmnctlstartall /home/oracle/Oracle/Middleware/user_projects/domains/oam_domain/bin/startWebLogic.sh /home/oracle/Oracle/Middleware/user_projects/domains/oam_domain/bin/startManagedWebLogic.shoam_server1 http://192.168.56.102:7010 
- 
在浏览器訪问 Http://192.168.56.102:7777会自己主动跳转到OAM登录界面。实现了OAM的訪问控制。 
 
                     
                    
                 
                    
                 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号