2011년 12월 12일 월요일

[WebSphere] Rename node & Cell

예전에 hostname 변경시 변경할 수 있는 내용을 소개한 적이 있습니다만.....
[WebSphere] hostname 변경하기

아래처럼Cell Name 및 Node Name 변경하는 방법이 있어 link를 소개해봅니다.
(프로파일 이름 바꾸는 내용은 어디에도 없다는.... )

WebSphere change Cell Name
    To change the cell name for a given environment, use the following wsadmin command: AdminTask.renameCell(‘[-newCellName <new_cell_name> -regenCerts <true_or_false>]‘) This updates your configuration with the new cell name you specify and will optionally regenerate the certificates in that environment. One note, though: if you’re changing an ND environment, you need to run the renameCell on both the Deployment Manager and nodeagent instances, then start the Deployment Manager. Once it’s running, run syncNode before starting the nodeagent.

Changing cell names, node names, host names

To change the cell name for a given environment, use the following wsadmin command:
AdminTask.renameCell(‘[-newCellName <new_cell_name> -regenCerts <true_or_false>]‘)


This updates your configuration with the new cell name you specify and will optionally regenerate the certificates in that environment.


To change the name of a given node, use the following wsadmin command:
AdminTask.renameNode(‘[-nodeName <existing_node_name> -newNodeName <new_node_name>]‘)




This updates the name of the node specified by the nodeName parameter to the name specified by the newNodeName parameter.


To change the host name for a given node, use the following wsadmin command:
AdminTask.changeHostName(‘[-nodeName <node_name> -hostName <new_host_name>]‘)


This updates the host name for the node specified in the nodeName parameter to the value specified in the hostName parameter.



-- InfoCenter --

renameNode 명령

설치 및 사용자 정의 중에 노드에 축약 이름이 지정됩니다. renameNode 명령을 사용하여 연합 서버의 노드 이름을 수정하십시오.
수정하려는 이름을 가진 노드에서 이 명령을 실행하십시오. 이 명령을 실행하면 다음이 발생합니다.
  1. Deployment Manager에 연결됩니다.
  2. 모든 서버가 중지됩니다.
  3. Deployment Manager의 노드 구성이 변경됩니다.
  4. 노드가 동기화됩니다.
이 명령을 실행하는 위치에 대한 자세한 정보는 명령행 도구 사용 문서를 참조하십시오.

구문

명령 구문은 다음과 같습니다. [Windows]
renameNode.bat dmgr_host dmgr_port node_name 
[-nodeshortname name][-trace][-conntype type][-username uid]
[-password pwd][-logfile filename] [-help]
[AIX HP-UX Solaris] [z/OS]
renameNode.sh dmgr_host dmgr_port node_name
[-nodeshortname name][-trace][-conntype type][-username uid]
[-password pwd][-logfile filename] [-help]
[iSeries]
renameNode dmgr_host dmgr_port node_name 
[-nodeshortname name][-trace][-conntype type][-username uid]
[-password pwd][-logfile filename] [-help]

매개변수

다음 옵션은 renameNode 명령에 사용할 수 있습니다.
-nodeshortname <name>
노드의 축약 이름.
-trace
디버깅 목적으로 로그 파일의 추가 추적 정보를 생성합니다.
-conntype <type>
Deployment Manager에 연결하기 위해 사용할 JMX 커넥터 유형을 지정합니다. 유효한 유형은 원격 메소드 호출을 나타내는 SOAP 또는 RMI입니다.
-username <uid>
보안이 사용 가능한 경우 인증 사용자 이름을 지정합니다. -user 옵션과 동일하게 작용합니다. 선택하는 사용자 이름은 이미 존재하는 사용자 이름이어야 합니다.
-password <pwd>
보안이 사용 가능한 경우 인증 암호를 지정합니다. 선택하는 암호는 이미 존재하는 사용자 이름과 연관되는 암호여야 합니다.
-logfile <filename>
추적 정보를 기록할 로그 파일의 위치를 지정합니다. 기본적으로 로그 파일은 renameNode.log라고 하며 이름을 바꾸는 노드에 대한 프로파일의 logs 디렉토리에서 작성됩니다.
-help
명령문 사용법을 인쇄합니다.
-?
명령문 사용법을 인쇄합니다

댓글 없음:

댓글 쓰기