SlideShare une entreprise Scribd logo
1  sur  47
Télécharger pour lire hors ligne
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
© Copyright IBM Corporation 2010
5.4.1
Installing and configuring
WebSphere Commerce
© Copyright IBM Corporation 2010
Unit objectives
After completing this unit, you should be able to:
• Install WebSphere Commerce
• Configure WebSphere Commerce
• Verify an installation of WebSphere Commerce
• Explain the migration framework
• Use the migration framework to migrate from a previous version
• Install optional WebSphere Commerce components
• Install fix packs and feature packs for WebSphere Commerce
• Set up an instance of WebSphere Commerce
• Use the configuration manager tool and instance creation wizard
© Copyright IBM Corporation 2010
Hardware requirements: Linux on Intel or xSeries
• Minimum requirements:
– Dedicated Pentium III 733 MHz IBM-compatible personal computer
– Minimum of 2 GB of memory per processor
– Minimum of 4.5 GB of free disk space
– Minimum of 1 GB of paging space per processor
– Minimum of 6 GB of free disk space, if you install all of the required and optional
components, with following recommended allocated file sizes:
• /opt: 4.5 GB
• /home: 1 GB
• /tmp: 900 MB
– DVD-ROM drive
– Graphics-capable monitor with 256-color depth minimum
– Mouse or other pointing device
– Local area network (LAN) adapter that supports TCP/IP
• Production requirements are greater.
© Copyright IBM Corporation 2010
Software requirements: Linux
• Red Hat Enterprise Linux AS/ES 4 Update 6
• Red Hat Enterprise Linux 5 Update 1
• SUSE Linux Enterprise Server 9 SP4
• SUSE Linux Enterprise Server 10 Update 1
• SUSE Linux Enterprise Server 11
© Copyright IBM Corporation 2010
Commerce V7 package: Physical media
• Commerce V7 DVDs:
– Disk 1
– Disk 2
• WebSphere Application Server V7 Network Deployment:
– Disk 1 contains IBM HTTP Server and WebSphere Application Server web
server plug-ins.
– Disk 2 contains WebSphere Application Server custom installation package.
• DB2 ESE:
– Server
– Administration client
• WebSphere Commerce Express includes WebSphere Application
Server Express and DB2 Express.
© Copyright IBM Corporation 2010
Commerce V7 package: Electronic media
• WebSphere Commerce download image contains disk1 and disk2.
• WebSphere Application Server V7 Network Deployment download
image contains disk1 and disk2.
• DB2 ESE download image contains the Server and Administration
client.
• The WebSphere Commerce Express version can be downloaded.
© Copyright IBM Corporation 2010
Preinstallation checklist: Linux (1 of 2)
• Ensure your host name conforms to TCP/IP standards and can be
resolved to an IP address.
• If a component of WebSphere Commerce is already installed, stop all
services related to that component.
• If you are running Lotus Notes or any other server on your machine,
stop the server.
• If you have a web server on your machine using ports 80, 443, 5432,
5433, 8000, 8001, 8002, 8004, 8006, or 8007, disable it or change its
ports.
© Copyright IBM Corporation 2010
Preinstallation checklist: Linux (2 of 2)
• Ensure that you have root authority.
• Ensure that no other install programs are active.
• Ensure that your firewall configuration is set to permissive.
• Ensure that your operating system does not log your command line.
• Review the WebSphere Commerce README file.
• Create the user IDs and groups required by WebSphere Commerce on
any machine on which you plan to install WebSphere Commerce.
© Copyright IBM Corporation 2010
Commerce 7 installer
• Installer is updated to support the software that is included in
WebSphere Commerce V7.
• Installer provides a soft stop warning if the detected preinstalled
software is not at the supported level.
• Quick installation and custom installation are available.
• WebSphere Commerce Payment instance is not available in the quick
installation.
© Copyright IBM Corporation 2010
Installation process: Linux (1 of 2)
1. As root, insert and mount the WebSphere Commerce V7 disk 1.
2. Ensure that X server is configured and working.
3. Navigate to the location of the of the local WebSphere Commerce
DVD image.
4. Enter: mount_point/setup.sh
5. Launch pad will start.
6. Select the language for launch pad.
7. Click Install Product.
© Copyright IBM Corporation 2010
Installation process: Linux (2 of 2)
8. Installation wizard steps through the installation:
a. Verify prerequisites.
b. Select installation type and components to install.
c. Select database and web server products.
d. View installation steps and begin installation.
e. Install DB2, HTTP Server, WebSphere Application Server.
f. Install WebSphere Commerce.
g. Perform post-installation setup tasks.
9. After installation of all components, if custom installation was used,
you are asked to restart the system.
© Copyright IBM Corporation 2010
Installation types
© Copyright IBM Corporation 2010
Quick installation defaults
WebSphere Commerce instance demo
WebSphere Commerce database mall
WebSphere Application Server enterprise WC_demo
WebSphere Application Server instance server1
WebSphere Application Server profile demo
IBM HTTP Server instance webserver1
© Copyright IBM Corporation 2010
Custom installation
A custom installation is required in the following scenarios:
• You want to use software already installed as part of the WebSphere
Commerce stack.
• You want to do a distributed installation of WebSphere Commerce or
its components.
• You want to use anything other than the standard IBM components.
• You want to use the old implementation of WebSphere Commerce
Payments.
© Copyright IBM Corporation 2010
Installation directories
DB2 /opt/IBM/db2/9.5
HTTP Server /opt/IBMIHS
WebSphere Application
Server
/opt/IBM/WebSphere/
AppServer
WebSphere Commerce /opt/IBM/WebSphere/
CommerceServer70
© Copyright IBM Corporation 2010
Verify installation
• Check the installation log files:
– <WC_installdir>/logs/db2.setuplog
– <WAS_installdir>/logs/install/log.txt
– <WC_installdir>/logs/install.log
– <WC_installdir>/instances/<instance_name>/logs
– <WC_installdir>/logs/wctrace_date_time.log
– <WC_installdir>/logs/wcinstall.log
• Check that the non-root user starts DB2 correctly.
© Copyright IBM Corporation 2010
Other installation considerations
• Database
– In a multi-tier environment, install the database server first.
– If using Oracle, install and configure the database components first.
• Web server
– Ensure SSL is configured.
– If using Microsoft IIS or Sun ONE, install and configure prior to WebSphere
Commerce configuration.
• Global security
– Activated when WebSphere Application Server is installed
– Can be deactivated using wsadmin
– Should be enabled when site is in production
– Requires user ID and password to execute commands or access console
These steps are outlined in the WebSphere Commerce installation guide. Manual
configuration of components may also be required.
© Copyright IBM Corporation 2010
Installing optional components
• All optional software must be installed separately.
• Refer to the Additional Software Guide for instructions for:
– WebSphere Commerce Analyzer
– IBM Tivoli Directory Server (or other LDAP server)
– WebSphere Commerce Recommendation Engine
• This also includes instructions for configuring WebSphere MQ and
WebSphere InterChange Server.
© Copyright IBM Corporation 2010
Uninstalling
Uninstalling WebSphere Commerce is not trivial, and its components
must be uninstalled before WebSphere Application Server.
1. Stop WebSphere Commerce, and if present, Payment instances.
2. Stop any WebSphere Commerce, WebSphere Application Server, DB2
processes.
3. Delete any existing WebSphere Commerce instance.
4. If present, delete any existing WebSphere Payment instance.
5. Start the WebSphere Commerce uninstall process.
6. Uninstall WebSphere Application Server; then IBM HTTP Server.
7. Uninstall DB2
• Cleanup of directories and configuration files may be needed after
WebSphere Commerce is uninstalled.
• Follow the instructions in the Appendix of the Installation Guide carefully.
© Copyright IBM Corporation 2010
The WebSphere Commerce instance
Each WebSphere Commerce instance has its own:
• WebSphere Application Server profile (created by Configuration
Manager)
• WebSphere Application Server Administration Console
• IBM HTTP Server httpd.conf in
<WC_installdir>/instances/inst/httpconf
• IBM HTTP Server logs in
<WC_installdir>/instances/inst/httplogs
• IBM HTTP Server process
• Database
© Copyright IBM Corporation 2010
Configuration process
• The WebSphere Commerce Configuration Manager is used to create
the instance
• Instance creation requires a number of configuration steps:
1. Create instance configuration files.
2. Create database, tables, indexes, and so forth.
3. Import bootstrap data.
4. Configure web server including SSL, virtual hosts, path aliases.
5. Configure WebSphere Application Server.
• Virtual host aliases
• JDBC driver and data source
• Application server and application
© Copyright IBM Corporation 2010
Start the Configuration Manager
• Ensure that necessary services are started on the server.
– Database server
– IBM WebSphere Commerce 7.0 Configuration Manager
• Start the Configuration Manager client.
– Code to start the CM client
• Log in to the Configuration
Manager using the user ID
configadmin and the
password specified
during installation.
© Copyright IBM Corporation 2010
Create WebSphere Commerce instance
© Copyright IBM Corporation 2010
Instance creation wizard (1 of 3)
• Instance:
– Enter instance name (must be unique).
– Enter merchant key for data encryption.
– Specify site administrator user ID and password.
• Database:
– Create new or use existing.
– Enter database administrator name and password.
– Enter database name (must be unique).
– Choose database type (DB2 or Oracle).
– Specify if remote database.
• Schema:
– Enter database user name.
– Enter database password.
© Copyright IBM Corporation 2010
Instance creation wizard (2 of 3)
• WebSphere:
– Enter cell and node name of WebSphere Application Server profile.
– Enter data source name.
– Enter JDBC driver location.
• Specify languages for which to load translated data.
• Web server:
– Enter host name (must be unique).
– Choose web server type.
– Choose server ports.
– Choose basic or X.509 authentication.
• Staging:
– Enable staging server.
– Enable workspaces.
© Copyright IBM Corporation 2010
Instance creation wizard (3 of 3)
• Click Finish to begin instance creation:
– Instance files are created in directory
<WC_installdir>/instances/<instance_name>
– Database is created and bootstrap data is loaded.
– Web server definition is created.
– WebSphere Application Server resources are imported.
• Instance creation can take 30 minutes or longer.
• After creation:
– Start the web server for the WebSphere Commerce instance.
– Start the WebSphere Commerce server.
© Copyright IBM Corporation 2010
Commerce instance creation
Ant targets divided into four logical groups:
ConfigureDatabase • Database
• Schema (tables, keys)
• Bootstrap data
ConfigureCommerceServer • Application server
• Virtual hosts
• Data source
• EAR
ConfigureWebServer • Web server configuration
RegisterInstance • Configuration
files
Database
Application Server
Web Server
config
© Copyright IBM Corporation 2010
Invoking an Ant target
1. Depending which operating system you use, open a command
prompt, UNIX shell, and so forth.
2. Since all Ant targets must be executed as the non-root user, switch to
that user.
3. Navigate to the WC_installdir/bin directory.
4. Run the command:
config_ant[.sh] -DinstanceName=instanceName
-Dparam1=value1 -Dparam2=value2 CreateInstance
© Copyright IBM Corporation 2010
Instance settings
© Copyright IBM Corporation 2010
Verify configuration
Check the instance creation log files to ensure successful database
creation and WebSphere Application Server import.
• Instance configuration file:
– <WC_installdir>/instances/<instance_name>/xml/<instance_name>.xml
• Instance creation logs:
– <WC_installdir>/instances/<instance_name>/logs/createInstance*.log
– <WC_installdir>/instances/<instance_name>/logs/createdb*.log
• WebSphere Commerce Server log:
– <WAS_installdir>/profiles/<instance_name>/logs/server1/SystemOut.log
• Read the installation guide for more details on the available logs.
© Copyright IBM Corporation 2010
WebSphere Application Server resources
• WebSphere Application Server profile
– <instance_name>
• Application server
– server1
• Web server
– webserver1
• Enterprise application
– WC_<instance_name>
• Web modules
• EJB modules
• Connector modules
• JDBC provider
– <instance_name> — WebSphere Commerce JDBC provider
• WebSphere Commerce DB2 data source <instance_name>
• Virtual hosts
© Copyright IBM Corporation 2010
Detailed configuration
IBM
HTTP
Server
WebSphere
Application
Server
plug-in
Uses
Plugin-cfg.xml
WebSphere
Commerce
virtual hosts
Application Server
server1
WebSphere Commerce EAR
WebSphere Application Server cell
Bind to
Run on Run onRun on
WARs EJBs
Web server
definition
Generate
© Copyright IBM Corporation 2010
Configure an SSL certificate
© Copyright IBM Corporation 2010
Testing instance creation
• If you can log on to the WebSphere Commerce tools, the configuration
was most likely successful.
• Before you launch the WebSphere Commerce tools, you must perform
the following:
– Make sure SSL is enabled in the web server.
– Verify your browser settings.
• Launch WebSphere Commerce Administration Console.
– https://<hostname>:8002/adminconsole
– Log in as site administrator specified in instance wizard.
© Copyright IBM Corporation 2010
Starting and stopping an instance
• WebSphere Application Server node agent
• Execute the command from a profile:
<WAS_installdir>/profiles/<profileName>/bin/
• startServer.sh <server>
• stopServer.sh <server>
• serverStatus.sh –all
© Copyright IBM Corporation 2010
WebSphere profiles
• WebSphere files are split into two components:
– Shared static files or product binaries
– User customizable data files (profiles), which include WebSphere configuration,
installed applications, resource adapters, properties, log files, and others
© Copyright IBM Corporation 2010
Advantages of profiles
• Stand-alone EAR
• Ant targets for configuration
• Clustering improves as WebSphere Application Server distributes the
EAR to all cluster members
Benefits:
• Follows the WebSphere Application Server administration model
– Simplify migration to future releases of WebSphere Application Server
– Better management using the WebSphere Application Server Administrative
Console
• Manage the runtime state of the WebSphere Commerce application
and WebSphere Administration Server
– Set trace specification without restarting server
– Start or stop WebSphere Commerce using the administrative console
– Automatic propagation of plugin-cfg.xml file charges for IBM HTTP Server
• Can start and stop the web server of each WebSphere Commerce
instance independently of the others
© Copyright IBM Corporation 2010
Instance configuration file
• <WC_installdir>/instances/<instance_name>/xml/
<instance_name>.xml
– This is the master configuration file for your instance.
– This file is deployed to the EAR when changes occur.
• <WC_eardir>/xml/config/wc-server.xml is the file used by the
runtime.
© Copyright IBM Corporation 2010
Deleting a WebSphere Commerce instance
• As non-root user run the command:
config_ant.sh –DinstanceName=value RemoveInstance
• The following configurations are removed:
– Instance-related configurations from WebSphere Application Server profile
– Web server configuration (IBM HTTP Server only)
– Unregister instance from Configuration Manager
– <WC_installdir>/instances/<instance> directory
• The following objects are not removed:
– Database
– WebSphere Application Server profile for the instance
© Copyright IBM Corporation 2010
Advanced configuration
DMZ: demilitarized zone
WAS: WebSphere Application Server
WC: WebSphere Commerce
Browser
WebServerA
Customer
Internet DMZ Intranet
WCServerA
WCServerB
WAS
server1
WAS
nodeagent
Web
server
DMgr
DBServerA
DBServerB
FirewallA FirewallB
WAS
server1
WAS
nodeagent
Shared
disk
WebSphere
Commerce
Server
WebSphere
Commerce
Server2
Database
server
WAS
dmgr
Database
server
Database
client
Database
client
WC
database
WAS
plug-in
© Copyright IBM Corporation 2010
Migration
• Contact IBM for migration from a version before version 5.6.1.
• Migration from the following versions is supported:
– WebSphere Commerce Version 6.0 Feature Pack 1, 2, 3, 4, 5
– WebSphere Commerce Version 5.6.1
• Migration to higher editions is supported.
• A GUI migration wizard is available.
– Outlines best practice approaches
– Provides default values
– Hides complexity of underlying tools
– Reduces probability of errors
Planning and testing phases are mandatory.
© Copyright IBM Corporation 2010
WebSphere Commerce V7 Feature Pack 1 installation
Use the integrated installation wizard.
• Download Feature Pack 1 from Passport Advantage site.
• Store in a temporary location FeaturePack_tempdir.
• As root, export the display and ensure access to the X server.
• Navigate to FeaturePack_tempdir.
• Enter: ./install
• Follow the wizard accepting the defaults.
• Enter WC_installdir for Product Installation Location.
• When the Summary Page displays, click Finish.
• Select and enable the fix pack feature or features desired.
© Copyright IBM Corporation 2010
Install WebSphere Commerce V7 Fix Pack 1 (1 of 2)
• Benefit:
– Allows upgrade to DB2 V9.7
– Allows migration from WebSphere Commerce V6 FP5
– Support for WebSphere Application Server 64 bit
– Fixes
• Three-step process:
– Install update installer
– Install fix pack to WebSphere Commerce product installation directory
– Install fix pack to all WebSphere Commerce instances
• Downloads:
– Latest installer
– Latest fix pack
– Check information center for relevant technotes
© Copyright IBM Corporation 2010
Install WebSphere Commerce V7 Fix Pack 1 (2 of 2)
Installation:
• Update installer:
– Expand the update installer.
– Install the update installer.
• Fix pack:
– Save the fix pack to UPDI_installdir/maintenance
– Run the GUI wizard installing the fix pack to WC_installdir
– Rerun the GUI wizard installing the fix pack to a WebSphere Commerce
instance.
– Silent installation is available.
© Copyright IBM Corporation 2010
Unit summary
Having completed this unit, you should be able to:
• Install WebSphere Commerce
• Configure WebSphere Commerce
• Verify an installation of WebSphere Commerce
• Explain the migration framework
• Use the migration framework to migrate from a previous version
• Install optional WebSphere Commerce components
• Install fix packs and feature packs for WebSphere Commerce
• Set up an instance of WebSphere Commerce
• Use the configuration manager tool and instance creation wizard
© Copyright IBM Corporation 2010
Checkpoint
1. What is the default WebSphere Commerce administrator ID?
A. ncadmin
B. wcsadmin
C. No default — defined during installation
D. No default — defined during instance configuration
2. Place the following components in the order in which they are created during
instance configuration:
A. Instance configuration file
B. WebSphere Application Server profile
C. WebSphere Commerce database
3. Which configuration screen allows you to change the ports used for WebSphere
Commerce tools access?
A. Instance
B. Database
C. WebSphere
D. Web server
4. According to the installation guide, what is the minimum amount of memory
needed to install WebSphere Commerce?
A. 1 GB B. 2 GB C. 4 GB D. 8 GB
© Copyright IBM Corporation 2010
Checkpoint solution
1. What is the default WebSphere Commerce administrator ID?
A.
B.
C. No default — defined during installation
D.
2. Place the following components in the order in which they are created during
instance configuration:
A. Instance configuration file
C. WebSphere Commerce database
B. WebSphere Application Server profile
3. Which configuration screen allows you to change the ports used for WebSphere
Commerce tools access?
A.
B.
C.
D. Web server
4. According to the installation guide, what is the minimum amount of memory
needed to install WebSphere Commerce?
B. 2 GB

