Let's look at a few things you'll need to do after installing Beehive, but before you start migrating users...
If you haven't installed Beehive yet, check out my last post.
OK, here we go. According the the Oracle® Beehive Installation Guide - Post Installation Procedures, here's what we have to do:
- Using Oracle Beehive Command-Line Utility
- Configuring Oracle Beehive to Listen on Ports Less Than 1024
- Opening Ports Required by Oracle Beehive for FTP
- Configuring DMZ Instances
- Integrating and Synchronizing LDAP with Oracle Beehive
- Configuring SSL
- Configuring TLS
- Configuring SSL for LDAP Integration
- Enabling AJPS
- Configuring Oracle Beehive E-mail
- Configuring Oracle Secure Enterprise Search
- Configuring Oracle Single Sign-On
- Configuring External Oracle BPEL Process Manager with Oracle Beehive
- Installing Oracle Beehive Integration for Outlook
- Configuring Oracle Beehive Integration for Zimbra
- Cloning Oracle Beehive
- Performing Oracle Beehive Administration Console Post-Installation Procedures
Seems like a big list! Let's do a few this time and see how we go.
Using Oracle Beehive Command-Line Utility, oh, easy. beectl is the fella. Here's the link - Get used to the syntax and use of beectl. Everything becomes a lot easier if you know how to use it, scripting, admin, start/stop etc. etc.
Configuring Oracle Beehive to Listen on Ports Less Than 1024 - According to the Administrators notes, specifically the section "Modifying Oracle Beehive Ports using Privileged Port Numbers" (that was obvious wasn't it...) here's what we need to do.
- Change permissions on the .apachectl executable. (if changing Apache)
- Change permissions on the hasbind executable.
- Create /etc/cap.ora file
- Add the username and ports to the cap.ora file
- viola! hey presto, privileged ports allowed, now go configure it.
Here's what I did:
[orabee@radium ~]$ ls -l $ORACLE_HOME/Apache/Apache/bin/.apachectl $ORACLE_HOME/beehive/bin/hasbind
-rwx------ 1 orabee oinstall 31734 Aug 2 03:19 hasbind
-rwxr-x--- 1 orabee oinstall 1703780 Aug 14 18:46 .apachectl
[orabee@radium ~]$ sudo chown root $ORACLE_HOME/Apache/Apache/bin/.apachectl
[orabee@radium ~]$ sudo chmod a+sx $ORACLE_HOME/Apache/Apache/bin/.apachectl
[orabee@radium ~]$ sudo chown root $ORACLE_HOME/beehive/bin/hasbind
[orabee@radium ~]$ sudo chmod a+sx $ORACLE_HOME/beehive/bin/hasbind
[orabee@radium ~]$ ls -l $ORACLE_HOME/Apache/Apache/bin/.apachectl $ORACLE_HOME/beehive/bin/hasbind
-rwsr-s--x 1 root oinstall 1703780 Aug 14 18:46 .apachectl
-rws--s--x 1 root oinstall 31734 Aug 2 03:19 hasbind
[orabee@radium ~]$ sudo cat "
+user orabee: bind port 25,143,80
" > /etc/cap.ora
[orabee@radium ~]$ ls -l /etc/cap.ora
-rw-r--r-- 1 root root 31 Aug 13 22:00 /etc/cap.ora
Now time to configure Beehive.
You can see from the following the ports it's currently using:
[orabee@radium ~]$ beectl list_ports --format xml
...
<row>
<column name="Protocol">HTTP</column>
<column name="Listening Port">7778</column>
<column name="Virtual Port">7778</column>
<column name="Defining Component">ohs_instance131a.radium</column>
<column name="Property Name">HttpListenPort</column>
<column name="Listening Component">ohs_instance131a.radium</column>
</row>
<row>
<column name="Protocol">HTTPS</column>
<column name="Listening Port">4444</column>
<column name="Virtual Port">4444</column>
<column name="Defining Component">ohs_instance131a.radium</column>
<column name="Property Name">HttpSslListenPort</column>
<column name="Listening Component">ohs_instance131a.radium</column>
</row>
[orabee@radium ~]$ beectl modify_property --component ohs_instance131a.radium --name HttpListenPort --value 80
[orabee@radium ~]$ beectl modify_property --component _VIRTUAL_SERVER --name HttpPort --value 80
Then, (and get used to this bit...) Activate the configuration, and modify the local config files
[orabee@radium ~]$ beectl activate_configuration
[orabee@radium ~]$ beectl modify_local_configuration_files
To change the SMTP and IMAP, it's a little different... We'd already added it to /etc/cap.ora so we don't need to worry about that.
Actually, let's wait for another day to configure these ports... but in case you're itching to.. it looks something like:
[orabee@radium ~]$ modify_port --protocol SMTP --port <port_number>
[orabee@radium ~]$ modify_port --protocol IMAP --port <port_number>
Next time, ftp port change, then the cool one - DMZ install.
Comments (4)
Hi,
where can i download Beehive !?
best regards
Björn
Posted by Björn Bröhl | September 29, 2008 12:40 AM
Posted on September 29, 2008 00:40
Nice of you to follow the documentation in order to get Beehive to listen op port 80. What I would like to know is how to configure Beehive to work behind a Oracle Webcache. Because I have several Webapplications on my test-server I want all of them to listen on port 80 and therefore I use a webcache. My main problem is the redirect to the jsso url.
Posted by Phil Overbeeke | September 29, 2008 4:06 PM
Posted on September 29, 2008 16:06
Björn,
Beehive is available through the same channels as all other Oracle products, and is covered with the usual license agreements.
You can also use Beehive on a 30 day trial from here
If you get in touch with Oracle Consulting in (I assume from your email address) Germany, they'll be able to help you out.
Posted by Gavin | September 30, 2008 11:40 AM
Posted on September 30, 2008 11:40
Phil,
I'll be blogging about hooking into SSO soon, which negates the use of jsso. But it's an interesting question, I'll investigate some more and maybe do a webcache front end as a test....
a pure apache redirect would look something like...
RewriteRule ^/jsso$ jsso/ [R]
ProxyPass /jsso/ http://mybeehiveinstall.localdomain:7777/jsso/
ProxyPassReverse / http://mybeehiveinstall.localdomain:7777/
ProxyHTMLURLMap http://mybeehiveinstall.localdomain:7777/jsso /jsso
You can't really see it, but there's spaces between those entries.
Let me know if you get it working before I do...
Gavin
Posted by Gavin | September 30, 2008 11:47 AM
Posted on September 30, 2008 11:47