복구를 위한 디렉토리 및 파일의 백업
문제가 생긴 서버의 인스턴스를 복구하기위해서는 도메인의 구성 및 보안 정보가 필요합니다. 여기서는 웹로직 서버가 자동으로 수행하는 백업파일에 대한 설명과 관리자가 수행하여야 하는 백업 과정을 설명합니다.
문제가 발생한 서버인스턴스를 복구할 때에는 도메인의 구성파일과 보안 데이터에 접근해야 합니다. 웹로직 보안서비스는 구성 정보를 config.xml 과 LDAP 저장소, 그리고 다른 파일에 보관합니다.
For more information, see “ Domain Configuration Files” and in Understanding Domain Configuration.
도메인 구성 디렉토리의 백업
기본적으로 관리서버는 도메인의 구성데이터를 domain_name\config 디렉토리에 보관합니다.domain_name 은 도메인의 루트 디렉토리입니다.
이 구성 디렉토리를 원본파일이 사용 불가능 하여지는 경우에 대비하여 안전한 곳에 따로 백업 하여 두십시오. 만일 관리서버가 실패할 경우 해당 백업된 구성파일을 다른 머신으로 복사하여 새 장비에서 어드민 서버를 기동시킬 수 있습니다.
Managed Server 는 실행 될 때마다 admin server 와 통신하여 도메인 구성의 변경이 있으면 해당 도메인의 config 디렉토리의 로컬 복제본에 update를 하게 됩니다.
수행중에도 도메인의 구성이 변경되면 admin server는 Managed server 에게 그 내용을 전달하여 해당 local /config 디렉토리에 있는 정보를 update 시킵니다. 따라서 각 Managed Server 는 항상 현재의 구성정보를 로컬에 캐시하게 됩니다.
LDAP 저장소의 백업
The default Authentication, Authorization, Role Mapper, and Credential Mapper providers that are installed with WebLogic Server store their data in an LDAP server. Each WebLogic Server contains an embedded LDAP server. The Administration Server contains the master LDAP server which is replicated on all Managed Servers. If any of your security realms use these installed providers, you should maintain an up-to-date backup of the following directory tree:
domain_name\servers\adminServer\data\ldap
where domain_name is the domain’s root directory and adminServer is the directory in which the Administration Server stores runtime and security data.
Each WebLogic Server has an LDAP directory, but you only need to back up the LDAP data on the Administration Server—the master LDAP server replicates the LDAP data from each Managed Server when updates to security data are made. WebLogic security providers cannot modify security data while the domain’s Administration Server is unavailable. The LDAP repositories on Managed Servers are replicas and cannot be modified.
The ldap\ldapfiles subdirectory contains the data files for the LDAP server. The files in this directory contain user, group, group membership, policies, and role information. Other subdirectories under the ldap directory contain LDAP server message logs and data about replicated LDAP servers.
Do not update the configuration of a security provider while a backup of LDAP data is in progress. If a change is made—for instance, if an administrator adds a user—while you are backing up the ldap directory tree, the backups in the ldapfiles subdirectory could become inconsistent. If this does occur, consistent, but potentially out-of-date, LDAP backups are available, because once a day, a server suspends write operations and creates its own backup of the LDAP data. It archives this backup in a ZIP file below the ldap\backup directory and then resumes write operations. This backup is guaranteed to be consistent, but it might not contain the latest security data.
For information about configuring the LDAP backup, see “Configuring Backups for the Embedded LDAP Server” in Administration Console Online Help.
Back Up SerializedSystemIni.dat and Security Certificates
Each server instance creates a file named SerializedSystemIni.dat and locates it in the /security directory. This file contains encrypted security data that must be present to boot the server. You must back up this file.
If you configured a server to use SSL, you must also back up the security certificates and keys. The location of these files is user-configurable.