Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • WebSphere Portal Family wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category IBM Redbooks: Building a Sample Website Using IBM Web Content Manager 7.0 IBM Redbooks: Building and Implementing a Social Portal IBM Redbooks: Developing Exceptional Multi-Channel Web Experiences V7: IBM Web Content Manager Product Documentation V7: IBM WebSphere Portal Enable for z/OS Product Documentation V7: IBM WebSphere Portal Express Product Documentation V7: WebSphere Portal Product Documentation V8: IBM Web Content Manager Product Documentation V8: IBM WebSphere Portal Express Product Documentation V8: IBM WebSphere Portal Product Documentation (includes z/OS) Custom Search Scope...
Search
Community Articles > Hypervisor > IBM Smart Business Cloud getting started guide - WebSphere Portal V6.1.5
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

IBM contributorLeslie Gallo
Contribution Summary:
  • Articles authored: 30
  • Articles edited: 14
  • Comments Posted: 0

Recent articles by this author

Collecting performance measurements of your IBM WebSphere - Java Virtual Machine

This article discusses an example of creating a collection of IBM WebSphere Portal performance measurements, using the Administrator Thin Client to running a jython script for collecting the desired data.

Integrating IBM WebSphere Portal 7 with Microsoft SharePoint 2010

This article explains how to integrate the portal frameworks between IBM WebSphere Portal, which is based on the J2EE programming model, and Microsoft SharePoint, which is based on the .NET programming model.

IBM WebSphere Portal 7 customization scenario: Part 1, Customizing a menu portlet

During an IBM WebSphere Portal implementation, customization is typically required in a few areas. This article explains how to build a customized WebSphere Portal menu in a JSR portlet, using WebSphere Portal 7 APISPIs.

Increasing the Search Engine Optimization ranking for IBM Web Content Manager Web sites

Learn how how you can remove both the traditional 301 (0 302) redirect from a Web site root to an IBM Web Content Manager URL and the common path part from the URL, such as wcpwcmconnectlibraryName.

Performance management tools for IBM WebSphere Portal

This document details the tooling that was used during a recent performancerelated customer engagement. It describes the tools and how they were used to evaluate IBM WebSphere Portal 7 performance problem determination issues.

Community articleIBM Smart Business Cloud getting started guide - WebSphere Portal V6.1.5

Added by Leslie Gallo | Edited by IBM contributor J Paul Kelsey on November 17, 2010 | Version 6
  • Edit
  • More Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
This document details the deployment instructions for IBM Smart Business Compute Cloud machine images (hereafter referred to as “the image”) for IBM® WebSphere® Portal server and IBM Lotus® Web Content Management™ version 6.1.5, under the IBM Smart Business Compute Cloud infrastructure. The image lets you experience the fully functional WebSphere Portal server and Web Content Management instance on Linux® on the IBM Smart Business Compute Cloud.
Tags:
ShowTable of Contents
HideTable of Contents
  • 1 Introduction
    • 1.1 Image contents and configuration
  • 2 Initializing a new instance of the image
    • 2.1 IBM Smart Business Cloud instance information
    • 2.2 Accessing the image instance console access
    • 2.3 Booting the image instance
  • 3 Working with an image instance
    • 3.1 Starting and stopping WebSphere Portal
    • 3.2 Starting and stopping the HTTP Server
    • 3.3 Using WebSphere Portlet Factory
    • 3.4 Accessing the site from a browser
  • 4 Servicing instances
  • 5 Conclusion
  • 6 Resources
  • 7 About the author

Introduction


This document guides you through how to create, access, stop, and build new images based on WebSphere Portal and Lotus WCM images currently available on the IBM Smart Business Compute Cloud. You can use these instructions to launch and maintain your own custom WebSphere Portal server and Lotus Web Content Management solutions.

This document focuses on the process of setting up an instance of the image. It covers the following topics in detail:
  • Initializing a new instance based on the image
  • Accessing and managing WebSphere Portal server and Lotus Web Content Management
  • Creating an IBM WebSphere Portlet Factory Project in Eclipse

An overview of how to manage WebSphere Portal is provided in this article, including links to product documentation for more detailed information and guidance on how to use the product to build a Web site.