Contenu connexe

Tendances

Tendances (20)

Web Assembly (on the server)
Web Assembly (on the server)Web Assembly (on the server)
Web Assembly (on the server)
 
WebSphere application server 8.5.5 - quick overview
WebSphere application server 8.5.5 - quick overviewWebSphere application server 8.5.5 - quick overview
WebSphere application server 8.5.5 - quick overview
 
Deep Dive into Docker Swarm Mode
Deep Dive into Docker Swarm ModeDeep Dive into Docker Swarm Mode
Deep Dive into Docker Swarm Mode
 
Cloud Native Application
Cloud Native ApplicationCloud Native Application
Cloud Native Application
 
Deploying CloudStack and Ceph with flexible VXLAN and BGP networking
Deploying CloudStack and Ceph with flexible VXLAN and BGP networking Deploying CloudStack and Ceph with flexible VXLAN and BGP networking
Deploying CloudStack and Ceph with flexible VXLAN and BGP networking
 
Boost your AWS Infrastructure with CDK
Boost your AWS Infrastructure with CDKBoost your AWS Infrastructure with CDK
Boost your AWS Infrastructure with CDK
 
Net Devops Overview
Net Devops OverviewNet Devops Overview
Net Devops Overview
 
VMWARE ESX
VMWARE ESXVMWARE ESX
VMWARE ESX
 
