WebSphere Tutorial · Traditional WebSphere Application Server · Lesson 13 of 23
Cells, Nodes and the Deployment Manager
The traditional WAS Network Deployment architecture: profiles, cells, the Deployment Manager, node agents, application servers and clusters.
The building blocks
Cell (administrative domain)
├── Deployment Manager (dmgr): master configuration, admin console, wsadmin target
├── Node 1 (host-a): node agent + application servers ── ordersCluster member 1
└── Node 2 (host-b): node agent + application servers ── ordersCluster member 2
- A profile is a runtime environment created from one installation with
manageprofiles.sh: a Deployment manager profile, application server profiles, or custom (managed node) profiles. - A node joins the cell with
addNode.sh; its node agent then synchronises configuration from the dmgr and starts and stops the node's servers. - A cluster is a group of servers (members) running the same applications, usually on different nodes.
- Configuration lives in a repository of XML files; you change it at the dmgr, save, and it's synchronised to the nodes.
If the Deployment Manager is down, applications keep running; you just can't change configuration centrally until it returns. The Base edition is a single server without cells; Network Deployment (ND) adds cells and clusters.
cell = {"dmgr": "up", "nodes": {"host-a": {"nodeagent": "up", "servers": {"orders1": "up"}},
"host-b": {"nodeagent": "up", "servers": {"orders2": "up"}}}}
def status(cell):
serving = [s for n in cell["nodes"].values() for s, st in n["servers"].items() if st == "up"]
can_change = cell["dmgr"] == "up"
return f"serving: {serving}; central config changes: {'possible' if can_change else 'blocked'}"
print("normal: ", status(cell))
cell["dmgr"] = "down"
print("dmgr down: ", status(cell))
cell["nodes"]["host-a"]["servers"]["orders1"] = "down"
print("dmgr + member 1: ", status(cell))
Output
normal: serving: ['orders1', 'orders2']; central config changes: possible dmgr down: serving: ['orders1', 'orders2']; central config changes: blocked dmgr + member 1: serving: ['orders2']; central config changes: blocked
Test yourself
What does a node agent do?
Serves HTTP trafficSynchronises configuration from the Deployment Manager and manages the node's serversStores application dataReplaces IBM HTTP Server
Show answer
Answer: Synchronises configuration from the Deployment Manager and manages the node's servers
Node agents are the dmgr's hands on each node.