1. Create a profile
Create a dmgr server through the command line, enter the $ {was_home}/bin directory, and run
./Manageprofiles. Sh-create-templatepath$ {Was_home}/Profiletemplates/dmgr-profilename$ {Profilename}
For example, go to the/opt/IBM/WebSphere/appserver 7/bin/directory and run
CD $ {was_home}/bin
./Manageprofiles. Sh-create-templatepath/opt/IBM/WebSphere/appserver7/profiletemplates/dmgr-profilename dmgr01
Note: The template must be dmgr.
Create the cmdrv01 application server through the command line, enter the $ {was_home}/bin directory, and run
./Manageprofiles. Sh-create-templatepath/opt/IBM/WebSphere/appserver7/profiletemplates/default-profilename$ {Profilename}
For example, go to the/opt/IBM/WebSphere/appserver7/bin/directory and run
CD $ {was_home}/bin
./Manageprofiles. Sh-create-templatepath/opt/IBM/WebSphere/appserver7/profiletemplates/default-profilename limit rv01
Note: The template must be set to default.
The WebSphere E7 profile is equivalent to the Weblogic domain.
After creating a profile, you must first run "Install Verification" in "Step 1". Otherwise, you may not be able to access it after the program is published, even if the port number is correct.
The Port Number of the WebSphere console is different from that of the application during access.
2. Delete the profile
1. cd c: \ Program Files \ IBM \ WebSphere \ appserver \ bin
2. manageprofiles. Bat-listprofiles (displays the summary file list)
3. manageprofiles. Bat-delete-profilename into rv02 (delete configuration information of the Profile)
4. Delete the profile directory under c: \ Program Files \ IBM \ WebSphere \ appserver \ profiles
Note: before deleting the profile, stop the corresponding service.
3. view the port numbers of the summary file.
For example, the command to view the dmgr port number is as follows:
CD/opt/IBM/WebSphere/appserver7/profiles/dmgr/logs
Tail aboutthisprofile.txt
4. Start and Stop services
For example:
Start the appsrv01 Management Server
Go to the installation directory WebSphere \ appserver7 \ profiles \ cmdrv01 \ bin of the iisrv01 application server and run the following command:
./Startserver. Sh server1 (./before the command must be added; otherwise, the command cannot be found)
Stop the appsrv01 Management Server
Go to the installation directory WebSphere \ appserver7 \ profiles \ cmdrv01 \ bin of the iisrv01 application server and run the following command:
./Stopserver. Sh server1 (./before the command must be added; otherwise, the command cannot be found)
5. View logs
For example, go to the installation directory WebSphere \ appserver7 \ profiles \ invalid rv01 \ logs \ server1 of the iisrv01 application server and run the following command:
Tail systemout. Log
Tail systemerr. Log
Or use the VI command