Installing Content Server With JBoss Application Server and JBoss Portal
Installing Content Server With JBoss Application Server and JBoss Portal
Installing Content Server with JBoss Application Server and JBoss Portal
Document Revision Date: Jun. 15, 2011
Product Version: 7.0.2
FatWire Headquarters
FatWire Corporation
330 Old Country Road
Suite 303
Mineola, NY 11501
www.fatwire.com
3
Table of
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
How This Guide Is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Terms and Acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Graphics in This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Installation Quick Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Part 1. Database
2 Setting Up a Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Table of Contents
4
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
5
C ha pt e r 1
Introduction
This document provides guidelines for installing Content Server on JBoss Application
Server 4.2.0 and JBoss Portal 2.6.1, connecting to a supported database of your choice.
Note
Anyone using this guide is expected to have experience installing and
configuring databases, web servers, and application servers. Selected
information regarding the configuration of third-party products is given in
this guide. For detailed information about a particular third-party product,
refer to that product’s documentation.
This chapter provides information that will help you prepare for the Content Server
installation. It contains the following sections:
• About This Guide
• Installation Quick Reference
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 1. Introduction
6
About This Guide
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 1. Introduction
7
Installation Quick Reference
Note
The names of the systems in your Content Server environment might differ from the
names used in this document. Typically, the management system is also called
“staging,” and the delivery system is also called “production.”
The following steps summarize the installation and configuration of Content Server and its
supporting software. Keep the steps handy as a quick reference to the installation
procedure and to the chapters that provide more detailed instructions.
Notes
If you plan to install a vertical cluster, you will repeat this step to create a
JBoss instance for each cluster member. Before creating multiple JBoss
instances, however, it is best to first create one instance (as done in this
guide), install Content Server, and verify that it is functional.
If you are installing the JBoss portal, you must install and configure a
supported LDAP server (OpenLDAP in this guide). You can do so in the
current step, or after the first instance of Content Server is installed (as
done in this guide). Instructions for installing and configuring LDAP
servers are given in Configuring Third-Party Software.
3. If you are already running one or more instances of JBoss on your system (regardless
of the application they are serving), or if you are planning to set up a Content Server
cluster, ensure that each JBoss instance runs on a unique port number.
For instructions, see “Setting Up Multiple Instances of JBoss to Run Simultaneously,”
on page 24.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 1. Introduction
8
Installation Quick Reference
Note
For single-server installations, installing a web server is optional. You can
install the web server at any time prior to or following the Content Server
installation.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 1. Introduction
9
Installation Quick Reference
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 1. Introduction
10
Installation Quick Reference
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
11
Part 1
Database
This part contains a short chapter summarizing the databases that Content Server uses.
Instructions on creating and configuring the databases are given in Configuring Third-
Party Software.
This part contains the following chapter:
• Chapter 2, “Setting Up a Database”
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
12
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
13
C ha pt e r 2
Setting Up a Database
Content Server requires access to a database that is specifically configured for Content
Server. The list of supported databases (as well as other third-party components) is given
in the Supported Platform Document, accessible from:
http://e-docs.fatwire.com/CS
(Click the Content Server version number, and on the Content Server page, click the
Supported Platform Document link.)
Before installing any other of Content Server’s supporting software, you must complete
the following steps:
1. Install the database management system.
For instructions, refer to the product vendor’s documentation.
2. Create and configure a database for Content Server.
For instructions, consult our guide Configuring Third-Party Software. Note that
database configuration is identical across different application servers. Refer to the
correct chapter to create and configure the database of your choice.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 2. Setting Up a Database
14
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
15
Part 2
Application Server
This part contains information about installing and configuring JBoss Application Server.
This part contains the following chapter:
• Chapter 3, “Installing JBoss Application Server and JBoss Portal”
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
16
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
17
C ha pt e r 3
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 3. Installing JBoss Application Server and JBoss Portal
18
Start/Stop Commands
Start/Stop Commands
Note
All commands are based on the assumption that JAVA_HOME is set to the proper
directory.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 3. Installing JBoss Application Server and JBoss Portal
19
Step I. Installing JBoss
3. If you are creating a portal installation, follow the instructions below (otherwise, skip
to step 4):
a. Move the jboss-portal.sar directory from jboss-portal-2.6.1 to the
jboss-4.2.0.GA/server/default/deploy directory.
b. Copy the Portal-dbType-ds.xml file from jboss-portal-2.6.1/setup
to jboss-4.2.0.GA/server/default/deploy (where dbType is the type of
database you are using).
4. Set JAVA_HOME to the jdk folder of the version of Java that will be used. The Java
version must be 1.5 or higher.
Ex: export JAVA_HOME=/opt/jdk1.5.0_06
5. If you are creating a portal installation, create a database that JBoss Portal will use to
store its data. For instructions on creating a database, see our guide, Configuring
Third-Party Software. When creating the database, follow these steps:
a. Use the same permissions as for the Content Server database.
b. When you have created the database, edit the Portal-dbType-ds.xml file to
point to it. For instructions, see step 4 on page 22.
6. Start the application server:
<jboss_install_dir>/bin/run.sh -b <hostname>
This will start the default JBoss instance on port 8080.
7. Test your JBoss installation:
a. Point your browser to the following URL to test whether JBoss Application
Server is running:
http://<hostname>:8080/
b. When the default “JBoss Application Server” home page is displayed, click JBoss
Web Console to display the JBoss Management Console.
c. If you are creating a portal installation, point your browser to the following URL
to test whether JBoss Portal is running:
http://<hostname>:8080/portal
8. When JBoss is successfully installed, continue with “Step II. Setting Up the
Environment,” on page 20.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 3. Installing JBoss Application Server and JBoss Portal
20
Step II. Setting Up the Environment
Note
If you are installing a cluster, complete the steps below for each cluster member.
The cluster must be vertical.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 3. Installing JBoss Application Server and JBoss Portal
21
Step II. Setting Up the Environment
URL jdbc:jtds:sqlserver://
<server>:<dbport>/<dbname>
Ex: jdbc:jtds:sqlserver://
10.120.14.22:1433/CS70
URL jdbc:db2://<hostname>:<dbport>/
<dbname>
Ex: jdbc:db2://10.120.16.30:50001/
CS70
URL jdbc:oracle:thin:@//
<hostname>:1521/<dbname>
Ex: jdbc:oracle:thin:@//
godzilla.fatwire.com:1521/CS70
Note
If you are using an Oracle database and require text attributes greater than 2000
characters, you will have to set cc.bigtext to CLOB. To support CLOB, use
Oracle database 9.2.0.6 (or a higher supported version). Also use Oracle 10g
drivers. (CLOB is not supported for lower database versions and for Oracle drivers
9x [thin, type 4].)
You will set cc.bigtext to CLOB when you run the Content Server installer (as
explained in “Running the Installer,” on page 36.)
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 3. Installing JBoss Application Server and JBoss Portal
22
Step II. Setting Up the Environment
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 3. Installing JBoss Application Server and JBoss Portal
23
Step II. Setting Up the Environment
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 3. Installing JBoss Application Server and JBoss Portal
24
Step III. Setting Up Multiple Instances of JBoss to Run Simultaneously
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
25
Part 3
Web Server
This part shows you how to integrate Apache Web Server with JBoss, a requirement if you
are creating a clustered installation or using SSL.
This part contains the following chapter:
• Chapter 4, “Installing and Configuring Apache Web Server”
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
26
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
27
C ha pt e r 4
Note
The steps in this chapter are required only if you are creating a clustered
installation or you are planning to use SSL through Apache Web Server.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 4. Installing and Configuring Apache Web Server
28
Integrating JBoss with Apache 2.0.x
Note
Complete this section if you are setting up a Content Server cluster or using SSL
through Apache Web Server.
• For clustered installations, this section is a pre-requisite for the load balancing
procedure you will perform (“Balancing Load with mod_jk,” on page 58).
• For SSL, this section is also a pre-requisite for the next section, “Configuring
JBoss for SSL through Apache 2.0.x,” on page 29.
worker.jboss.port=<ajp port>
worker.jboss.host=<hostname>
worker.jboss.type=ajp13
worker.jboss.lbfactor=1
(The ajp port can be found in <jboss_install_dir>/server/<instance
name>/deploy/jbossweb-tomcat55.sar/server.xml under AJP 1.3
Connector. The default value is 8009.)
5. Edit $APACHE2_HOME/conf/httpd.conf by adding the following to the
LoadModules section:
LoadModule jk_module modules/mod_jk.so
Before Section 3:
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 4. Installing and Configuring Apache Web Server
29
Configuring JBoss for SSL through Apache 2.0.x
#
# Mod_jk settings
#
JkWorkersFile "conf/workers.properties"
JkLogFile "logs/mod_jk.log"
JkLogLevel info
JkMount /cs/* jboss
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 4. Installing and Configuring Apache Web Server
30
Configuring JBoss for SSL through Apache 2.0.x
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 4. Installing and Configuring Apache Web Server
31
Configuring JBoss for SSL through Apache 2.0.x
Note
By default, the SSL port is 443. If this server runs simultaneously with
another Apache or Apache 2 server, the SSL port will need to be changed
from 443, to some other unused port.
Listen <SSL_port>
<VirtualHost _default_:<SSL_port>
ServerName <hostname>:<SSL_port>
ServerAdmin [email protected]
b. Edit the following lines to point to the certificate and key files:
SSLCertificateFile <$APACHE2_HOME>/demoCA/cacert.pem
SSLCertificateKeyFile <$APACHE2_HOME>/ca.key
3. Restart Apache.
4. Access the following URL: http://<hostname>:<SSL_port>/web-console/
5. When prompted, accept the certificate.
6. Once you accept the certificate, the “JBoss Management Console” is displayed,
confirming that JBoss is running over SSL.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 4. Installing and Configuring Apache Web Server
32
Configuring JBoss for SSL through Apache 2.0.x
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
33
Part 4
Content Server
This part shows you how to install Content Server, verify the installation, and complete
any other post-installation steps that apply to your system. This part contains the following
chapter:
• Chapter 5, “Installing and Configuring Content Server”
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
34
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
35
C ha pt e r 5
This chapter explains how to install and test Content Server on JBoss Application Server
as a single-server or a clustered installation. This chapter contains the following sections:
• Installing Content Server
• Post-Installation Steps
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
36
Installing Content Server
Note
If you need to change the type of database you have specified during the installation,
you must delete the installed CS file structure and restart the installation.
In the second stage, the installer populates the database with the tables and data required
for Content Server to function. If the second stage fails, the file structure and database
tables must be deleted and the installation restarted from the beginning.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
37
Post-Installation Steps
- If you are using an Oracle database and require text attributes greater than 2000
characters, you must set the cc.bigtext property to CLOB as follows:
1) Open the Property Editor by clicking the Property Editor button.
2) In the Property Editor, open the futuretense.ini file.
3) Click the Database tab.
4) Locate the cc.bigtext property and set its value to CLOB.
5) Save your changes and close the Property Editor.
6. When the installation completes successfully, perform the post-installation steps in the
next section as required for your installation.
Post-Installation Steps
When the installation process completes successfully, perform the steps in this section, as
required for your configuration:
A. Setting File Permissions (Unix Only)
B. Verifying the Installation
C. Integrating with LDAP (Required for Portal Installations)
D. Configuring JBoss Portal for Content Server (Required for Portal Installations)
E. Setting Up a Content Server Cluster (Optional)
F. Setting Up Content Server for Its Business Purpose
Web Installations
Logging in to the Advanced Interface
1. Point your browser to the following URL:
http://<hostname>:<port>/<context>/Xcelerate/LoginPage.html
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
38
Post-Installation Steps
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
39
Post-Installation Steps
- If you installed one sample site, you are logged in to that site.
- If you installed more than one sample site, Content Server displays the “Select
Site” screen. In such case, select the sample site you wish to log in to.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
40
Post-Installation Steps
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
41
Post-Installation Steps
3. Click Login.
Depending on whether you installed sample sites, one of the following happens:
- If you did not install any sample sites, Content Server displays a message
notifying you of that fact. You will not be able to log in to the Dash interface until
at least one site exists on your system.
- If you installed one sample site, you are logged in to that site.
- If you installed more than one sample site, Content Server displays the “Select
Site” screen. In such case, select the sample site you wish to log in to.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
42
Post-Installation Steps
Content Server is now ready for configuration. Follow the steps in the rest of this chapter,
starting with “C. Integrating with LDAP (Required for Portal Installations),” on page 43.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
43
Post-Installation Steps
Portal Installations
Verify the installation by accessing the portal interface in a browser:
http://<hostname>:<port>/portal
Content Server is now ready for configuration. Follow the steps in the rest of this chapter.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
44
Post-Installation Steps
Note
The examples in this section are explicitly designed for OpenLDAP. For other
LDAP server types, they must be modified to match the type
Note
The default portal users are admin and ldapuser. The password for each is the
same as the user name.
In the steps below, we assume that you will be connecting to OpenLDAP, but any LDAP
server can be configured.
1. Change to the directory
<jboss_portal_home>/server/<instance>/deploy/jboss-portal.sar/
META-INF
where <instance> is the name of the JBoss server instance (normally default),
and <jboss_portal_home> is the directory that was created when you
decompressed the jboss-portal-2.6.1.zip archive.
2. Make a backup copy of the jboss-service.xml file.
3. Edit the jboss-service.xml file and make the following changes:
a. Locate the following section (located around line 539):
<attribute name="ConfigFile">
conf/identity/identity-config.xml
</attribute>
and change it to the following:
<attribute name="ConfigFile">
conf/identity/ldap_identity-config.xml
</attribute>
b. Save and close the file.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
45
Post-Installation Steps
Note
If you are using OpsenLDAP as your LDAP server, proceed to the next step to set
up JBoss Portal for OpenLDAP. For instructions on setting up JBoss for other
LDAP servers, see the JBoss Portal 2.6.1-GA Reference Guide. When you have
set up your LDAP server, proceed to step 8 on page 49.
6. Edit the ldap_identity-config.xml file and replace its contents with the
following code:
Note
In the code below, replace the values marked in bold red as follows:
• Replace password with your LDAP password.
• Replace dc=fatwire,dc=com with your domain and domain extension.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
46
Post-Installation Steps
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~-->
<identity-configuration>
<datasources>
<datasource>
<name>LDAP</name>
<config>
<option>
<name>host</name>
<value>127.0.0.1</value>
</option>
<option>
<name>port</name>
<value>389</value>
</option>
<option>
<name>adminDN</name>
<value>cn=Manager,dc=fatwire,dc=com</value>
</option>
<option>
<name>adminPassword</name>
<value>password</value>
</option>
</config>
</datasource>
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
47
Post-Installation Steps
</datasources>
<modules>
<module>
<!--type used to correctly map in IdentityContext registry-->
<type>User</type>
<implementation>LDAP</implementation>
<config/>
</module>
<module>
<type>Role</type>
<implementation>LDAP</implementation>
<config/>
</module>
<module>
<type>Membership</type>
<implementation>LDAP</implementation>
<config/>
</module>
<module>
<type>UserProfile</type>
<implementation>DELEGATING</implementation>
<config>
<option>
<name>ldapModuleJNDIName</name>
<value>java:/portal/LDAPUserProfileModule</value>
</option>
</config>
</module>
<module>
<type>DBDelegateUserProfile</type>
<implementation>DB</implementation>
<config>
<option>
<name>randomSynchronizePassword</name>
<value>true</value>
</option>
</config>
</module>
<module>
<type>LDAPDelegateUserProfile</type>
<implementation>LDAP</implementation>
<config/>
</module>
</modules>
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
48
Post-Installation Steps
<options>
<option-group>
<group-name>common</group-name>
<option>
<name>userCtxDN</name>
<value>ou=People,dc=fatwire,dc=com</value>
</option>
<option>
<name>uidAttributeID</name>
<value>cn</value>
</option>
<option>
<name>passwordAttributeID</name>
<value>userPassword</value>
</option>
<option>
<name>roleCtxDN</name>
<value>ou=Groups,dc=fatwire,dc=com</value>
</option>
<option>
<name>ridAttributeId</name>
<value>cn</value>
</option>
<option>
<name>roleDisplayNameAttributeID</name>
<value>cn</value>
</option>
<option>
<name>membershipAttributeID</name>
<value>uniqueMember</value>
</option>
<option>
<name>membershipAttributeIsDN</name>
<value>true</value>
</option>
</option-group>
<option-group>
<group-name>userCreateAttibutes</group-name>
<option>
<name>objectClass</name>
<!--This objectclasses should work with Red Hat Directory-->
<value>top</value>
<value>person</value>
<value>organizationalPerson</value>
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
49
Post-Installation Steps
</option>
<!--Schema requires those to have initial value-->
<option>
<name>cn</name>
<value>none</value>
</option>
<option>
<name>sn</name>
<value>none</value>
</option>
</option-group>
<option-group>
<group-name>roleCreateAttibutes</group-name>
<option>
<name>objectClass</name>
<value>top</value>
<value>groupOfUniqueNames</value>
</option>
<!--Schema requires those to have initial value-->
<option>
<name>cn</name>
<value>none</value>
</option>
<!--Some directory servers require this attribute to be valid
DN-->
<!--For safety reasons point to the admin user here-->
<option>
<name>member</name>
<value>cn=admin,ou=People,dc=fatwire,dc=com</value>
</option>
</option-group>
</options>
</identity-configuration>
Note
If you are using an LDAP server other than OpenLDAP, you will need to modify
the code below as required by your LDAP server before proceeding. For
instructions, see your LDAP server documentation.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
50
Post-Installation Steps
a. Create a file named jboss-config.ldif and paste the following code into it:
Note
In the code below, replace the values marked in bold red as follows:
• For each default user, replace {SSHA}password with a password of your
choice. (If you are using OpenLDAP, you can change user passwords
using the slappasswd command.)
• Replace dc=fatwire,dc=com with your domain and domain extension.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
51
Post-Installation Steps
For example, to import the file into OpenLDAP, use the following command:
ldapadd -D 'cn=Manager,dc=fatwire,dc=com' -w <password> -f
jboss-config.ldif
9. Edit the file <jboss_home>/bin/run.conf and make the following changes:
a. Locate the following section:
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms128m -Xmx512m
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000"
fi
b. Replace the section with the following code:
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms256m -Xmx512m
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
-XX:MaxPermSize=128m"
fi
c. Save and close the file.
10. Restart JBoss Portal.
11. Test your LDAP integration by logging in to the portal as the admin and ldapuser
users:
a. Point your browser to the following URL:
http://<hostname>:8080/portal
b. In the upper right corner of the page, click Login to access the login page.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
52
Post-Installation Steps
12. Continue on to the next section, “Setting Up the JBoss Portal Pages and Portlets,” on
page 53, to set up portal pages and portlets.
Note
In order to allow CS users to access the portal, you must add them to either the
user or admin LDAP groups (these groups are created by the Content Server
LDAP integrator pogram). In a staging environment, we suggest that you add the
fwadmin and firstsite users to the admin group, and all other users to the
user group.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
53
Post-Installation Steps
Note
The next steps show you how to create a new page, how to set the page style, and
how to add portlets to the page. Our example is based on four Spark sample site
user portlets; you use the same steps to configure the admin portlets.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
54
Post-Installation Steps
4. Click the link representing the portal you wish to edit. (We are assuming you are
editing the default portal.)
5. Create the “Spark Samples” page. In the Create a page field, enter Spark Samples
and click Add.
The “Spark Samples” page you just created appears in the list.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
55
Post-Installation Steps
6. Add the required portlets to the “Spark Samples” page you just created:
a. In the “Spark Samples” page row in the list, click Page Layout.
The following screen appears:
Note
If you wish to deploy the portlet to another region, click the Add button next
to that region.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
56
Post-Installation Steps
Note
The exact portlets you need to add will vary depending on your installation;
for details, consult your site developers.
7. Repeat steps 5 and 6 to add and populate the remaining pages, as described in Table 3,
on page 53.
8. Test your configuration:
a. Log out of the portal by clicking Logout in the upper right corner of the page.
The default portal page should now contain a tab for each page you have added.
b. Click each tab to see whether you can open the corresponding page. If you cannot
open a page, check to see that you have completed the steps in this section
correctly.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
57
Post-Installation Steps
Note
To complete the next step, make sure your X-Display variable is set.
5. To finalize the clustering process, edit the following properties for each cluster
member using the Property Editor:
a. Run the Property Editor, propeditor.sh (or .bat), in <cs_install_dir>.
b. Click File > Open, and open the futuretense.ini file in your Content
Server installation directory.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
58
Post-Installation Steps
c. Click Cluster.
Three properties should be displayed on the Items tab:
- cc.cacheNoSync: Assign a value of false.
- ft.sync: Assign the same value to all members of this cluster.
Ex: cluster1
- ft.usedisksync: Set its value to the path to the usedisksync directory
created in step 4.
6. Verify the newly created cluster member. For instructions, see “B. Verifying the
Installation,” on page 37.
7. To create additional cluster members, repeat the steps in this section. Once the cluster
is created, continue with the next step, “2. Balancing Load with mod_jk.”
Note
A cluster member can be given any node name as long as the names are unique
across members.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
59
Post-Installation Steps
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=node1,node2
/cs/*=loadbalancer
Note
This configuration supports two cluster members and one load balancer. For
each additional cluster member, add the member name to the
worker.list, worker.loadbalancer.balanced_workers, and add
the following lines:
worker.<member name>.port=<ajp port>
worker.<member name>.host=<hostname>
worker.<member name>.type=ajp13
worker.<member name>.lbfactor=1
worker.node1.cachesize=1
Use the names stored in the server.xml file mentioned in step 1 of this
section.
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal
Chapter 5. Installing and Configuring Content Server
60
Post-Installation Steps
Installing Content Server 7.0.2 with JBoss Application Server and JBoss Portal