用于制作域模板,经常用于集群受管服务器的复制
命令位于:<middleware home> /oracle_common/common/bin
<middleware home> /oracle_common/common/bin/pack.sh -managed=true -domain=<domain home> -template=<template location>/<domain name>.jar -template_name=<domain name>
示例:
./pack.sh -managed=true -domain=/hnisi/middleware/BEA10.3.6/user_projects/domains/base_domain -template=/hnisi/temp/mydomain.jar -template_name="My Domain"
./unpack.sh -template=/hnisi/temp/mydomain.jar -domain=/hnisi/middleware/BEA10.3.6/user_projects/domains/base_new_domain
时间: 2024-12-16 10:27:11