This article is intended for users who have a general knowledge of Linux and how Linux works. Users should also have a good understanding of Linux commands and how to manipulate input and output.

Image contents and configuration


The WebSphere Portal and Lotus Web Content Management images are pre-installed and preconfigured instances of the products. Instances created based on these images are ready to use and have been preconfigured with certain features to make it easier to get started. The product configuration includes:

Security enabled. IBM WebSphere Application Server security is enabled, with the virtuser user ID serving as both the WebSphere Portal administrator and WebSphere Application Server administrator ID. During the provisioning of the image, you must set the password for the virtuser user ID.

WebSphere Portal light-startup-mode enabled. Light-startup mode speeds up the start time for WebSphere Portal by deferring the start of individual Web applications and portlets until they are first requested by users. For more information about light-startup mode, refer to the WebSphere Portal 6.1.5 information center topic, “Enabling and disabling portal light mode."

HTTP Server enabled. The IBM HTTP Server is configured to provide ports 80 and 443 access to WebSphere Portal. (Section 3.2 below provides more details on how to use the HTTP Server.)

External DB2 database. An instance IBM DB2 Enterprise Edition is installed and configured as WebSphere Portal and Lotus Web Content Management's external database and user repository. This provides an enterprise-class and highly performing database environment.

WebSphere Portlet Factory. Eclipse and WebSphere Portlet Factory are installed (development image only).

Initializing a new instance of the image


The following sections outline prerequisite information and steps for creating an instance of an image. Details about how to use the IBM Smart Business Compute Cloud tools to access, set up an account, and create image instances are not provided here. Refer to the FAQ section in the IBM Smart Business Compute Cloud User's Guide to become familiar with this process.

IBM Smart Business Cloud instance information


Instance sizes
IBM Smart Business Compute Cloud provides the flexibility to select from a number of different instance types to meet your computing needs. Each instance provides a predictable amount of dedicated computing capacity.

A bronze instance type is fine for development, single-user purposes only, and is what is used for the purposes of this document.

Note that the WebSphere Portal and Lotus Web Content Management Development images are running with a 32-bit version of the SuSE Linux Enterprise Server (SLES) operating system, so only 32-bit instance types can be used.

Managing image instances
IBM provides a simple, integrated, Web console for managing images, image instances, access keys, and storage instances on the IBM Smart Business Development & Test site.

Accessing the image instance console access


Console access
The image is configured to allow secure shell (SSH) access with automatic idcuser user authentication, using a secure RSA private key based on the key pair specified at instance creation. Users need to save the RSA private key pair to a local file that can be used as input to SSH.

For Linux SSH users, the key pair file is provided on the command line via the -i parameter; for example:

ssh –i <location of rsa keypair file> <instance public address>


For Putty users, refer to the topic, “Connecting to your instance with Putty,” for information about how to configure Putty with the public key for automatic authentication. There is also an online video that demonstrates how to set up Putty:
    http://www.youtube.com/v/vkJSgRSoTLc

File transfer is allowed via secure cp along with the secure key pair used for SSH access.

Remote desktop access
In addition to SSH access, users can access the system by using a free Virtual Network Computing (VNC) client to connect to the graphical desktop.

The boot sequence of the new instance (described in the next subsection) also sets up desktop icons to help with starting and stopping the WebSphere Portal server as well as accessing the portal home page and administrative console.

To enable vncserver, start the VNC server and provide a password by typing the following on a console command line as idcuser:
     
    vncserver

You can now access the instance remotely using its public Domain Name System (DNS) host name; for example:
     
    vncviewer vhost0123.site1.compute.ihost.com:1

Booting the image instance


When an image instance is first provisioned, users are prompted to accept the license agreements of software components pre-installed on the image. In addition, a sequence of product-specific instance configuration parameters allows users to configure the image according to their specific needs.

This subsection provides an outline and description of each step of the initial configuration process.

Configuration sequence
When an image instance is started for the first time, users go through the following interactive configuration steps in sequence before the system is ready to use:
  1. Pre-installed operating-system and software-license-agreement windows
  2. Instance specific configuration, such as IP addresses, and access keys
  3. Password configuration windows

Let's discuss each interactive step:

Ready to launch
From the IBM Smart Business Cloud Web site, log in and select the Add Instance button to add a system based on the desired WebSphere Portal and/or Lotus Web Content Management image to your list of running instances. Select the instance size, key pair, name of instance, and storage and IP options as shown in figure 1.

Figure 1. Adding a system instance



User password configuration windows
The next set of windows require users to set the password for the virtuser, idcuser, and db2inst1 users (see figure 2), where idcuser is the Linux operating system user, virtuser is the WebSphere Application Server and WebSphere Portal administrative user, and db2inst1 is the database instance user.

When accessing your instance, use virtuser to log in to the WebSphere Portal and WebSphere Application Server administrative console.

Figure 2. Setting the user passwords



Pre-installed operating-system and software-license-agreement windows
The service-order-agreement window ensures that users have accepted all required operating system licences and the license agreements of pre-installed software components before starting to use the instance (see figure 3).

Figure 3. Service agreement window



You must agree to all the licenses shown; otherwise, the instance does not launch. After you click Submit, the IBM Smart Business Cloud provisions the system instance based on the information provided. The cloud console reports when the system instance is ready to use, at which point it can be accessed by SSH or a Web browser.

Working with an image instance


You have completed the instantiation of a WebSphere Portal and Lotus Web Content Management 6.1.5 image. We now discuss how to get started with the system.

For more information about how to administer, customize, and develop applications for WebSphere Portal and Web Content Management, refer to the developerWorks product documentation page.

The file system directories for the various components are shown in table 1.

Table 1. File system locations
    Item
    Location
    WebSphere Portal installation directory
    /opt/IBM/WebSphere/PortalServer
    WebSphere Application Server installation directory
    /opt/IBM/WebSphere/AppServer
    Application server configuration profile
    /opt/IBM/WebSphere/wp_profile
    WebSphere Portal log directory
    /opt/IBM/WebSphere/wp_profile/logs/WebSphere_Portal
    DB2 install directory
    /opt/ibm/db2
    DB2 instance directory
    /home/db2inst1/db2inst1
    IBM HTTP Server installation directory
    /opt/IBM/HTTPServer
    Eclipse installation directory (development image only)
    /opt/eclipse
    WebSphere Portlet Factory installation directory (development image only)
    /opt/IBM/WPFactory


Starting and stopping WebSphere Portal


The IBM Smart Business Compute Cloud automatically starts WebSphere Portal and Lotus Web Content Management as part of the instance activation process. However, you can also control starting and stopping WebSphere Portal by using the WebSphere Application Server startServer.sh and stopServer.sh shell scripts, respectively.

Open a secure shell session with your new instance and then change to the /opt/IBM/WebSphere/wp_profile/bin directory. Your WebSphere Portal server should start automatically when you start or reboot your image. If it does not, run the following command from within this directory to start WebSphere Portal:
    ./startServer.sh WebSphere_Portal

Likewise, stop WebSphere Portal by using the following command within the same directory:
    ./stopServer.sh WebSphere_Portal -user virtuser -password <password>

Note that with the stopServer.sh script, you must specify the administrative user (virtuser) and password that were provided in the password configuration pages during initial setup of this instance.

If you are accessing the graphical desktop remotely via VNC, there are icons on the idcuser desktop for starting and stopping WebSphere Portal.

Starting and stopping the HTTP Server


The system comes preconfigured with the IBM HTTP Server to allow ports 80 and port 443 access to WebSphere Portal. When a new instance is provisioned, the HTTP Server is started, but it may be necessary to re-start the server during the instance lifetime.

To start the HTTP Server, change to the /opt/IBM/HTTPServer/bin directory and run the following command:
    sudo ./apachectl start

Likewise, to stop the HTTP Server, run the following command:
    sudo ./apachectl stop

The HTTP Server reads its application server plug-in configuration from /opt/IBM/HTTPServer/Plugins/config/webserver1/plugin_cfg.xml, which is automatically refreshed during instance creation.

Using WebSphere Portlet Factory


The image comes pre-installed with WebSphere Portlet Factory and Eclipse for developing portlet applications. To use WebSphere Portlet Factory:

1. Connect to the instance via the VNC Viewer or remote X terminal as idcuser.

2. After logging in, you can either change to the /opt/eclipse directory and run the command:
    ./eclipse
    Or click the WebSphere Portlet Factory desktop icon.

