서버를 새 버전으로 마이그레이션
Learn how to migrate your Unity Licensing Server to a new version.
읽는 시간 1분최근 업데이트: 2일 전
최신 서버 버전에서는 종종 다른 서버 데이터베이스 또는 구성이 필요할 수 있습니다. 예를 들어 버전 1.6이 설치되어 있는데 버전 1.9를 실행하려는 경우 서버에는 다른 구성이 필요합니다. 마이그레이션 프로세스에서는 서버 구성 파일에서
serverVersion이 비호환성 문제를 해결하려면 사용하는 운영체제에 따라 아래 해당하는 커맨드를 실행하십시오.Cannot start the licensing server. Incompatible version is already installed. Please, make sure to stop existing Licensing.Server service (if it is running) and run setup command.
- Linux: Linux Terminal을 사용하여 을
./Unity.Licensing.Server setup로 실행합니다.sudo - Windows: 관리자 권한으로 Windows PowerShell을 열고 을 실행합니다.
.\Unity.Licensing.Server.exe setup
- - -Welcome to Unity Licensing Server setup command line interface.This setup will help you configure your license server and generate server registration request file.- - -Upgrading from 1.6.0 to 1.9.0...Backup installed version 1.6.0...DoneScripts to run: 1.9.0Executing 1.9.0...DoneStamping version 1.9.0...DoneSuccessfully migrated from 1.6.0 to 1.9.0
확인이 필요한 마이그레이션의 예(Windows):
> .\Unity.Licensing.Server.exe setup- - - -Welcome to Unity Licensing Server setup command line interface.This setup will help you configure your license server and generate server registration request file.- - - -Upgrading from 1.10.0 to 1.11.0...This migration can take more than a few minutes. Are you sure you want to run it now? [y/N] yProceeding with migration...Backup installed version 1.10.0...DoneScripts to run: 1.11.0Executing 1.11.0...DoneStamping version 1.11.0...DoneSuccessfully migrated from 1.10.0 to 1.11.0Enter the server name (e.g. LicenseServer):
마이그레이션 작동 방식
setupLicensingServerBackups- Linux:
- 버전 2.0 이상:
/usr/share/unity3d/LicensingServerBackups - 버전 1.x:
~/.config/unity3d/Unity/LicensingServerBackups
- 버전 2.0 이상:
- Windows:
- 버전 2.0 이상:
%PROGRAMDATA%\Unity\LicensingServerBackups - 버전 1.x:
%LOCALAPPDATA%\Unity\LicensingServerBackups
- 버전 2.0 이상:
허용 목록을 사용한 관리자 액세스
버전 1.x에서 마이그레이션하는 경우 관리자 액세스를 제어하기 위해 IP 주소를 사용하는 허용 목록이 있을 수 있습니다. 버전 2.0 이상으로 마이그레이션하는 경우에는 관리자 액세스 권한을 유지하기 위해 수행해야 할 명시적인 단계가 없습니다. 허용 목록에 있는 모든 IP 주소는 API의admin데이터베이스 복원
서버를 더 높은 버전으로 마이그레이션하면setup이는 서버가 유효한 상태가 아니며, 이로 인해 이전 서버 버전을 계속 사용하지 못할 수 있음을 나타냅니다. 이 오류를 해결하려면An error occurred while restoring a backup.
LicensingServerBackups/<your_old_server_version />/LicensingServer서버를 이전 버전으로 복원하려면 다음 단계를 따릅니다.├── LicensingServer│ ├── config│ │ ├── key-b4573620-ca22-423f-8d52-e3a767391234.xml│ │ ├── licensing-server-config.json│ │ └── unity.licensing.delegation.key│ ├── data│ └── wwwroot\v1\package\acl│└── LicensingServerBackups └── 1.6.0 ├── config ├── data └── wwwroot
-
서버의 운영체제 및 라이선스 서버의 버전에 따라 달라지는 아래 타겟 폴더에 기존 데이터베이스를 넣습니다.
- Linux:
- 버전 2.0 이상:
/usr/share/unity3d/LicensingServer/data/ - 버전 1.x:
~/.config/unity3d/Unity/LicensingServer/data/
- 버전 2.0 이상:
- Windows:
- 버전 2.0 이상:
%PROGRAMDATA%\Unity\LicensingServer\data\ - 버전 1.x:
%LOCALAPPDATA%\Unity\LicensingServer\data\
- 버전 2.0 이상:
- Linux:
-
파일의 이름을 로 변경합니다.
LicensingServerDb.sqlite