unpackcommands provide a one-step method for creating WebLogic domains and templates from the command line. These commands are available in the
You cannot use these commands to customize the contents of your WebLogic domain or template in the same way as with the other tools.
In addition to the
unpack commands, you can use the Configuration Wizard, Domain Template Builder, or WebLogic Scripting Tool to create WebLogic domains and templates.
You can create the following types of templates by using the
pack command, and then use them in the
unpack command to create either a WebLogic domain or a Managed Server domain:
Domain template: This type of template defines the full set of resources within a WebLogic domain, including infrastructure components, applications, services, security options, and general environment and operating system options. You can use a domain template as the basis for new WebLogic domains.
Managed Server template: This type of template defines the subset of resources within a WebLogic domain that are required to create a Managed Server domain directory on a remote system. You can create a Managed Server template by using the
packcommand with the
When you then use the Managed Server template with the
unpackcommand, the Managed Server domain directory that is created contains sufficient bootstrap information to start the Managed Server on the remote system. You can start the Managed Server on the remote system by using either the Node Manager or customized start scripts that were created when you unpacked the template on the remote system.
This chapter includes the following sections:
Introduction to the Pack Command
pack command provides a method for creating a template from the command line in one step. However, it does not allow you to customize the content of your template the way you can customize by using the Domain Template Builder.
pack command helps you perform the following tasks quickly:
Create a domain template that contains a snapshot of an entire working WebLogic domain.
You can then use this template as the basis for a new WebLogic domain that you create by using either the
unpackcommand, Configuration Wizard, or WLST.
Create a Managed Server template that contains a subset of the files in a WebLogic domain that are required to create a Managed Server domain directory hierarchy on a remote system.
You can then create the Managed Server domain directory on the remote system by using the
Introduction to the Unpack Command
unpack command provides a one-step method for creating a WebLogic domain quickly from an existing template by using the default settings defined in the template.
When creating a WebLogic domain,
unpack does not provide the same customization options as the Configuration Wizard or WLST. However, if you use the
unpack command with a domain template, you can do the following:
Change the password for the default administrative user defined in the template.
Add an administrative user when the default administrative user already has a password specified in the template.
Specify the JDK and start mode for the WebLogic domain.
Specify an applications directory, if one is supported by the template.
unpack, you can also create a Managed Server domain directory based on a Managed Server template that was created with the
pack command. The Managed Server uses the settings defined for the Administration Server. Therefore, you cannot change the JDK or the start mode, add administrative users, or change the administrator password.
You cannot use
unpack to extend a WebLogic domain.