Friday, July 1, 2011
Sunday, May 22, 2011
Active Directory Notes
I was working on integration on Active Directory with Oracle UCM 11g and I have the following notes that may be helpful:
- Change DefaultAuthenticator's Control Flag from REQUIRED to SUFFICIENT
- We are not using Oracle UCM LDAP Providers for integration with Active Directory anymore
- Users mapping between Oracle UCM and Weblogic embedded LDAP is done using JpsUserProvider provider
- In Oracle UCM 11g, you can give default roles and accounts for authenticated users, to do that from Oracle UCM Providers page edit a provider called JpsUserProvider and in Default Network Roles field add the default roles separated with commas, for default accounts use Default Network Accounts field
- Any weblogic ldap user assigned to administrators group, he will have Oracle UCM admin role
- Change DefaultAuthenticator's Control Flag from REQUIRED to SUFFICIENT
- We are not using Oracle UCM LDAP Providers for integration with Active Directory anymore
- Users mapping between Oracle UCM and Weblogic embedded LDAP is done using JpsUserProvider provider
- In Oracle UCM 11g, you can give default roles and accounts for authenticated users, to do that from Oracle UCM Providers page edit a provider called JpsUserProvider and in Default Network Roles field add the default roles separated with commas, for default accounts use Default Network Accounts field
- Any weblogic ldap user assigned to administrators group, he will have Oracle UCM admin role
Saturday, April 23, 2011
Starting Weblogic Admin Server and Node Manager as background service
The following steps explains how to start Weblogic Node Manager and Admin Server automatically with Linux OS (Redhat in my case):
- Create boot.properties file under
/user_projects/domains/my_domain/servers/AdminServer/security
- Add to the file the following entries
username=weblogic
password=welcome1
- Create a file called wlsndm under
/etc/init.d
- Add to the file the following
#!/bin/bash
#
# wlsndm startup script for node manager
#
# chkconfig: - 74 15
# description: weblogic
# processname: WLSNDM
# Source function library
. /etc/rc.d/init.d/functions
start() {
echo -n $"Starting $prog: "
nohup su - oracle -c/wlserver_10.3/server/bin/startNodeManager.sh > /wlserver_10.3/server/bin/wlsnd.log &
echo "OK"
}
case "$1" in
start)
start
;;
*)
echo $"Usage: $prog {start}"
exit 1
esac
exit 1
- Create a file called wlsadmin under
/etc/init.d
- Add to the file the following
#!/bin/bash
#
# wlsadmin startup script for node manager
#
# chkconfig: - 75 15
# description: weblogic
# processname: WLSADMIN
# Source function library
. /etc/rc.d/init.d/functions
start() {
echo -n $"Starting $prog: "
nohup su - oracle -c/user_projects/domains/my_domain/bin/startWebLogic.sh > /user_projects/domains/my_domain/servers/AdminServer/logs/wlsa.log &
echo "OK"
}
case "$1" in
start)
start
;;
*)
echo $"Usage: $prog {start}"
exit 1
esac
exit 1
- Create the following symbolic links under /etc/rc5.d/
ln -s /etc/init.d/wlsndm S74NodeManager
ln -s /etc/init.d/wlsadmin S75Weblogic
- then Create background services
chkconfig --add wlsadmin
chkconfig --add wlsndm
- Activate the created background services
chkconfig wlsadmin on
chkconfig wlsndm on
Now we have finished creation of background service, and you can start UCM or any other Managed Server from Admin Server Console. Using the same approach you can start UCM automatically.
- Create boot.properties file under
- Add to the file the following entries
username=weblogic
password=welcome1
- Create a file called wlsndm under
/etc/init.d
- Add to the file the following
#!/bin/bash
#
# wlsndm startup script for node manager
#
# chkconfig: - 74 15
# description: weblogic
# processname: WLSNDM
# Source function library
. /etc/rc.d/init.d/functions
start() {
echo -n $"Starting $prog: "
nohup su - oracle -c
echo "OK"
}
case "$1" in
start)
start
;;
*)
echo $"Usage: $prog {start}"
exit 1
esac
exit 1
- Create a file called wlsadmin under
/etc/init.d
- Add to the file the following
#!/bin/bash
#
# wlsadmin startup script for node manager
#
# chkconfig: - 75 15
# description: weblogic
# processname: WLSADMIN
# Source function library
. /etc/rc.d/init.d/functions
start() {
echo -n $"Starting $prog: "
nohup su - oracle -c
echo "OK"
}
case "$1" in
start)
start
;;
*)
echo $"Usage: $prog {start}"
exit 1
esac
exit 1
- Create the following symbolic links under /etc/rc5.d/
ln -s /etc/init.d/wlsndm S74NodeManager
ln -s /etc/init.d/wlsadmin S75Weblogic
- then Create background services
chkconfig --add wlsadmin
chkconfig --add wlsndm
- Activate the created background services
chkconfig wlsadmin on
chkconfig wlsndm on
Now we have finished creation of background service, and you can start UCM or any other Managed Server from Admin Server Console. Using the same approach you can start UCM automatically.
Using UCM11g Logout With Site Studio
As most of us remember in Oracle UCM 10g, logout was not there by default. In UCM 11g Oracle has added logout to be there by default.
Also it is noticed there is new Service (LOGOUT) added to UCM 11g for logout and that service make use of redirect template.
What if you want to secure parts of a website designed by Site Studio using Oracle UCM security (may be it is intranet and you want to add security to HR section). Definitely UCM security will be used on a section and/or a layout, however you will need to add logout, and you want logout to redirect you to some page like home page or login screen.
To do that create your logout link like below
<a style="text-decoration:none " href='/cs/idcplg?IdcService=LOGOUT&RedirectUrl=%2Fmywebsite%2Findex.htm'>Logout</a>
Also it is noticed there is new Service (LOGOUT) added to UCM 11g for logout and that service make use of redirect template.
What if you want to secure parts of a website designed by Site Studio using Oracle UCM security (may be it is intranet and you want to add security to HR section). Definitely UCM security will be used on a section and/or a layout, however you will need to add logout, and you want logout to redirect you to some page like home page or login screen.
To do that create your logout link like below
<a style="text-decoration:none " href='/cs/idcplg?IdcService=LOGOUT&RedirectUrl=%2Fmywebsite%2Findex.htm'>Logout</a>
Tuesday, March 8, 2011
Removing Subscribe and Unsubscribe from DOC_INFO template
Someone called Anonymous :D has commented from days on one of my posts asking me how to remove subscribe and unsubscribe menu items.
To do that will need to modify a resource include called docinfo_menus_setup.
Simply follow these steps if you are not familiar with Oracle UCM ComponentsWizard utility
- Open ComponentWizard utility
- Add new component, choose a name you want
- Add new Resource of type HTML Include/String
- Inside in the new resource file, select an existing resource include called docinfo_menus_setup
- Do your modifications on the code inside the chosen include, enable the component, and restart the server.
I hope it is helpful for you Anonymous
.
To do that will need to modify a resource include called docinfo_menus_setup.
Simply follow these steps if you are not familiar with Oracle UCM ComponentsWizard utility
- Open ComponentWizard utility
- Add new component, choose a name you want
- Add new Resource of type HTML Include/String
- Inside in the new resource file, select an existing resource include called docinfo_menus_setup
- Do your modifications on the code inside the chosen include, enable the component, and restart the server.
I hope it is helpful for you Anonymous
.
Saturday, February 12, 2011
Sunday, February 6, 2011
Oracle UCM Benchmarking
Oracle says "The 11g version of UCM was enhanced to enable exceptional performance even when dealing with extremely large volumes of content, including ingestion rates of over one hundred million content items per day."
I have found a white paper from Oracle which can give us a sample benchmark for Oracle UCM, which is helpful for us in expecting UCM performance:
Those results are based on a physical machine with specification 2 CPU 2.33 GHz Xeon®, 16 GB RAM, and as we know processing power is matters and affecting both of performance and license cost.
I have found a white paper from Oracle which can give us a sample benchmark for Oracle UCM, which is helpful for us in expecting UCM performance:
Those results are based on a physical machine with specification 2 CPU 2.33 GHz Xeon®, 16 GB RAM, and as we know processing power is matters and affecting both of performance and license cost.
Labels:
11g,
benchmark,
ECM,
Middleware,
Oracle,
Performance,
UCM
Subscribe to:
Posts (Atom)