Ansible 101
Ansible 101Ansible 101
Ansible 101
 
아키텍처 현대화 분야 신규 서비스 - 주성식, AWS 솔루션즈 아키텍트 :: AWS re:Invent re:Cap 2021
아키텍처 현대화 분야 신규 서비스 - 주성식, AWS 솔루션즈 아키텍트 :: AWS re:Invent re:Cap 2021아키텍처 현대화 분야 신규 서비스 - 주성식, AWS 솔루션즈 아키텍트 :: AWS re:Invent re:Cap 2021
아키텍처 현대화 분야 신규 서비스 - 주성식, AWS 솔루션즈 아키텍트 :: AWS re:Invent re:Cap 2021
 
Infrastructure as Code Maturity Model v1
Infrastructure as Code Maturity Model v1Infrastructure as Code Maturity Model v1
Infrastructure as Code Maturity Model v1
 
Docker introduction &amp; benefits
Docker introduction &amp; benefitsDocker introduction &amp; benefits
Docker introduction &amp; benefits
 
VMware on AWS를 통한 하이브리드 클라우드 구축 적용 - 홍정진, AWS Partner SA/ VMC on AWS
VMware on AWS를 통한 하이브리드 클라우드 구축 적용 - 홍정진, AWS Partner SA/ VMC on AWSVMware on AWS를 통한 하이브리드 클라우드 구축 적용 - 홍정진, AWS Partner SA/ VMC on AWS
VMware on AWS를 통한 하이브리드 클라우드 구축 적용 - 홍정진, AWS Partner SA/ VMC on AWS
 
