Artwork implying World Wide Web Architecture

Installing Websphere Application Server (v6.1) From Scratch

Part of the WebSphere Application Server in Plain English Series
Most recently modified on 2007-08-23
Back to home pageBack to articles page
#!/bin/bash
# sample shell script
#
# create the deployment manager node
# and the deployment manager server
manageprofiles.sh -create 
	-profileName CellManager 
	-profilePath /opt/profiles/cellManager 
	-templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/dmgr

# create a profile for a node that will be managed
# by the deployment manager we just created
# There are no servers in this node -- just a node agent
manageprofiles.sh -create 
	-profileName FirstNode 
	-profilePath /opt/profiles/firstNode 
	-templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed

# Federate the new node into the cell
# that the deployment manager controls
addNode.sh DmgrHostName -profileName FirstNode 

# Create an application server in the node
wsadmin.sh -lang jython 
	-c "AdminTask.createApplicationServer( FirstNode, 
			['-name', 'muggle', '-template', 'default'] )"
        
Installing WebSphere Application Server v6.1 will typically involve the following activities more or less in the order listed
  1. Install the WebSphere Application Server binaries on each computer that will have a managed web server, an application server, a node agent, or a deployment manager.
  2. Use the manageprofiles shell script to create a deployment manager profile
  3. Use the manageprofiles shell script to create a managed node. (Earlier versions of WAS called this a custom node) This node will not have any application servers or node agents at this time.
  4. Use the addNode shell script to federate the new node. This creates a node agent and tells the node agent where to find the deployment manager for this cell
  5. Add one or more application servers and web servers to the new node

Photo of the author

Arthur Kevin McGrath

Bio:

The author is an engineer with the consulting firm, Contract Engineers. He has consulted and lectured extensively since 1987 about the infrastructure that makes electronic commerce possible

To schedule a speaker at your location, write speakers@edu4eng.com
To inquire about consulting for your company, write consultants@edu4eng.com
To inquire about training for your company, write training@edu4eng.com