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