Running Microservices and Docker on AWS Elastic Beanstalk - August 2016 Month...
Running Microservices and Docker on AWS Elastic Beanstalk - August 2016 Month...Running Microservices and Docker on AWS Elastic Beanstalk - August 2016 Month...
Running Microservices and Docker on AWS Elastic Beanstalk - August 2016 Month...
 
Docker compose
Docker composeDocker compose
Docker compose
 
FSLogix 2.0 Explained 20150611
FSLogix 2.0 Explained   20150611FSLogix 2.0 Explained   20150611
FSLogix 2.0 Explained 20150611
 
Virtualization VMWare technology
Virtualization VMWare technologyVirtualization VMWare technology
Virtualization VMWare technology
 
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
 
infrastructure as code
infrastructure as codeinfrastructure as code
infrastructure as code
 
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShiftKubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
 

En vedette

Ch11 z5e solutions
Ch11 z5e solutionsCh11 z5e solutions
Ch11 z5e solutions
blachman
 
осъдителна присъда кюстендилски окръжен съд
осъдителна присъда  кюстендилски окръжен съдосъдителна присъда  кюстендилски окръжен съд
осъдителна присъда кюстендилски окръжен съд
Kristiyan Petroff
 
Self recommendation PPT
Self recommendation PPTSelf recommendation PPT
Self recommendation PPT
mike wang
 

En vedette (20)

websphere commerce server v6 install guide
websphere commerce server v6 install guidewebsphere commerce server v6 install guide
websphere commerce server v6 install guide
 
WebSphere Commerce v7 Data Load
WebSphere Commerce v7 Data LoadWebSphere Commerce v7 Data Load
WebSphere Commerce v7 Data Load
 
DB2 and Codepages
DB2 and CodepagesDB2 and Codepages
DB2 and Codepages
 
Feature Pack 8 for WebSphere Commerce – Are you making the most of latest rel...
Feature Pack 8 for WebSphere Commerce – Are you making the most of latest rel...Feature Pack 8 for WebSphere Commerce – Are you making the most of latest rel...
Feature Pack 8 for WebSphere Commerce – Are you making the most of latest rel...
 
Notating pop music
Notating pop musicNotating pop music
Notating pop music
 
NetEase - Story of a Transformation
NetEase - Story of a TransformationNetEase - Story of a Transformation
NetEase - Story of a Transformation
 
2016 Volvo S60 Brochure | Orange County Volvo Dealer
2016 Volvo S60 Brochure | Orange County Volvo Dealer2016 Volvo S60 Brochure | Orange County Volvo Dealer
2016 Volvo S60 Brochure | Orange County Volvo Dealer
 
