341322.1
:
How to change the hostname of an Applications Tier using AutoConfig
338003.1
:
How to change the hostname and or port of the Database Tier using AutoConfig
341322.1:How to change the hostname of an Applications Tier using AutoConfig338003.1:How to change the hostname and or port of the Database Tier using AutoConfig
#su– appl01
#./stopAPP.sh
修改$CONTEXT_FILE的内容s_webentryhost和s_login_page
例如:
<webentryhost oa_var="s_webentryhost">ebstest</webentryhost>
<login_page oa_var="s_login_page">
http://ebstest.com:8000/OA_HTML/AppsLogin
</login_page>
3.1 修改IP地址、子网掩码和网关
vi /etc/sysconfig/network-scripts/ifcfg-eth0
例如:
IPADDR=10.86.2.100
NETMASK=255.255.254.0
GATEWAY=10.86.2.1
3.2 修改hosts文件
vi etc/hosts
例如:10.86.2.100 ebs02.erp.com ebs02
#su– appl01
# cd$ADMIN_SCRIPTS_HOME
# adautocfg.sh
#su– appl01
#./startAPP.sh