3. After Eclipse is started, you may be prompted with the window shown in figure 4.

Figure 4. Select a workspace



4. Enter your desired location, for example, /home/idcuser/workspace, and click OK.

5. To change the workspace perspective, select Window > Open Perspective > Other, select WebSphere Portlet Factory, and click OK.

6. To create a WebSphere Portlet Factory Project, select File > New > WebSphere Portlet Factory Project, and follow its wizard.

For more information, refer to the WebSphere Portlet Factory product page.

Accessing the site from a browser


After WebSphere Portal has started, you can access it using the following URL:
    http://<public host name>/wps/portal

The link is also available from the Getting Started section of the IBM Smart Business Cloud Control Panel for any given instance.

Servicing instances


WebSphere Portal Server and Lotus Web Content Management Standard Edition can be serviced on the instance just like any other native installation of this software.

Corrective service packages, in the form of iFixes (or “interim fixes”, which address a particular product issue) or fixpacks (regular, cumulative roll-ups of iFixes into a single installable unit), are available for download from the IBM Support Portal Web sites for WebSphere Portal and Lotus Web Content Management.

To install iFixes and fixpacks you must use the WebSphere Portal Update Installer, download-able from Support Technote #4006942, WebSphere Portal Update Installer.

Alternatively, you may wish to re-apply your customizations to a new instance created from an image that has been updated to a more recent service level. To do this, you must first extract all custom artifacts from the instance so that they can be applied again; for example:
  • Export content libraries, using the ConfigEngine's export-wcm-data task.
  • Export WebSphere Portal configurations, including all portlet WAR files and other J2EE resources, using the xmlaccess utility.

Then, after creating a new instance, you can import these artifacts into the new instance, using the appropriate administration utilities.

Conclusion


This article introduced the availability of WebSphere Portal and Lotus Web Content management on the IBM Smart Business Cloud, describing the steps to launch, customize, and maintain instances of the pre-installed and preconfigured software to facilitate getting started quickly.

Whether you're interested in trying out the software for the first time, in providing a consistent, disposable platform for your application developers, or in implementing a long-running, highly available software stack for your testers, the images on the IBM Smart Business Cloud can help.

Look for future articles on capturing private images, on details of the different versions of software, and on the various license models available in the IBM Cloud.

Resources


WebSphere Portal 6.1.5 information center:
http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1/index.jsp?topic=/com.ibm.wp.ent.doc_v615/welcome_main.html

Lotus Web Content Management Edition information center:
http://publib.boulder.ibm.com/infocenter/wcmdoc/v6r1/index.jsp?topic=/com.ibm.lotus.wcm.doc_v615/welcome_main.html

IBM Smart Business Development and Test on the IBM Cloud:
http://www.ibm.com/services/us/igs/cloud-development/

developerWorks Cloud computing overview:
http://www.ibm.com/developerworks/cloud/

Cloud: WebSphere Portal Server and Lotus Web Content Management Standard Edition:
http://www.ibm.com/developerworks/downloads/ls/wps-wcmse/cloud.html

developerWorks article, “Cloud computing with Linux”:
http://www.ibm.com/developerworks/linux/library/l-cloud-computing/

About the author


Paul Kelsey is an Advisory Software Engineer who has worked with IBM WebSphere Portal for 8 years. His areas of expertise include WebSphere Portal and WebSphere Application Server security and third-party security integration, such as IBM® Tivoli® Access Manager and CA SiteMinder. He's also worked on ConfigEngine and Site Management and, most recently, on WebSphere Portal total cost of ownership and cloud initiatives such as new golden topologies, Amazon EC2, and IBM Smart Business Cloud.

  • Edit
  • More Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (6)
collapsed Versions (6)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (6)Nov 17, 2010 3:19:48 PMJ Paul Kelsey  IBM contributor
5Jun 14, 2010 2:43:35 PMLeslie Gallo  IBM contributor
4Jun 14, 2010 1:27:00 PMLeslie Gallo  IBM contributor
3Jun 14, 2010 1:20:35 PMLeslie Gallo  IBM contributor
2Jun 14, 2010 1:12:02 PMLeslie Gallo  IBM contributor
1Jun 14, 2010 12:55:35 PMLeslie Gallo  IBM contributor
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use