dgdgdgdgd
dgdgdgdgddgdgdgdgd
dgdgdgdgd
 
Renolit cxi 2
Renolit cxi 2Renolit cxi 2
Renolit cxi 2
 
Ch11 z5e solutions
Ch11 z5e solutionsCh11 z5e solutions
Ch11 z5e solutions
 
осъдителна присъда кюстендилски окръжен съд
осъдителна присъда  кюстендилски окръжен съдосъдителна присъда  кюстендилски окръжен съд
осъдителна присъда кюстендилски окръжен съд
 
NALCO Recruitment 2015
NALCO Recruitment 2015NALCO Recruitment 2015
NALCO Recruitment 2015
 
The Layout of iMovie
The Layout of iMovieThe Layout of iMovie
The Layout of iMovie
 
BSidesNYC 2016 - An Adversarial View of SaaS Malware Sandboxes
BSidesNYC 2016 - An Adversarial View of SaaS Malware SandboxesBSidesNYC 2016 - An Adversarial View of SaaS Malware Sandboxes
BSidesNYC 2016 - An Adversarial View of SaaS Malware Sandboxes
 
G3a1 wang2q
G3a1 wang2qG3a1 wang2q
G3a1 wang2q
 
INGLES A1
INGLES A1INGLES A1
INGLES A1
 
Rescue1.asd
Rescue1.asdRescue1.asd
Rescue1.asd
 
Resultados Reunión N16
Resultados Reunión N16Resultados Reunión N16
Resultados Reunión N16
 
Khoa van-tay-kaba e10-fingerprint doorlock
Khoa van-tay-kaba e10-fingerprint doorlockKhoa van-tay-kaba e10-fingerprint doorlock
Khoa van-tay-kaba e10-fingerprint doorlock
 
Self recommendation PPT
Self recommendation PPTSelf recommendation PPT
Self recommendation PPT
 

Similaire à websphere commerce server admin configuration

Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administrators
Sharon James
 
Inmagic Content Server Enterprise/Standard v1.3 Install Notes
Inmagic Content Server Enterprise/Standard v1.3 Install NotesInmagic Content Server Enterprise/Standard v1.3 Install Notes
Inmagic Content Server Enterprise/Standard v1.3 Install Notes
webhostingguy
 

Similaire à websphere commerce server admin configuration (20)

AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
AAI-2016 WebSphere Application Server Installation and Maintenance in the Ent...
 
The Silence of the Installers
The Silence of the InstallersThe Silence of the Installers
The Silence of the Installers
 
Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administrators
 
Inmagic Content Server Enterprise/Standard v1.3 Install Notes
Inmagic Content Server Enterprise/Standard v1.3 Install NotesInmagic Content Server Enterprise/Standard v1.3 Install Notes
Inmagic Content Server Enterprise/Standard v1.3 Install Notes
 
IBM Lotusphere 2012 Show301: Leveraging the Sametime Proxy to support Mobile ...
IBM Lotusphere 2012 Show301: Leveraging the Sametime Proxy to support Mobile ...IBM Lotusphere 2012 Show301: Leveraging the Sametime Proxy to support Mobile ...
IBM Lotusphere 2012 Show301: Leveraging the Sametime Proxy to support Mobile ...
 
be the captain of your connections deployment
be the captain of your connections deploymentbe the captain of your connections deployment
be the captain of your connections deployment
 
Install Oracle FMW - 'Mostly Scripted'
Install Oracle FMW - 'Mostly Scripted'Install Oracle FMW - 'Mostly Scripted'
Install Oracle FMW - 'Mostly Scripted'
 
Packaging tool options
Packaging tool optionsPackaging tool options
Packaging tool options
 
Installation and Setup for IBM InfoSphere Streams V4.0
Installation and Setup for IBM InfoSphere Streams V4.0Installation and Setup for IBM InfoSphere Streams V4.0
Installation and Setup for IBM InfoSphere Streams V4.0
 
How to be a lion tamer
How to be a lion tamerHow to be a lion tamer
How to be a lion tamer
 
How to be a lion tamer
How to be a lion tamerHow to be a lion tamer
How to be a lion tamer
 
eFolder Expert Series Webinar - BDR Do's and Dont's: Featuring Andrew Bensing...
eFolder Expert Series Webinar - BDR Do's and Dont's: Featuring Andrew Bensing...eFolder Expert Series Webinar - BDR Do's and Dont's: Featuring Andrew Bensing...
eFolder Expert Series Webinar - BDR Do's and Dont's: Featuring Andrew Bensing...
 
1084: Planning and Completing an IBM Connections Upgrade
 1084: Planning and Completing an IBM Connections Upgrade 1084: Planning and Completing an IBM Connections Upgrade
1084: Planning and Completing an IBM Connections Upgrade
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to Virtualization
 
Automating That "Other" OS
Automating That "Other" OSAutomating That "Other" OS
Automating That "Other" OS
 
Connections install in 45 mins
Connections install in 45 minsConnections install in 45 mins
Connections install in 45 mins
 
Connect2016 Shipping Domino
Connect2016 Shipping DominoConnect2016 Shipping Domino
Connect2016 Shipping Domino
 
Connect2016 - 1172 Shipping domino
Connect2016 - 1172 Shipping dominoConnect2016 - 1172 Shipping domino
Connect2016 - 1172 Shipping domino
 
A Deep Dive into the Liberty Buildpack on IBM BlueMix
A Deep Dive into the Liberty Buildpack on IBM BlueMix A Deep Dive into the Liberty Buildpack on IBM BlueMix
A Deep Dive into the Liberty Buildpack on IBM BlueMix
 
SAP CRM 7.0 IDES Installation Steps
SAP CRM 7.0 IDES Installation StepsSAP CRM 7.0 IDES Installation Steps
SAP CRM 7.0 IDES Installation Steps
 

Dernier

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

