If you are planning to configure High Availability (Active-Active cluster) in 11g Fusion Middleware components (SOA, WebCenter) then its important that you should know pack and unpack command in WebLogic Server.
If you are new to Oracle WebLogic Server Server then first read about Domain, Administration Server and Managed Server here
Why you should know about pack.sh & unpack.sh in Fusion Middleware (Weblogic) clustering (High Availability) ?
As part of Active-Active cluster –
1.You would install Fusion Middleware (WebLogic & SOA/WebCenter) on Machine1 and Machine2 .
For steps on How to install SOA Suite 11g on single node click here
2.Create a domain (with WebLogic cluster and Machine) on Machine1 using config.sh more here
3. Run pack.sh to bundle domain and templates from Machine1 (This will create jar file)
4. Copy jar file (created by using pack.sh command) from Machine1 to Machine2
5. Use unpack.sh to create domain & managed server on Machine2
You would also need pack and unpack command to run a managed server on a machine that is remote from the administration server for the domain.
What is pack.sh & unpack.sh command ?
pack and unpack commands provide a simple, one-step method for creating domains and templates from the command line.
These shell scripts are available in$MW_HOME/wlserver_[ver]/common/bin
Syntax of the Pack Command
pack -domain=path_of_domain -template=path_of_jara_file_to_create -template_name=”template_name” [-template_author=”author”][-template_desc=”description”] [-managed=true|false][-log=log_file] [-log_priority=log_priority]
Syntax of the Unpack Command
unpack -template=path_of_jara_file -domain=path_of_domain_to_be_created [-user_name=username] [-password=password] [-app_dir=application_directory] [-java_home=java_home_directory] [-server_start_mode=dev|prod] [-log=log_file] [-log_priority=log_priority]
Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Oracle Gold Partner specialising in Design, Implement, and Trainings.
Find Us On