I'm trying to configure Weblogic WebCenter 12C Portal Domain via Ansible on CentOS 7, but still can't find the way how to do it. So far I could install weblogic and weblogic portal with DB via Ansible. But I don't know how to configure Webcenter Portal. /opt/app/middleware/oracle_common/common/bin/config.sh Have anyone already done this step via Ansible? If yes, please share with me this info if you have. I also tried to find any related info on google, but no luck, so I post my question here. Thanks in advance.
Asked
Active
Viewed 177 times
1 Answers
0
First, are you creating a WebLogic Portal env or a WebCenter Portal env ? Once WebLogic Portal or WebCenter is installed with Ansible you have to create your domain with a WLST script.

Emmanuel Collin
- 2,556
- 2
- 10
- 17
-
Thanks for the respond Collin, I'm creating a WebCenter Portal env using Ansible. I also created domain via Ansible. My next step is configuration of the WebCenter Portal Domain, where I'm stuck. Please advice. Thanks. – Alish May 15 '19 at 15:12
-
You say "I also created domain via Ansible. My next step is configuration of the WebCenter Portal Domain" What difference do you make between these 2 domains ? – Emmanuel Collin May 16 '19 at 09:44
-
Yes that's correct, There is no difference, If you previously installed Weblogic 12C and Webcenter Portal12C you should know what I mean, I mean I need to configure Webcenter Portal 12C, domain is already installed I know how to do it manually, the question is how to do it using ANSIBLE (configure Webcenter Portal 12C) /opt/app/middleware/oracle_common/common/bin/config.sh – Alish May 16 '19 at 13:26
-
Thanks, but WLST - is a WebLogic Scripting Tool. It's not giving me what I asked. I need to know how to run Webcenter configuration file via Ansible. I have a beginning of it, but I'm looking who has already done it 100%. – Alish May 16 '19 at 14:22
-
What do you mean by Wencenter configuration file ? – Emmanuel Collin May 17 '19 at 07:13
-
I mean when you run this shell config file /opt/app/middleware/oracle_common/common/bin/config.sh from the command line it will open a pop up X11 window check this link http://prasaddomala.com/oracle-webcenter-portal-12c-12-2-1-installation-configuration and find this part: WebCenter Portal Domain Configuration, you will see what I mean, thanks! – Alish May 17 '19 at 14:32
-
so i confirm you want to create a domain. config.sh is an interactive and graphical tool. If you want to automate your domain creation you have to use WLST and create a script that will create your domain. – Emmanuel Collin May 18 '19 at 11:12
-
Oh, I didn't realize I can use WLST in this case. Because I want to do it not manually, Ansible should do it automatically. But I have never use WLST, so If you know how to do, you are welcome to help, thank you Emmanuel. – Alish May 20 '19 at 13:48
-
You can start with the configToScript() WLST function. It will create a wlst script from an existning domain. Can be a good starting point to learn. – Emmanuel Collin May 20 '19 at 14:51
-
Yeah, thanks, I found something like this https://www.techpaste.com/2012/05/offline-wlst-script-create-admin-server-managed-server-machine-cluster-weblogic and https://www.youtube.com/watch?v=9iUMR2SEvRw – Alish May 20 '19 at 15:16