echo "update pm4h_ad.dbinfo set dbserverip = '$p_oracle';"|sqlplus "/as sysdba" >/dev/null
cat $PMP_ROOT/home/etc/profile.pmp |awk '{if(/ORACLE_IP=/){print "ORACLE_IP='$p_profile'"}else{print}}' > $PMP_ROOT/home/etc/profile.pmp.tmp
cat $PMP_ROOT/home/etc/profile.pmp |awk '{if(/ORACLE_IP=/){print "ORACLE_IP='$p_profile'"}else{print}}' > $PMP_ROOT/home/etc/profile.pmp.tmp