[WAS_HOME]/AppServer/bin
app_server_root\bin\manageprofiles.bat -augment -help
- -create
- 프로파일을 작성합니다.
- management - 관리. -serverType 매개변수와 함께 사용하여 관리 프로파일 유형을 표시하십시오.
- 기본값 - Application Server
-create
-profileName Wow_Profile
-profilePath profile_root
-templatePath app_server_root\profileTemplates\default
-nodeName Wow_node
-cellName Wow_cell
-hostName lorriemb
-portsFile \temp\ports\portdef.props
-validatePorts
- -backupProfile
- 프로파일 레지스트리 파일에서 프로파일 폴더 및 프로파일 메타데이터의 파일 시스템 백업을 수행합니다. 백업할 프로파일을 사용하는 모든 서버는 중지한 다음 -backupProfile 옵션을 사용하여 manageprofiles명령을 호출해야 합니다. -backupProfile 매개변수는 -backupFile 및 -profileName 매개변수와 함께 사용해야 합니다. 예를 들면, 다음과 같습니다.
manageprofiles(.bat)(.sh) -backupProfile -profileName profile_name -backupFile backupFile_name
-backupProfile 옵션을 사용하여 프로파일을 백업하는 경우, 먼저 복원하려는 프로파일에 대하여 실행 중인 프로세스나 서버를 중지해야 합니다.
- -restoreProfile
- 프로파일 백업을 복원합니다. -backupFile 매개변수와 함께 사용되어야 합니다. 예를 들어, 다음과 같습니다.
manageprofiles(.bat)(.sh) -restoreProfile -backupFile file_name
프로파일을 복원하려면 다음 단계를 수행하십시오.
- 복원하려는 프로파일에 대하여 실행 중인 프로세스나 서버를 중지하십시오.
- 파일 시스템에서 프로파일에 대한 디렉토리를 수동으로 삭제하십시오.
- manageprofiles 명령의 -validateAndUpdateRegistry 옵션을 실행하십시오.
- manageprofiles 명령의 -restoreProfile 옵션을 사용하여 프로파일을 복원하십시오
- -delete
- 프로파일을 삭제합니다.
프로파일을 삭제하는 경우 디렉토리를 수동으로 삭제하지 않고도 프로파일을 다시 작성할 수 있도록 프로파일 디렉토리가 삭제됩니다.
프로파일 레지스트리에서 기능 보강 템플리트가 등록된 프로파일을 삭제하면 보강된 기능 해제 조치가 자동으로 수행됩니다.
- -deleteAll
- 모든 등록된 프로파일을 삭제합니다.
프로파일을 삭제하는 경우 프로파일을 다시 작성할 때 오래된 정보를 관리하지 않아도 되도록 프로파일 디렉토리가 삭제됩니다.
프로파일 레지스트리에서 기능 보강 템플리트가 등록된 프로파일을 삭제하면 보강된 기능 해제 조치가 자동으로 수행됩니다.
## Profiles 만들기(사용 예)
## Deploy Mamager profile
명령 : /IBM/WAS/AppServer/bin/manageprofiles.sh -create \
-templatePath /IBM/WAS/AppServer/profileTemplates/dmgr \
-profilePath /IBM/WAS/AppServer/profiles/Dmgr01 \
-profileName Dmgr01 \
## optional
-cellName was_Cell01 \
-nodeName was_Manager01 \
-hostname hostname
./manageprofiles.sh -create -profileName Dmgr01 -templatePath /IBM/WAS/AppServer/profileTemplates/dmgr -profilePath /IBM/WAS/AppServer/profiles/Dmgr01 -hostName hostname
## Application Server profile
명령 : /IBM/WAS/AppServer/bin/manageprofiles.sh -create \
-templatePath /IBM/WAS/AppServer/profileTemplates/default \
-profilePath /IBM/WAS/AppServer/profiles/AppSrv2 \
-profileName AppSrv2 \
## optional
-cellName was_Cell02 \
-nodeName was_Node01 \
-hostname hostname
./manageprofiles.sh -create -profileName AppSrv01 -profilePath /IBM/WAS/AppServer/profiles/AppSrv01 -templatePath /IBM/WAS/AppServer/profileTemplates/default -hostName hostname
./manageprofiles.sh -create -profileName AppSrv02 -profilePath /IBM/WAS/AppServer/profiles/AppSrv02 -templatePath /IBM/WAS/AppServer/profileTemplates/default -hostName hostname
## Profile delete command
위치: /usr/IBM/WebSphere/AppServer/bin
명령: manageprofiles.sh -delete -profilesName AppSrv1
참고 사이트 :
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-express-iseries&topic=rxml_manageprofiles
0 Comments:
댓글 쓰기