Creating DMGR & Two Managed Profile $ Federating Nodes To DMGR
In this example I will be creating DMGR, Managed profiles in three different machines/Server/VM. DMGR Profile will be created on devserver02 server. Managed (AppSrv01) Profile will be created on devserver03 server. Managed (Custom01) Profile will be created on devserver04 server. Then this Managed nodes will be federated to the DMGR console. Now we can manage the nodes through DMGR Admin Console. Let see how to create this environment on Linux OS.
1. Create DMGR Profile
# hostname
devserver02
# pwd
/opt/IBM/WebSphere/AppServer/bin
# ./manageprofiles.sh -create -profileName Dmgr01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/dmgr -nodeName dmgrNode01 -cellName dmgrNode01Cell
CWMBU0002I: The deployment manager profile template has been deprecated and replaced by the management profile template with a deployment manager server.
INSTCONFSUCCESS: Success: Profile Dmgr01 now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/AboutThisProfile.txt for more information about this profile.
2. Create Managed Profile On Host "devserver03".
# hostname
devserver03
# pwd
/opt/IBM/WebSphere/AppServer/bin
# ./manageprofiles.sh -create -profileName AppSrv01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed -nodeName devserver03Node01 -cellName devserver03Node01cell
INSTCONFSUCCESS: Success: Profile AppSrv01 now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/AboutThisProfile.txt for more information about this profile.
3. Create Managed Profile On Host "devserver04".
[root@devserver04 bin]# hostname
devserver04
# pwd
/opt/IBM/WebSphere/AppServer/bin
# ./manageprofiles.sh -create -profileName Custome01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/Custom01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed -nodeName devserver04Node01 -cellName devserver04Node01cell
INSTCONFSUCCESS: Success: Profile Custome01 now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/Custom01/logs/AboutThisProfile.txt for more information about this profile.
4. Start the DMGR on server "devserver02"
# pwd
/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin
# ./startManager.sh
5. Federate AppSrv01/devserver03Node01 Node to DMGR Profile/Console, While federating node to dmgr, nodeagent will be started automatically.
# hostname
devserver03
# pwd
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
# ./addNode.sh devserver02 8879
6. Federate Custome01/devserver04Node01 Node to DMGR Profile/Console, While federating node to dmgr, nodeagent will be started automatically.
# hostname
devserver04
# pwd
/opt/IBM/WebSphere/AppServer/profiles/Custome01/bin
# ./addNode.sh devserver02 8879
7. Login to DMGR console and validate Nodes have been federated.
8. Nodeagent is running on both the nodes.
Comments
Post a Comment