How to create the Admin agent profile through command line.
Follow some basic steps to create the application server profile through manageprofiles command.
1. Open the shell and cmd tool
2. Go to the was_bin location
3. Execute the below command
Exmpale :-
'[root@localhost bin]# pwd
/opt/IBM/WebSphere/AppServer/bin
[root@localhost bin]# ./manageprofiles.sh -create -profileName AdminAgent01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/management/ -serverType ADMIN_AGENT -cellName Adminagent01Cell01 -nodeName AdminagentNode01 -enableAdminSecurity -userName wasadmin -password wasadmin
INSTCONFSUCCESS: Success: Profile AdminAgent01 now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/AdminAgent01/logs/AboutThisProfile.txt for more information about this profile.
1. Open the shell and cmd tool
2. Go to the was_bin location
3. Execute the below command
Exmpale :-
'[root@localhost bin]# pwd
/opt/IBM/WebSphere/AppServer/bin
[root@localhost bin]# ./manageprofiles.sh -create -profileName AdminAgent01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/management/ -serverType ADMIN_AGENT -cellName Adminagent01Cell01 -nodeName AdminagentNode01 -enableAdminSecurity -userName wasadmin -password wasadmin
INSTCONFSUCCESS: Success: Profile AdminAgent01 now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/AdminAgent01/logs/AboutThisProfile.txt for more information about this profile.
For more information about the profile to see the log inside the profile log directory
Path:- /opt/IBM/WebSphere/AppServer/profiles/AdminAgent01/logs
[root@localhost logs]# cat AboutThisProfile.txt
Application server environment to create: Management
Location: /opt/IBM/WebSphere/AppServer/profiles/AdminAgent01
Disk space required: 30 MB
Profile name: AdminAgent01
Make this profile the default: False
Node name: AdminagentNode01
Cell name: Adminagent01Cell01
Host name: localhost
Enable administrative security (recommended): False
Administrative console port: 9074
Administrative console secure port: 9057
Management bootstrap port: 9807
Management SOAP connector port: 8877
Run Management as a service: False
Comments
Post a Comment