websphere commerce server admin configuration

  • 1. Course materials may not be reproduced in whole or in part without the prior written permission of IBM. © Copyright IBM Corporation 2010 5.4.1 Installing and configuring WebSphere Commerce
  • 2. © Copyright IBM Corporation 2010 Unit objectives After completing this unit, you should be able to: • Install WebSphere Commerce • Configure WebSphere Commerce • Verify an installation of WebSphere Commerce • Explain the migration framework • Use the migration framework to migrate from a previous version • Install optional WebSphere Commerce components • Install fix packs and feature packs for WebSphere Commerce • Set up an instance of WebSphere Commerce • Use the configuration manager tool and instance creation wizard
  • 3. © Copyright IBM Corporation 2010 Hardware requirements: Linux on Intel or xSeries • Minimum requirements: – Dedicated Pentium III 733 MHz IBM-compatible personal computer – Minimum of 2 GB of memory per processor – Minimum of 4.5 GB of free disk space – Minimum of 1 GB of paging space per processor – Minimum of 6 GB of free disk space, if you install all of the required and optional components, with following recommended allocated file sizes: • /opt: 4.5 GB • /home: 1 GB • /tmp: 900 MB – DVD-ROM drive – Graphics-capable monitor with 256-color depth minimum – Mouse or other pointing device – Local area network (LAN) adapter that supports TCP/IP • Production requirements are greater.
  • 4. © Copyright IBM Corporation 2010 Software requirements: Linux • Red Hat Enterprise Linux AS/ES 4 Update 6 • Red Hat Enterprise Linux 5 Update 1 • SUSE Linux Enterprise Server 9 SP4 • SUSE Linux Enterprise Server 10 Update 1 • SUSE Linux Enterprise Server 11
  • 5. © Copyright IBM Corporation 2010 Commerce V7 package: Physical media • Commerce V7 DVDs: – Disk 1 – Disk 2 • WebSphere Application Server V7 Network Deployment: – Disk 1 contains IBM HTTP Server and WebSphere Application Server web server plug-ins. – Disk 2 contains WebSphere Application Server custom installation package. • DB2 ESE: – Server – Administration client • WebSphere Commerce Express includes WebSphere Application Server Express and DB2 Express.
  • 6. © Copyright IBM Corporation 2010 Commerce V7 package: Electronic media • WebSphere Commerce download image contains disk1 and disk2. • WebSphere Application Server V7 Network Deployment download image contains disk1 and disk2. • DB2 ESE download image contains the Server and Administration client. • The WebSphere Commerce Express version can be downloaded.
  • 7. © Copyright IBM Corporation 2010 Preinstallation checklist: Linux (1 of 2) • Ensure your host name conforms to TCP/IP standards and can be resolved to an IP address. • If a component of WebSphere Commerce is already installed, stop all services related to that component. • If you are running Lotus Notes or any other server on your machine, stop the server. • If you have a web server on your machine using ports 80, 443, 5432, 5433, 8000, 8001, 8002, 8004, 8006, or 8007, disable it or change its ports.
  • 8. © Copyright IBM Corporation 2010 Preinstallation checklist: Linux (2 of 2) • Ensure that you have root authority. • Ensure that no other install programs are active. • Ensure that your firewall configuration is set to permissive. • Ensure that your operating system does not log your command line. • Review the WebSphere Commerce README file. • Create the user IDs and groups required by WebSphere Commerce on any machine on which you plan to install WebSphere Commerce.
  • 9. © Copyright IBM Corporation 2010 Commerce 7 installer • Installer is updated to support the software that is included in WebSphere Commerce V7. • Installer provides a soft stop warning if the detected preinstalled software is not at the supported level. • Quick installation and custom installation are available. • WebSphere Commerce Payment instance is not available in the quick installation.
  • 10. © Copyright IBM Corporation 2010 Installation process: Linux (1 of 2) 1. As root, insert and mount the WebSphere Commerce V7 disk 1. 2. Ensure that X server is configured and working. 3. Navigate to the location of the of the local WebSphere Commerce DVD image. 4. Enter: mount_point/setup.sh 5. Launch pad will start. 6. Select the language for launch pad. 7. Click Install Product.
  • 11. © Copyright IBM Corporation 2010 Installation process: Linux (2 of 2) 8. Installation wizard steps through the installation: a. Verify prerequisites. b. Select installation type and components to install. c. Select database and web server products. d. View installation steps and begin installation. e. Install DB2, HTTP Server, WebSphere Application Server. f. Install WebSphere Commerce. g. Perform post-installation setup tasks. 9. After installation of all components, if custom installation was used, you are asked to restart the system.
  • 12. © Copyright IBM Corporation 2010 Installation types
  • 13. © Copyright IBM Corporation 2010 Quick installation defaults WebSphere Commerce instance demo WebSphere Commerce database mall WebSphere Application Server enterprise WC_demo WebSphere Application Server instance server1 WebSphere Application Server profile demo IBM HTTP Server instance webserver1
  • 14. © Copyright IBM Corporation 2010 Custom installation A custom installation is required in the following scenarios: • You want to use software already installed as part of the WebSphere Commerce stack. • You want to do a distributed installation of WebSphere Commerce or its components. • You want to use anything other than the standard IBM components. • You want to use the old implementation of WebSphere Commerce Payments.
  • 15. © Copyright IBM Corporation 2010 Installation directories DB2 /opt/IBM/db2/9.5 HTTP Server /opt/IBMIHS WebSphere Application Server /opt/IBM/WebSphere/ AppServer WebSphere Commerce /opt/IBM/WebSphere/ CommerceServer70
  • 16. © Copyright IBM Corporation 2010 Verify installation • Check the installation log files: – <WC_installdir>/logs/db2.setuplog – <WAS_installdir>/logs/install/log.txt – <WC_installdir>/logs/install.log – <WC_installdir>/instances/<instance_name>/logs – <WC_installdir>/logs/wctrace_date_time.log – <WC_installdir>/logs/wcinstall.log • Check that the non-root user starts DB2 correctly.
  • 17. © Copyright IBM Corporation 2010 Other installation considerations • Database – In a multi-tier environment, install the database server first. – If using Oracle, install and configure the database components first. • Web server – Ensure SSL is configured. – If using Microsoft IIS or Sun ONE, install and configure prior to WebSphere Commerce configuration. • Global security – Activated when WebSphere Application Server is installed – Can be deactivated using wsadmin – Should be enabled when site is in production – Requires user ID and password to execute commands or access console These steps are outlined in the WebSphere Commerce installation guide. Manual configuration of components may also be required.
  • 18. © Copyright IBM Corporation 2010 Installing optional components • All optional software must be installed separately. • Refer to the Additional Software Guide for instructions for: – WebSphere Commerce Analyzer – IBM Tivoli Directory Server (or other LDAP server) – WebSphere Commerce Recommendation Engine • This also includes instructions for configuring WebSphere MQ and WebSphere InterChange Server.
  • 19. © Copyright IBM Corporation 2010 Uninstalling Uninstalling WebSphere Commerce is not trivial, and its components must be uninstalled before WebSphere Application Server. 1. Stop WebSphere Commerce, and if present, Payment instances. 2. Stop any WebSphere Commerce, WebSphere Application Server, DB2 processes. 3. Delete any existing WebSphere Commerce instance. 4. If present, delete any existing WebSphere Payment instance. 5. Start the WebSphere Commerce uninstall process. 6. Uninstall WebSphere Application Server; then IBM HTTP Server. 7. Uninstall DB2 • Cleanup of directories and configuration files may be needed after WebSphere Commerce is uninstalled. • Follow the instructions in the Appendix of the Installation Guide carefully.
  • 20. © Copyright IBM Corporation 2010 The WebSphere Commerce instance Each WebSphere Commerce instance has its own: • WebSphere Application Server profile (created by Configuration Manager) • WebSphere Application Server Administration Console • IBM HTTP Server httpd.conf in <WC_installdir>/instances/inst/httpconf • IBM HTTP Server logs in <WC_installdir>/instances/inst/httplogs • IBM HTTP Server process • Database
  • 21. © Copyright IBM Corporation 2010 Configuration process • The WebSphere Commerce Configuration Manager is used to create the instance • Instance creation requires a number of configuration steps: 1. Create instance configuration files. 2. Create database, tables, indexes, and so forth. 3. Import bootstrap data. 4. Configure web server including SSL, virtual hosts, path aliases. 5. Configure WebSphere Application Server. • Virtual host aliases • JDBC driver and data source • Application server and application
  • 22. © Copyright IBM Corporation 2010 Start the Configuration Manager • Ensure that necessary services are started on the server. – Database server – IBM WebSphere Commerce 7.0 Configuration Manager • Start the Configuration Manager client. – Code to start the CM client • Log in to the Configuration Manager using the user ID configadmin and the password specified during installation.
  • 23. © Copyright IBM Corporation 2010 Create WebSphere Commerce instance
  • 24. © Copyright IBM Corporation 2010 Instance creation wizard (1 of 3) • Instance: – Enter instance name (must be unique). – Enter merchant key for data encryption. – Specify site administrator user ID and password. • Database: – Create new or use existing. – Enter database administrator name and password. – Enter database name (must be unique). – Choose database type (DB2 or Oracle). – Specify if remote database. • Schema: – Enter database user name. – Enter database password.
  • 25. © Copyright IBM Corporation 2010 Instance creation wizard (2 of 3) • WebSphere: – Enter cell and node name of WebSphere Application Server profile. – Enter data source name. – Enter JDBC driver location. • Specify languages for which to load translated data. • Web server: – Enter host name (must be unique). – Choose web server type. – Choose server ports. – Choose basic or X.509 authentication. • Staging: – Enable staging server. – Enable workspaces.
  • 26. © Copyright IBM Corporation 2010 Instance creation wizard (3 of 3) • Click Finish to begin instance creation: – Instance files are created in directory <WC_installdir>/instances/<instance_name> – Database is created and bootstrap data is loaded. – Web server definition is created. – WebSphere Application Server resources are imported. • Instance creation can take 30 minutes or longer. • After creation: – Start the web server for the WebSphere Commerce instance. – Start the WebSphere Commerce server.
  • 27. © Copyright IBM Corporation 2010 Commerce instance creation Ant targets divided into four logical groups: ConfigureDatabase • Database • Schema (tables, keys) • Bootstrap data ConfigureCommerceServer • Application server • Virtual hosts • Data source • EAR ConfigureWebServer • Web server configuration RegisterInstance • Configuration files Database Application Server Web Server config
  • 28. © Copyright IBM Corporation 2010 Invoking an Ant target 1. Depending which operating system you use, open a command prompt, UNIX shell, and so forth. 2. Since all Ant targets must be executed as the non-root user, switch to that user. 3. Navigate to the WC_installdir/bin directory. 4. Run the command: config_ant[.sh] -DinstanceName=instanceName -Dparam1=value1 -Dparam2=value2 CreateInstance
  • 29. © Copyright IBM Corporation 2010 Instance settings
  • 30. © Copyright IBM Corporation 2010 Verify configuration Check the instance creation log files to ensure successful database creation and WebSphere Application Server import. • Instance configuration file: – <WC_installdir>/instances/<instance_name>/xml/<instance_name>.xml • Instance creation logs: – <WC_installdir>/instances/<instance_name>/logs/createInstance*.log – <WC_installdir>/instances/<instance_name>/logs/createdb*.log • WebSphere Commerce Server log: – <WAS_installdir>/profiles/<instance_name>/logs/server1/SystemOut.log • Read the installation guide for more details on the available logs.
  • 31. © Copyright IBM Corporation 2010 WebSphere Application Server resources • WebSphere Application Server profile – <instance_name> • Application server – server1 • Web server – webserver1 • Enterprise application – WC_<instance_name> • Web modules • EJB modules • Connector modules • JDBC provider – <instance_name> — WebSphere Commerce JDBC provider • WebSphere Commerce DB2 data source <instance_name> • Virtual hosts
  • 32. © Copyright IBM Corporation 2010 Detailed configuration IBM HTTP Server WebSphere Application Server plug-in Uses Plugin-cfg.xml WebSphere Commerce virtual hosts Application Server server1 WebSphere Commerce EAR WebSphere Application Server cell Bind to Run on Run onRun on WARs EJBs Web server definition Generate
  • 33. © Copyright IBM Corporation 2010 Configure an SSL certificate
  • 34. © Copyright IBM Corporation 2010 Testing instance creation • If you can log on to the WebSphere Commerce tools, the configuration was most likely successful. • Before you launch the WebSphere Commerce tools, you must perform the following: – Make sure SSL is enabled in the web server. – Verify your browser settings. • Launch WebSphere Commerce Administration Console. – https://<hostname>:8002/adminconsole – Log in as site administrator specified in instance wizard.
  • 35. © Copyright IBM Corporation 2010 Starting and stopping an instance • WebSphere Application Server node agent • Execute the command from a profile: <WAS_installdir>/profiles/<profileName>/bin/ • startServer.sh <server> • stopServer.sh <server> • serverStatus.sh –all
  • 36. © Copyright IBM Corporation 2010 WebSphere profiles • WebSphere files are split into two components: – Shared static files or product binaries – User customizable data files (profiles), which include WebSphere configuration, installed applications, resource adapters, properties, log files, and others
  • 37. © Copyright IBM Corporation 2010 Advantages of profiles • Stand-alone EAR • Ant targets for configuration • Clustering improves as WebSphere Application Server distributes the EAR to all cluster members Benefits: • Follows the WebSphere Application Server administration model – Simplify migration to future releases of WebSphere Application Server – Better management using the WebSphere Application Server Administrative Console • Manage the runtime state of the WebSphere Commerce application and WebSphere Administration Server – Set trace specification without restarting server – Start or stop WebSphere Commerce using the administrative console – Automatic propagation of plugin-cfg.xml file charges for IBM HTTP Server • Can start and stop the web server of each WebSphere Commerce instance independently of the others
  • 38. © Copyright IBM Corporation 2010 Instance configuration file • <WC_installdir>/instances/<instance_name>/xml/ <instance_name>.xml – This is the master configuration file for your instance. – This file is deployed to the EAR when changes occur. • <WC_eardir>/xml/config/wc-server.xml is the file used by the runtime.
  • 39. © Copyright IBM Corporation 2010 Deleting a WebSphere Commerce instance • As non-root user run the command: config_ant.sh –DinstanceName=value RemoveInstance • The following configurations are removed: – Instance-related configurations from WebSphere Application Server profile – Web server configuration (IBM HTTP Server only) – Unregister instance from Configuration Manager – <WC_installdir>/instances/<instance> directory • The following objects are not removed: – Database – WebSphere Application Server profile for the instance
  • 40. © Copyright IBM Corporation 2010 Advanced configuration DMZ: demilitarized zone WAS: WebSphere Application Server WC: WebSphere Commerce Browser WebServerA Customer Internet DMZ Intranet WCServerA WCServerB WAS server1 WAS nodeagent Web server DMgr DBServerA DBServerB FirewallA FirewallB WAS server1 WAS nodeagent Shared disk WebSphere Commerce Server WebSphere Commerce Server2 Database server WAS dmgr Database server Database client Database client WC database WAS plug-in
  • 41. © Copyright IBM Corporation 2010 Migration • Contact IBM for migration from a version before version 5.6.1. • Migration from the following versions is supported: – WebSphere Commerce Version 6.0 Feature Pack 1, 2, 3, 4, 5 – WebSphere Commerce Version 5.6.1 • Migration to higher editions is supported. • A GUI migration wizard is available. – Outlines best practice approaches – Provides default values – Hides complexity of underlying tools – Reduces probability of errors Planning and testing phases are mandatory.
  • 42. © Copyright IBM Corporation 2010 WebSphere Commerce V7 Feature Pack 1 installation Use the integrated installation wizard. • Download Feature Pack 1 from Passport Advantage site. • Store in a temporary location FeaturePack_tempdir. • As root, export the display and ensure access to the X server. • Navigate to FeaturePack_tempdir. • Enter: ./install • Follow the wizard accepting the defaults. • Enter WC_installdir for Product Installation Location. • When the Summary Page displays, click Finish. • Select and enable the fix pack feature or features desired.
  • 43. © Copyright IBM Corporation 2010 Install WebSphere Commerce V7 Fix Pack 1 (1 of 2) • Benefit: – Allows upgrade to DB2 V9.7 – Allows migration from WebSphere Commerce V6 FP5 – Support for WebSphere Application Server 64 bit – Fixes • Three-step process: – Install update installer – Install fix pack to WebSphere Commerce product installation directory – Install fix pack to all WebSphere Commerce instances • Downloads: – Latest installer – Latest fix pack – Check information center for relevant technotes
  • 44. © Copyright IBM Corporation 2010 Install WebSphere Commerce V7 Fix Pack 1 (2 of 2) Installation: • Update installer: – Expand the update installer. – Install the update installer. • Fix pack: – Save the fix pack to UPDI_installdir/maintenance – Run the GUI wizard installing the fix pack to WC_installdir – Rerun the GUI wizard installing the fix pack to a WebSphere Commerce instance. – Silent installation is available.
  • 45. © Copyright IBM Corporation 2010 Unit summary Having completed this unit, you should be able to: • Install WebSphere Commerce • Configure WebSphere Commerce • Verify an installation of WebSphere Commerce • Explain the migration framework • Use the migration framework to migrate from a previous version • Install optional WebSphere Commerce components • Install fix packs and feature packs for WebSphere Commerce • Set up an instance of WebSphere Commerce • Use the configuration manager tool and instance creation wizard
  • 46. © Copyright IBM Corporation 2010 Checkpoint 1. What is the default WebSphere Commerce administrator ID? A. ncadmin B. wcsadmin C. No default — defined during installation D. No default — defined during instance configuration 2. Place the following components in the order in which they are created during instance configuration: A. Instance configuration file B. WebSphere Application Server profile C. WebSphere Commerce database 3. Which configuration screen allows you to change the ports used for WebSphere Commerce tools access? A. Instance B. Database C. WebSphere D. Web server 4. According to the installation guide, what is the minimum amount of memory needed to install WebSphere Commerce? A. 1 GB B. 2 GB C. 4 GB D. 8 GB
  • 47. © Copyright IBM Corporation 2010 Checkpoint solution 1. What is the default WebSphere Commerce administrator ID? A. B. C. No default — defined during installation D. 2. Place the following components in the order in which they are created during instance configuration: A. Instance configuration file C. WebSphere Commerce database B. WebSphere Application Server profile 3. Which configuration screen allows you to change the ports used for WebSphere Commerce tools access? A. B. C. D. Web server 4. According to the installation guide, what is the minimum amount of memory needed to install WebSphere Commerce? B. 2 GB