Following are steps to validate/check if “weblogic” domain user password is correct in OVM Manager (OVMM).
1. Change to directory to bin directory inside OVM Manager Domain directory. Use below commands depending on OVM Manager version you are using.
OVM 3.2.X
cd /u01/app/oracle/ovm-manager-3/machine1/base_adf_domain/bin
OVM 3.3.X, 3.4.X & later versions
cd /u01/app/oracle/ovm-manager-3/domains/ovm_domain/bin
2. Set WebLogic environment variable as follows
. ./setDomainEnv.sh
3. Run below java weblogic.Admin command. Replace password in below command will the password of “weblogic” OVMM domain user.
java weblogic.Admin -url localhost:7001 -username weblogic -password <password> GETSTATE
If you get the Server status as RUNNING then the password is correct
# java weblogic.Admin -url localhost:7001 -username weblogic -password welcome1 GETSTATE
Current state of "AdminServer" : RUNNING
If you get authentication errors when running above command, then that means that the “weblogic” user password is incorrect.
Alternate Method
Instead of above steps alternatively below command can be used to check/validate “weblogic domain user password.
OVM 3.2.X
source /u01/app/oracle/ovm-manager-3/machine1/base_adf_domain/bin/setDomainEnv.sh && java weblogic.Admin -url localhost:7001 -username weblogic -password welcome1 GETSTATE
OVM 3.3.X, 3.4.X & later versions
source /u01/app/oracle/ovm-manager-3/domains/ovm_domain/bin/setDomainEnv.sh && java weblogic.Admin -url localhost:7001 -username weblogic -password welcome1 GETSTAT
Products to which Article Applies
Oracle VM Manager - All versions.
Article Author: Tarun Boyella
No comments:
Post a Comment