[ZT] WebSphere Application Server Overview (profile) Introduction, Part 1: How to manage Overview

Source: Internet
Author: User
Tags websphere application server

 

Introduction: In the first part of this series, we will introduce you to the topology of Websphere Application Server System Management, the basic types of the overview, and how to use the overview to create a system, this gives you a clearer and more comprehensive understanding of the basic concepts of the Summary. The second part of the series explains in detail how to create an overview based on different summary types in a distributed system and how to combine custom nodes with a specific unit, how to create an application server on an existing node and how to associate an application server with a specific unit gives you a clearer understanding of how to create an overview. This article is a summary Series Article The third part is taken from section 3rd of IBM Redbook WebSphere Application Server v6.1: system management and configuration, which describes how to use the manageprofiles command to manage the overview.

You have seen how to create a summary using the profile management tool. The core of this wizard isManageprofiLesCommand. This command provides you with a method to perform common maintenance activities on the summary. For example, you can call this command to create, list, and delete a summary, verify the summary registration center, and complete other functions.

 

Back to Top

Use the manageprofiles command

ManageprofiLesThe command can be<Was_home>/Bin directory.

Syntax

ManageprofiLesCommand to use the following syntax:

~ For Windows, useManageprofiles. Bat-Mode-Parameters

~ For UNIX, use manageprofiles. Sh-Mode-Parameters

You can use the following modes in table 1.

Table 1 manageprofiles Mode

Mode Purpose
-Create: Create a new summary.
-Augment Use a given summary template to expand a specific summary.
-Delete Delete a summary.
-Unaugment: Cancel the expansion of the Summary.
-Deleteall Delete all registered profiles.
-Listprofile List the summary in the summary registration center.
-Getname Returns the name of the summary in the specified path.
-Getpath Returns the path of the specified summary name.
-Validateregistry Verify the summary registration center and return a list of invalid summary.
-Validateandupdateregistry Verify the summary registration center to list the summary of the cleared invalid summary.
-Getdefaultname Returns the name of the default summary.
-Setdefaultname Set the default summary.
-Backupprofile Back up the specified summary to a zip file.
-Restoreprofile Restore the specified summary from the ZIP file.
-Response Manage the summary in a response file.
-Help Show Help.

The following two examples showManageprofiles-<mode>-helpAndManageprofiles-listprofilesResult of the Mode:

InputManageprofiles-<mode>-helpTo display detailed help for each mode. See example 1 to viewManageprofiles-create-helpCommand example.

Example 1 get the help information of the manageprofiles command

C: \ Program Files \ IBM \ WebSphere \ appserver \ bin> manageprofiles-create-help

The following command line arguments are required for this mode. command-line arguments are case sensitive.

-Create: Creates a new profile. Specify-help-create-templatepath <path> to get template-specific help information.

-Templatepath: The fully qualified path name of the profile template that is located on the file system. The following example selects a template:

-Templatepath <app_server_home>/profiletemplates/<template_name>

-Profilename: the name of the profile.

Profilepath: the intended location of the profile in the file system. The following command line arguments are optional, and have no default values. command-line arguments are case sensitive.

-Isdefault: Make this profile the default target of commands that do not use their profile parameter.

InputManageprofiles-listprofilesTo view the summary list of the Registration Center. The following is an example of the output result of-listprofiles:

Example 2 view the summary list of the Registration Center

C: \ Program Files \ IBM \ WebSphere \ appserver \ bin> manageprofiles-listprofiles [dmgr01, 127rv01, custom01, custom02, dmgr02]

Back to Top

Create a summary

You can useManageprofilesCommand instead of the profile management tool to create a summary.

ProfileTemplate:The summary is created based on the template provided with the product. These templates are located in<Was_home>/Profiletemplates. Each template consists of a group of files that provide initial profile settings and a list of operations that will be taken after the profile is created. Currently, no methods have been provided for you to modify these templates and create new templates. When you useManageprofiLesWhen creating a summary, you must specify one of the following templates:

    • Default (for ApplicationsProgramServer overview)
    • Dmgr (for Deployment Manager overview)
    • Managed (for custom summary)
    • Cell (for unit summary)

For example, Example 3 shows the command to create an application server named saserver1 under Node sanodel in the sacell1 unit of host kcgg1d7.itso.ibm.com.

Example 3 use the manageprofiles command to create a summary

CD $ was_home \ bin

{Asuming was_home was set to some value, for example to "C: \ Program Files \ IBM \ WebSphere \ appserver "}

Manageprofiles-create-profilename saserver1-profilepath c: \ mywas61profiles \ Alibaba \ saserver1-templatepath $ was_home \ profiletemplates \ default-nodename sanode1-cellname sacell1-hostname Authentication

Create a summary in silent mode

You can use the response file to create a summary in silent mode. The command used is:

<Profile_management_tool>-Options<Response_file>-Silent

In this example,<Profile_management_tool>Is the command required to start the profile management tool. The command used to start the Wizard is related to the platform.<Was_home>/Bin/profilemanagement. Select the command for your platform in table 2.

Table 2 platform-specific creation wizard

Platform(32Bit) Profile ManagementTool commands
Linux/HP-UX/Solaris/AIX PMT. Sh
Windows PMT. bat

The sample response file is stored in<Was_home>/Bin/profilecreator directory.

Back to Top

Delete Summary

To delete a summary, you must perform the following operations:

1. If you want to remove a custom summary or Application Server summary that has been associated with a unit:

    • Stop the application server on the node.
    • Use the console orRemovenodeCommand to remove the node from the Unit. Removing a node does not delete it, but restores it to the configuration before the Union. This configuration was previously saved as part of the Union process.
    • UseManageprofiLes-DeleteDelete the summary.
    • UseManageprofiLes-ValidateandupdateregistryCommand to clear the summary registration center.
    • Delete<Profile_home>Directory.

2. If you want to remove an application server that is not associated with a unit, the following is an overview:

    • Stop the application server.
    • UseManageprofiLes-DeleteDelete the summary.
    • UseManageprofiLes-ValidateandupdateregistryCommand to clear the summary registration center.
    • Delete<Profile_home>Directory.

3. If you want to remove a Deployment Manager summary:

    • Use the console orRemovenodeCommand to remove all nodes associated with the unit. Removing a node does not delete it, but restores it to the configuration before the Union. This configuration was previously saved as part of the Union process.
    • Stop the Deployment Manager.
    • UseManageprofiLes-DeleteDelete the summary.
    • UseManageprofiLes-ValidateandupdateregistryCommand to clear the summary registration center.
    • Delete<Profile_home>Directory.

Delete A summary using manageprofiles

To delete a summary, useManageprofiLes-DelEteCommand. The format is:

Manageprofiles-delete-profilename <profile>

After the command is completed, the summary will be removed from the summary registration, and runtime components except log files will also be removed from<Profile_home>Directory.

If an error occurs when deleting the summary, check the following logs:<Was_home>/Logs/manageprofile/<Profile_name>_ Delete. Log

For example, in Example 4, you can see thatManageprofiLesCommand to delete the summary named node06.

Example 4 Use manageprofiles to delete a summary

C: \ WebSphere \ nd \ profiles \ dmgr01 \ bin> manageprofiles-delete-profilename node06

Instconfuccess: success: the profile no longer exists.

As you can see in example 4, everything seems to be going smoothly. However, as an additional step to ensure that the registration center has been correctly updated, you can list the summary to ensure that the summary has been removed from the Registration Center and verified. See example 5.

Example 5 verify the result of deleting the summary

C: \ WebSphere \ nd \ profiles \ dmgr01 \ bin> manageprofiles-listprofiles[Dmgr01, 2017rv01, 2017rv02, samplesserver, webserver2node, dmgrsecure]

Note::If a problem occurs during the deletion process, you can manually delete the summary. For more information, seeDeleting a profileTopic.

Back to Top

Conclusion

In the first part of this series, we will introduce you to the topology of Websphere Application Server System Management, the basic types of the overview, and how to use the overview to create a system, this gives you a clearer and more comprehensive understanding of the basic concepts of the Summary. The second part of the series explains in detail how to create an overview based on different summary types in a distributed system and how to combine custom nodes with a specific unit, how to create an application server on an existing node and how to associate an application server with a specific unit gives you a clearer understanding of how to create an overview. This is the third part of the summary series, which is taken from Chapter 3rd of the IBM Redbook WebSphere Application Server v6.1: system management and configuration, this section describes how to use the manageprofiles command to manage the overview.

References

  • WebSphere Application Server Information Center: You can use this information center to learn more about WebSphere Application Server.

  • Introduction to WebSphere Application Server Overview (profile), Part 1: Basic Concepts: This article introduces you to the topology structure and basic types of the overview of Websphere Application Server system management, and how to use the summary to create a system, so that you can have a clearer and more comprehensive understanding of the basic concepts of the Summary.
  • Introduction to WebSphere Application Server Overview (profile), Part 1: How to create an overview: This article describes in detail how to create an overview based on different summary types in a distributed system, how to associate a custom node with a specific unit, how to create a new application server on an existing node, and how to associate an application server overview with a specific unit, this gives you a clearer understanding of how to create a summary.
  • IBM Redbook WebSphere Application Server v6.1: system management and configuration: This Redbook provides information related to the configuration and management of Websphere Application Server v6.1.
  • WebSphere Application Server FAQs: this topic provides you with the most common answers to basic WebSphere Application Server problems.
  • High Availability and deployment considerations for transactions in WebSphere Application Server V6: This article describes two main types of high availability transactions and discusses their related infrastructure requirements, describes how to enable these types of high availability configuration in your WebSphere Application Server deployment.
  • Getting started with WebSphere Application Server: Understand the window of Websphere products and technologies, basic concepts, main functions, learning and usage of Websphere, and links to various WebSphere-related learning, training, software downloads, and other resources ..
  • WebSphere Application Server: provides you with a resource center for the IBM WebSphere Application Server.
  • WebSphere Application Server product topics: provides you with the latest IBM WebSphere Application Server articles, tutorials, and other related resources.
  • How to configure the Web management console for the newly created Application Server: This article describes a solution to deploy the Web Management Console to other application servers using the wsadmin command, facilitating user management.
  • Cluster implementation in was6.0 Nd: This article introduces how to build a was nd horizontal cluster environment from scratch and how to set up an existing Single Node (or three nodes) the web environment is expanded to a five-node cluster environment.
  • understanding of the IBM was nd distributed network environment and the implementation of clusters: This article describes the concepts of clusters and distributed network environments based on the middleware product IBM was nd v6.1, which is widely used, an instance is used to demonstrate the complete implementation process of the cluster environment.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.