PAAS-TA 파스-타 설치가이드_V5.0

Table of Contents

  1. 개요

Executive Summary

본 문서는 PaaS-TA 5.0(이하 PaaS-TA)을 수동으로 설치하기 위한 가이드를 제공하는 데 그 목적이 있다.

1. 문서 개요

1.1. 목적

본 문서는 Inception 환경(설치환경)에서 BOSH2(이하 BOSH) 설치 후, BOSH를 기반으로 PaaS-TA를 설치하기 위한 가이드를 제공하는 데 그 목적이 있다.

1.2. 범위

본 문서는 cf-deployment v9.5.0을 기준으로 작성되었다. PaaS-TA은 bosh-deployment를 기반으로 한 BOSH 환경에서 설치한다. PaaS-TA 설치 시 필요한 Stemcell은 기존 ubuntu-xenial-315.36에서 ubuntu-xenial-315.64로 변경되었다.

1.3. 참고 자료

본 문서는 Cloud Foundry의 BOSH Document와 Cloud Foundry Document를 참고로 작성하였다.

BOSH Document: http://bosh.io

Cloud Foundry Document: https://docs.cloudfoundry.org

BOSH Deployment: https://github.com/cloudfoundry/bosh-deployment

CF Deployment: https://github.com/cloudfoundry/cf-deployment

2. PaaS-TA 5.0

2.1. PaaS-TA 3.1

PaaS-TA 3.1까지는 bosh-init을 통하여 BOSH1을 생성하고, BOSH CLI를 통하여 PaaS-TA Controller, Container를 생성하였다.

2.2. PaaS-TA 5.0

PaaS-TA는 BOSH를 기반으로 설치된다. BOSH CLI를 사용하여 BOSH를 생성한 후, paasta-deployment로 PaaS-TA를 배포한다.

PaaS-TA 3.1 버전까지는 PaaS-TA Container, Controller를 각각의 deployment로 설치했지만, PaaS-TA 3.5 버전부터 paasta-deployment 하나로 통합되었으며, 한 번에 PaaS-TA를 설치한다.

3. PaaS-TA 5.0 설치

3.1. Prerequisite

  • PaaS-TA를 설치하기 위해 deployment, release, stemcell을 PaaS-TA 사이트에서 내려받아 정해진 경로에 복사한다.

  • BOSH2 기반의 BOSH를 설치한다.

  • PaaS-TA 설치는 BOSH를 설치한 Inception(설치 환경)에서 작업한다.

3.2. 설치 파일 다운로드

PaaS-TA 사이트에서 [PaaS-TA Release] 파일을 내려받아 ${HOME}/workspace/paasta-5.0/release 이하 디렉터리에 압축을 푼다. 압출을 풀면 아래와 같이 ${HOME}/workspace/paasta-5.0/release/paasta 디렉터리가 생성되며 릴리즈 파일(tgz)이 존재한다.

ubuntu@ip-10-0-0-59:~/workspace/paasta-5.0/release/paasta$ ls
binary-buildpack-1.0.32-ubuntu-xenial-315.64-20190703-010740-177773032.tgz loggregator-105.5-ubuntu-xenial-315.64-20190703-011056-709229397.tgz
bosh-dns-aliases-0.0.3-ubuntu-xenial-315.64-20190703-005917-45013255.tgz loggregator-agent-3.9-ubuntu-xenial-315.64-20190703-011227-052700948.tgz
bpm-1.1.0-ubuntu-xenial-315.64-20190703-011218-840878281.tgz nats-27-ubuntu-xenial-315.64-20190703-011012-08860186.tgz
capi-1.83.0-ubuntu-xenial-315.64-20190703-011352-736036246.tgz nginx-buildpack-1.0.13-ubuntu-xenial-315.64-20190703-010158-078624017.tgz
cf-cli-1.16.0-ubuntu-xenial-315.64-20190703-010458-731652087.tgz nodejs-buildpack-1.6.51-ubuntu-xenial-315.64-20190703-010707-741053575.tgz
cf-networking-2.23.0-ubuntu-xenial-315.64-20190703-011056-823948638.tgz php-buildpack-4.3.77-ubuntu-xenial-315.64-20190703-010303-196110232.tgz
cf-smoke-tests-40.0.112-ubuntu-xenial-315.64-20190709-042410-146373383.tgz postgres-release-38.tgz
cf-syslog-drain-10.2-ubuntu-xenial-315.64-20190703-011055-842044104.tgz pxc-0.18.0-ubuntu-xenial-315.64-20190705-211325-403851041.tgz
cflinuxfs3-0.113.0-ubuntu-xenial-315.64-20190708-232200-368636766.tgz python-buildpack-1.6.34-ubuntu-xenial-315.64-20190703-010525-033925777.tgz
credhub-2.4.0-ubuntu-xenial-315.64-20190703-010939-442789426.tgz r-buildpack-1.0.10-ubuntu-xenial-315.64-20190703-010623-140937123.tgz
diego-2.34.0-ubuntu-xenial-315.64-20190703-011616-899984623.tgz routing-0.188.0-ubuntu-xenial-315.64-20190703-011414-513071207.tgz
dotnet-core-buildpack-2.2.12-ubuntu-xenial-315.64-20190703-010337-286489233.tgz ruby-buildpack-1.7.40-ubuntu-xenial-315.64-20190703-010707-743703201.tgz
garden-runc-1.19.3-ubuntu-xenial-315.64-20190703-011651-220994654.tgz silk-2.23.0-ubuntu-xenial-315.64-20190703-011145-360645247.tgz
go-buildpack-1.8.40-ubuntu-xenial-315.64-20190703-010359-639769006.tgz staticfile-buildpack-1.4.43-ubuntu-xenial-315.64-20190703-010525-898602366.tgz
haproxy-boshrelease-9.6.1.tgz statsd-injector-1.10.0-ubuntu-xenial-315.64-20190703-010549-761652392.tgz
java-buildpack-4.19.1-ubuntu-xenial-315.64-20190709-145004-482509766.tgz syslog-release-11.4.0.tgz
log-cache-2.2.2-ubuntu-xenial-315.64-20190703-011152-163727753.tgz uaa-72.0-ubuntu-xenial-315.64-20190703-011111-665316203.tgz

3.3. Stemcell 업로드

PaaS-TA 사이트에서 [PaaS-TA Stemcell] 파일을 내려받아 ${HOME}/workspace/paasta-5.0/stemcell 이하 디렉터리에 압축을 푼다. 압출을 풀면 아래와 같이 ${HOME}/workspace/paasta-5.0/stemcell/paasta 디렉터리가 생성되며 릴리즈 파일(tgz)이 존재한다.

ubuntu@ip-10-0-0-59:~/workspace/paasta-5.0/stemcell/paasta$ ls
bosh-stemcell-315.64-alicloud-kvm-ubuntu-xenial-go_agent.tgz bosh-stemcell-315.64-google-kvm-ubuntu-xenial-go_agent.tgz bosh-stemcell-315.64-vsphere-esxi-ubuntu-xenial-go_agent.tgz
bosh-stemcell-315.64-aws-xen-hvm-ubuntu-xenial-go_agent.tgz bosh-stemcell-315.64-openstack-kvm-ubuntu-xenial-go_agent.tgz bosh-stemcell-315.64-warden-boshlite-ubuntu-xenial-go_agent.tgz
bosh-stemcell-315.64-azure-hyperv-ubuntu-xenial-go_agent.tgz bosh-stemcell-315.64-vcloud-esxi-ubuntu-xenial-go_agent.tgz

PaaS-TA는 Ubuntu xenial stemcell 315.64를 기반으로 한다. Stemcell은 배포 시 생성되는 PaaS-TA VM Base OS Image이다. BOSH 로그인 후 다음 명령어를 수행하여 Stemcell을 올린다. {director_name}은 BOSH 설치 시 사용한 Director 명이다.

  • AWS

$ bosh -e {director_name} upload-stemcell ${HOME}/workspace/paasta-5.0/stemcell/paasta/bosh-stemcell-315.64-aws-xen-hvm-ubuntu-xenial-go_agent.tgz
  • OpenStack

$ bosh -e {director_name} upload-stemcell ${HOME}/workspace/paasta-5.0/stemcell/paasta/bosh-stemcell-315.64-openstack-kvm-ubuntu-xenial-go_agent.tgz
  • MS Azure

$ bosh -e {director_name} upload-stemcell ${HOME}/workspace/paasta-5.0/stemcell/paasta/bosh-stemcell-315.64-azure-hyperv-ubuntu-xenial-go_agent.tgz
  • Google Cloud Platform

$ bosh -e {director_name} upload-stemcell ${HOME}/workspace/paasta-5.0/stemcell/paasta/bosh-stemcell-315.64-google-kvm-ubuntu-xenial-go_agent.tgz
  • VMware vSphere

$ bosh -e {director_name} upload-stemcell ${HOME}/workspace/paasta-5.0/stemcell/paasta/bosh-stemcell-315.64-vsphere-esxi-ubuntu-xenial-go_agent.tgz

3.4. Cloud Config 설정

PaaS-TA를 설치하기 위한 IaaS 관련 Network, Storage, VM 관련 설정을 Cloud Config로 정의한다. PaaS-TA 설치 파일을 내려받으면 ${HOME}/workspace/paasta-5.0/deployment/cloud-config 디렉터리 이하에 IaaS별 Cloud Config 예제를 확인할 수 있으며, 예제를 참고하여 cloud-config.yml을 IaaS에 맞게 수정한다. PaaS-TA 배포 전에 Cloud Config를 BOSH에 적용해야 한다.

  • OpenStack을 기준으로 한 cloud-config.yml 예제

## azs :: 가용 영역(availability zone)을 정의한다.
azs:
- name: z1
cloud_properties:
availability_zone: zone1
- name: z2
cloud_properties:
availability_zone: zone2
- name: z3
cloud_properties:
availability_zone: zone3
- name: z4
cloud_properties:
availability_zone: zone1
- name: z5
cloud_properties:
availability_zone: zone2
- name: z6
cloud_properties:
availability_zone: zone3
## vm type :: 가상머신 유형(vm type)을 정의한다. (OpenStack의 경우, flavor 설정)
vm_types:
- name: minimal
cloud_properties:
instance_type: m1.small
- name: default
cloud_properties:
instance_type: m1.monitoring
- name: small
cloud_properties:
instance_type: m1.monitoring
- name: medium
cloud_properties:
instance_type: m1.medium
- name: medium-memory-8GB
cloud_properties:
instance_type: m1.medium-memory
- name: large
cloud_properties:
instance_type: m1.large
- name: xlarge
cloud_properties:
instance_type: m1.xlarge
- name: small-50GB
cloud_properties:
instance_type: m1.medium
- name: small-50GB-ephemeral-disk
cloud_properties:
instance_type: m1.medium
- name: small-100GB-ephemeral-disk
cloud_properties:
instance_type: m1.large
- name: small-highmem-100GB-ephemeral-disk
cloud_properties:
instance_type: m1.large
- name: small-highmem-16GB
cloud_properties:
instance_type: m1.large-memory
- name: service_medium
cloud_properties:
instance_type: m1.medium
- name: service_medium_2G
cloud_properties:
instance_type: m1.medium
- name: portal_small
cloud_properties:
instance_type: m1.tiny
- name: portal_medium
cloud_properties:
instance_type: m1.small_1GM
- name: portal_large
cloud_properties:
instance_type: m1.small
## compilation :: 컴파일 가상머신이 생성될 가용 영역 및 가상머신 유형 등을 정의한다.
compilation:
az: z3
network: default
reuse_compilation_vms: true
vm_type: large
workers: 5
## disk type :: 디스크 유형(disk type, persistent disk)을 정의한다.
disk_types:
- disk_size: 1024
name: default
- disk_size: 1024
name: 1GB
- disk_size: 2048
name: 2GB
- disk_size: 4096
name: 4GB
- disk_size: 5120
name: 5GB
- disk_size: 8192
name: 8GB
- disk_size: 10240
name: 10GB
- disk_size: 20480
name: 20GB
- disk_size: 30720
name: 30GB
- disk_size: 51200
name: 50GB
- disk_size: 102400
name: 100GB
- disk_size: 1048576
name: 1TBB
- cloud_properties:
type: SSD1
disk_size: 2000
name: 2GB_GP2
- cloud_properties:
type: SSD1
disk_size: 5000
name: 5GB_GP2
- cloud_properties:
type: SSD1
disk_size: 10000
name: 10GB_GP2
- cloud_properties:
type: SSD1
disk_size: 50000
name: 50GB_GP2
## network :: 네트워크(network)를 정의한다. (OpenStack의 경우, subnet 및 security_group, dns, gateway 설정)
networks:
- name: default
subnets:
- az: z1
cloud_properties:
name: random
net_id: 51b96a68-aded-4e73-aa44-f44a812b9b30
security_groups:
- openpaas
dns:
- 8.8.8.8
gateway: 10.20.10.1
range: 10.20.10.0/24
reserved:
- 10.20.10.2 - 10.20.10.10
static:
- 10.20.10.11 - 10.20.10.30
- az: z2
cloud_properties:
name: random
net_id: 51b96a68-aded-4e73-aa44-f44a812b9b30
security_groups:
- openpaas
dns:
- 8.8.8.8
gateway: 10.20.20.1
range: 10.20.20.0/24
reserved:
- 10.20.20.2 - 10.20.20.10
static:
- 10.20.20.11 - 10.20.20.30
- az: z3
cloud_properties:
name: random
net_id: 51b96a68-aded-4e73-aa44-f44a812b9b30
security_groups:
- openpaas
dns:
- 8.8.8.8
gateway: 10.20.30.1
range: 10.20.30.0/24
reserved:
- 10.20.30.2 - 10.20.30.10
static:
- 10.20.30.11 - 10.20.30.30
- az: z4
cloud_properties:
name: random
net_id: 51b96a68-aded-4e73-aa44-f44a812b9b30
security_groups:
- openpaas
dns:
- 8.8.8.8
gateway: 10.20.40.1
range: 10.20.40.0/24
reserved:
- 10.20.40.2 - 10.20.40.10
static:
- 10.20.40.11 - 10.20.40.30
- name: vip
type: vip
- name: service_private
subnets:
- az: z5
cloud_properties:
name: random
net_id: 51b96a68-aded-4e73-aa44-f44a812b9b30
security_groups:
- openpaas
dns:
- 8.8.8.8
gateway: 10.20.50.1
range: 10.20.50.0/24
reserved:
- 10.20.50.2 - 10.20.50.10
static:
- 10.20.50.11 - 10.20.50.30
- az: z6
cloud_properties:
name: random
net_id: 51b96a68-aded-4e73-aa44-f44a812b9b30
security_groups:
- openpaas
dns:
- 8.8.8.8
gateway: 10.20.60.1
range: 10.20.60.0/24
reserved:
- 10.20.60.2 - 10.20.60.10
static:
- 10.20.60.11 - 10.20.60.30
- name: service_public
type: vip
## vm extentions :: 임의의 특정 IaaS 구성을 지정하는 가상머신 구성을 정의한다. (security groups 및 load balancers 등)
vm_extensions:
- cloud_properties:
ports:
- host: 3306
name: mysql-proxy-lb
- name: cf-router-network-properties
- name: cf-tcp-router-network-properties
- name: diego-ssh-proxy-network-properties
- name: cf-haproxy-network-properties
- cloud_properties:
ephemeral_disk:
size: 51200
type: gp2
name: small-50GB
- cloud_properties:
ephemeral_disk:
size: 102400
type: gp2
name: small-highmem-100GB
  • Cloud Config 업데이트

$ bosh –e {director_name} update-cloud-config ${HOME}/workspace/paasta-5.0/deployment/cloud-config/{iaas}_cloud_config.yml
  • Cloud Config 확인

$ bosh –e {director_name} cloud-config

3.4.1. azs

PaaS-TA에서 제공되는 Cloud Config 예제는 z1 ~ z6까지 설정되어 있다. z1 ~ z3까지는 PaaS-TA VM이 설치되는 Zone이며, z4 ~ z6까지는 서비스가 설치되는 Zone으로 정의한다. 3개 단위로 설정하는 이유는 서비스 3중화를 위해서이다. PaaS-TA를 설치하는 환경에 따라 다르게 설정해도 된다.

3.4.2. vm types

vm type은 IaaS에서 정의된 VM Type이다. Openstack의 경우에는 Flavor Type이다.

※ 다음은 OpenStack에서 정의한 Flavor Type이다.

3.4.3. compilation

PaaS-TA 및 서비스 설치 시, PaaS-TA는 Compile VM을 생성하여 소스를 컴파일하고, PaaS-TA VM을 생성하여 컴파일된 파일을 대상 VM에 설치한다. 컴파일이 끝난 VM은 삭제된다.

※ Worker 수는 Compile VM의 수로, 많을수록 컴파일 속도가 빨라진다.

3.4.4. disk size

PaaS-TA 및 서비스가 설치되는 VM의 Persistent disk size이다.

3.4.5. networks

networks는 az zone 별 subnet network, dns, security groups, network id를 정의한다. 보통 azs 별로 256개의 IP를 정의할 수 있도록 range cider를 정의한다.

3.5. Runtime Config 설정

PaaS-TA 4.0부터 적용되는 부분으로 PaaS-TA Component에서 Consul이 대체된 Component이다. PaaS-TA Component 간의 통신을 위해 BOSH DNS 배포가 선행되어야 한다.

3.5.1. Runtime Config 업데이트

  • Runtime Config 업데이트 Shell script 파일 확인

$ vi ${HOME}/workspace/paasta-5.0/deployment/bosh-deployment/update-runtime-config.sh
bosh -e {director-name} update-runtime-config runtime-configs/dns.yml \
-v inception_os_user_name='ubuntu' \ # home user name (release file path 설정 시 필요)
-v cert_days=3650 # PaaS-TA 인증서 유효기간
  • Runtime Config 업데이트 Shell script 파일에 실행 권한 부여

$ chmod +x ${HOME}/workspace/paasta-5.0/deployment/bosh-deployment/update-runtime-config.sh
  • Runtime Config 업데이트 Shell script 파일 실행 (BOSH 로그인 필요)

$ cd ${HOME}/workspace/paasta-5.0/deployment/bosh-deployment
$ ./update-runtime-config.sh

3.6. PaaS-TA 설치 파일

${HOME}/workspace/paasta-5.0/deployment/paasta-deployment 이하 디렉터리에는 IaaS별 PaaS-TA 설치 Shell script 파일이 존재하며, 이를 실행하여 PaaS-TA를 설치한다. 파일명은 deploy-{IaaS}.sh이다.

deploy-aws.sh

AWS 환경에 PaaS-TA 설치를 위한 Shell script 파일

deploy-openstack.sh

OpenStack 환경에 PaaS-TA 설치를 위한 Shell script 파일

deploy-vsphere.sh

VMware vSphere 환경에 PaaS-TA 설치를 위한 Shell script 파일

deploy-gcp.sh

GCP(Google Cloud Platform) 환경에 PaaS-TA 설치를 위한 Shell script 파일

deploy-azure.sh

MS Azure 환경에 PaaS-TA 설치를 위한 Shell script 파일

deploy-bosh-lite.sh

BOSH-LITE 환경에 PaaS-TA 설치를 위한 Shell script 파일

PaaS-TA 설치 시 명령어는 deploy로 시작한다. BOSH 명령어로 설치가 가능하며, IaaS 환경에 따라 Option이 달라진다.

  • PaaS-TA 배포 BOSH 명령어 예시

$ bosh –e {director_name} –d paasta deploy {deploy.yml}

PaaS-TA 배포 시, 설치 Option을 추가해야 한다. 설치 Option에 대한 설명은 아래와 같다.

-e

BOSH Director 명

-d

Deployment 명 (기본값 paasta, 수정 시 다른 PaaS-TA 서비스에 영향을 준다.)

-o

PaaS-TA 설치 시 적용하는 Option 파일로 IaaS별 속성, Haproxy 사용 여부, Database 설정 기능을 제공한다.

-v

PaaS-TA 설치 시 적용하는 변숫값 또는 Option 파일에 변숫값을 설정할 경우 사용한다. Option 파일 속성에 따라 필수 또는 선택 항목으로 나뉜다.

3.7. PaaS-TA 설치 Shell Scripts

paasta-deployment.yml 파일은 PaaS-TA를 배포하는 Manifest 파일이며, PaaS-TA VM에 대한 설치 정의를 하게 된다. PaaS-TA VM 중 singleton-blobstore, database의 azs(zone)을 변경하면 조직(ORG), 스페이스(SPACE), 앱(APP) 정보가 모두 삭제된다.

이미 설치된 PaaS-TA의 재배포 시, singleton-blobstore, database의 azs(zone)을 변경하면 조직(ORG), 공간(SPACE), 앱(APP) 정보가 모두 삭제된다.

다음은 PaaS-TA 배포 시 필수 옵션이며, cf_admin_password, cc_db_encryption_key, uaa_database_password, cc_database_password는 –v 옵션이 없는 경우 BOSH에서 자동 생성하여 BOSH CredHub에 저장한다.

3.7.1. deploy-aws.sh

bosh -e {director_name} -d paasta deploy paasta-deployment.yml \ # PaaS-TA manifest file
-o operations/aws.yml \ # aws 설정
-o operations/use-compiled-releases.yml \ # compile된 release 파일 정보 (offline)
-o operations/use-haproxy.yml \ # haproxy 적용
-o operations/use-haproxy-public-network.yml \ # haproxy public network 적용
-o operations/use-postgres.yml \ # database type 설정 (3.5버전 이하에서 migration 시 필수)
-o operations/rename-network-and-deployment.yml \ # rename network and deployment
-v network_name=default \ # default network name
-v inception_os_user_name=ubuntu \ # home user name (release file path 설정 시 필요)
-v haproxy_public_ip=52.199.190.1 \ # haproxy ip (public ip)
-v haproxy_public_network_name=vip \ # PaaS-TA public network name
-v cf_admin_password=admin \ # PaaS-TA admin password
-v cc_db_encryption_key=db-encryption-key \ # database encryption key (version upgrade 시 동일 KEY 필수)
-v uaa_database_password=uaa_admin \ # uaadb database password
-v cc_database_password=cc_admin \ # ccdb database password
-v cert_days=3650 \ # PaaS-TA 인증서 유효기간
-v system_domain=52.199.190.1.xip.io \ # domain (xip.io를 사용하는 경우 haproxy public_ip와 동일)
-v uaa_login_logout_redirect_parameter_disable=false \
-v uaa_login_logout_redirect_parameter_whitelist=["http://portal-web-user.115.68.46.190.xip.io","http://portal-web-user.115.68.46.190.xip.io/callback","http://portal-web-user.115.68.46.190.xip.io/login"] \ # 포탈 페이지 이동을 위한 uaa redirect whitelist 등록 변수
-v uaa_login_branding_company_name="PaaS-TA R&D" \ # uaa 페이지 타이틀 명
-v uaa_login_branding_footer_legal_text="Copyright © PaaS-TA R&D Foundation, Inc. 2017. All Rights Reserved." \ # uaa 페이지 하단 영역 텍스트
-v uaa_login_branding_product_logo="iVBORw0KGgoAAAANSUhEUgAAAM0AAAAdCAYAAAAJguhGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUNDMT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mp+r5+mrJDt5IRMNIB+T5MtHHUXfvyFvnKltUbbP7KbRRzoDMSxHBp9hNetnLnTaE/6d/XmdLwUjuvuRtOKiNCALpQYWopDqMcOB43q/Zggusd6rf3PjF9X26ncr5GOGyxGwUZJiq4TmkyqXOjHXLXi8/l7eCRR0WUi3gWekowKxGaMyvjXzd+z0wp27tUjZ18TFiboljdALleNlTAEjdw4MKJp2CvdW/2T+/5VEz03FmRee4S8NECpljSUqTiv5U+53N9spM/o3TsrYN06dCDSDCLPCcb4apBaAdXjhkg3OOZmYgISLfMCdiWRPN1arz7Qzm//aCNd5wIVEPeyXZvs6d2v0N+UZhIDUztWqgreYjRiywk53QjHFzD9oI6H/mIrD4Pk0svKH+zo8tJX1hqonwCmLyeZFlzrET4pVJYQ3isgxf2iOZ3mokXWBkNlWyHbX3oLBVL31P//mcpKMFG50PVb4Y+fQZycoDJJBkAd75gFeU4bFPT2ei6nRvJls9W5qEZOrYoOLHvADIXOxHzWB62RGnoosfyJhlAimW07CNHRCK0TM6tBSX4BAlen7gASp8GBQo62XLF1G4S9ujRZuQGYNkWwX1C0Qh0jeu7i5Z/7tz7xPNCmOEZAIbP3/QgjK9a/F/3vY+x7vtlCMrjQoI3Oi4XTUE5c2CcGsDlo8XKRHhC2uJViOkxBltkLdirhnu+dToff0qd6LnDz11/wHHVLcKUha5bOCXdfA9aFh7y6u46g4aFQG4QfwPI9LGsNbD5aaHT57bq/sNPYuryCjLTDEJUpLbcmCTNjC0cllvFWrYHcWbd2idvX/+2bNq0m8HY4PhRFNrXYI6bBQpp2LZVMP2HYVIJuBEe541tQP4qnBsGh1FhIeO0rN6L1pUfmNFz99HIHxtsYXCZ1qoO0taTKgs+a4xAjguZmaLaVSNINHS5NUu+Eqn6HFTAeYIQGdtRRGW6KR/w+VkrXtM3zqrq3/IqgCqAKoCbDeBPAQYAvdcfKsxKtoUAAAAASUVORK5CYII=" \ # uaa 페이지 타이틀 로고 이미지 (base64)
-v uaa_login_links_passwd="http://portal-web-user.115.68.46.190.xip.io/resetpasswd" \ # uaa 페이지에서 Reset password 누를 시 이동하는 링크 주소
-v uaa_login_links_signup="http://portal-web-user.115.68.46.190.xip.io/createuser" \ # uaa 페이지에서 Create account 누를 시 이동하는 링크 주소
-v uaa_clients_portalclient_redirect_uri="http://portal-web-user.115.68.46.190.xip.io,http://portal-web-user.115.68.46.190.xip.io/callback" \ # uaa portalclient의 redirect url 지정 변수, 포탈에서 로그인 버튼 클릭 후 uaa 페이지에서 성공적으로 로그인했을 경우 이동하는 uri 경로
-v uaa_clients_portalclinet_secret="portalclient" \ # uaac portalclient에 접근하기 위한 secret 변수
-v uaa_admin_client_secret="admin-secret" # uaac adminclient에 접근하기 위한 secret 변수

3.7.2. deploy-openstack.sh

bosh -e {director_name} -d paasta deploy paasta-deployment.yml \ # PaaS-TA manifest file
-o operations/openstack.yml \ # openstack 설정
-o operations/use-compiled-releases.yml \ # compile된 release 파일 정보 (offline)
-o operations/use-haproxy.yml \ # haproxy 적용
-o operations/use-haproxy-public-network.yml \ # haproxy public network 적용
-o operations/use-postgres.yml \ # database type 설정 (3.5버전 이하에서 migration 시 필수)
-o operations/rename-network-and-deployment.yml \ # rename network and deployment
-v network_name=default \ # default network name
-v inception_os_user_name=ubuntu \ # home user name (release file path 설정 시 필요)
-v haproxy_public_ip=52.199.190.1 \ # haproxy ip (public ip)
-v haproxy_public_network_name=vip \ # PaaS-TA public network name
-v cf_admin_password=admin \ # PaaS-TA admin password
-v cc_db_encryption_key=db-encryption-key \ # database encryption key (version upgrade 시 동일 KEY 필수)
-v uaa_database_password=uaa_admin \ # uaadb database password
-v cc_database_password=cc_admin \ # ccdb database password
-v cert_days=3650 \ # PaaS-TA 인증서 유효기간
-v system_domain=52.199.190.1.xip.io # domain (xip.io를 사용하는 경우 haproxy public_ip와 동일)
-v uaa_login_logout_redirect_parameter_disable=false \
-v uaa_login_logout_redirect_parameter_whitelist=["http://portal-web-user.115.68.46.190.xip.io","http://portal-web-user.115.68.46.190.xip.io/callback","http://portal-web-user.115.68.46.190.xip.io/login"] \ # 포탈 페이지 이동을 위한 uaa redirect whitelist 등록 변수
-v uaa_login_branding_company_name="PaaS-TA R&D" \ # uaa 페이지 타이틀 명
-v uaa_login_branding_footer_legal_text="Copyright © PaaS-TA R&D Foundation, Inc. 2017. All Rights Reserved." \ # uaa 페이지 하단영역 텍스트
-v uaa_login_branding_product_logo="iVBORw0KGgoAAAANSUhEUgAAAM0AAAAdCAYAAAAJguhGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUNDMTA1MTZCRDNBMTFFNjkzMTVEQjMxRkE5QjkxNUMiIHhtcE1NOkRvY3VtZW50SUQ9Inhtc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/XmdLwUjuvuRtOKiNCALpQYWopDqMcOB43q/Zggusd6rf3PjF9X26ncr5GOGyxGwUZJiq4TmkyqXOjHXLXi8/l7eCRR0WUi3gWekowKxGaMyvjXzd+z0wp27tUjZ18TFiboljdALleNlTAEjdw4MKJp2CvdW/2T+/5VEz03FmRee4S8NECpljSUqTiv5U+53N9spM/o3TsrYN06dCDSDCLPCcb4apBaAdXjhkg3OOZmYgISLfMCdiWRPN1arz7Qzm//aCNd5wIVEPeyXZvs6d2v0N+UZhIDUztWqgreYjRiywk53QjHFzD9oI6H/mIrD4Pk0svKH+zo8tJX1hqonwCmLyeZFlzrET4pVJYQ3isgxf2iOZ3mokXWBkNlWyHbX3oLBVL31P//mcpKMFG50PVb4Y+fQZycoDJJBkAd75gFeU4bFPT2ei6nRvJls9W5qEZOrYoOLHvADIXOxHzWB62RGnoosfyJhlAimW07CNHRCK0TM6tBSX4BAlen7gASp8GBQo62XLF1G4S9ujRZuQGYNkWwX1C0Qh0jeu7i5Z/7tz7xPNCmOEZAIbP3/QgjK9a/F/3vY+x7vtlCMrjQoI3Oi4XTUE5c2CcGsDlo8XKRHhC2uJViOkxBltkLdirhnu+dToff0qd6LnDz11/wHHVLcKUha5bOCXdfA9aFh7y6u46g4aFQG4QfwPI9LGsNbD5aaHT57bq/sNPYuryCjLTDEJUpLbcmCTNjC0cllvFWrYHcWbd2idvX/+2bNq0m8HY4PhRFNrXYI6bBQpp2LZVMP2HYVIJuBEe541tQP4qnBsGh1FhIeO0rN6L1pUfmNFz99HIHxtsYXCZ1qoO0taTKgs+a4xAjguZmaLaVSNINHS5NUu+Eqn6HFTAeYIQGdtRRGW6KR/w+VkrXtM3zqrq3/IqgCqAKoCbDeBPAQYAvdcfKsxKtoUAAAAASUVORK5CYII=" \ # uaa 페이지 타이틀 로고 이미지(base64)
-v uaa_login_links_passwd="http://portal-web-user.115.68.46.190.xip.io/resetpasswd" \ # uaa 페이지에서 Reset password 누를 시 이동하는 링크 주소
-v uaa_login_links_signup="http://portal-web-user.115.68.46.190.xip.io/createuser" \ # uaa 페이지에서 Create account 누를 시 이동하는 링크 주소)
-v uaa_clients_portalclient_redirect_uri="http://portal-web-user.115.68.46.190.xip.io,http://portal-web-user.115.68.46.190.xip.io/callback" \ # uaa portalclient의 redirect url 지정 변수, 포탈에서 로그인 버튼 클릭 후 uaa 페이지에서 성공적으로 로그인했을 경우 이동하는 uri 경로
-v uaa_clients_portalclinet_secret="portalclient" \ # uaac portalclient에 접근하기 위한 secret 변수
-v uaa_admin_client_secret="admin-secret" # uaac adminclient에 접근하기 위한 secret 변수

3.7.3. deploy-azure.sh

bosh -e {director_name} -d paasta deploy paasta-deployment.yml \ # PaaS-TA manifest file
-o operations/azure.yml \ # azure 설정
-o operations/use-compiled-releases.yml \ # compile된 release 파일 정보 (offline)
-o operations/use-haproxy.yml \ # haproxy 적용
-o operations/use-haproxy-public-network.yml \ # haproxy public network 적용
-o operations/use-postgres.yml \ # database type 설정 (3.5버전 이하에서 migration 시 필수)
-o operations/rename-network-and-deployment.yml \ # rename network and deployment
-v network_name=default \ # default network name
-v inception_os_user_name=ubuntu \ # home user name (release file path 설정 시 필요)
-v haproxy_public_ip=52.231.156.110 \ # haproxy ip (public ip)
-v haproxy_public_network_name=vip \ # PaaS-TA public network name
-v cf_admin_password=admin \ # PaaS-TA admin password
-v cc_db_encryption_key=db-encryption-key \ # database encryption key (version upgrade 시 동일 KEY 필수)
-v uaa_database_password=uaa_admin \ # uaadb database password
-v cc_database_password=cc_admin \ # ccdb database password
-v cert_days=3650 \ # PaaS-TA 인증서 유효기간
-v system_domain=52.231.156.110.xip.io # domain (xip.io를 사용하는 경우 haproxy public_ip와 동일)
-v uaa_login_logout_redirect_parameter_disable=false \
-v uaa_login_logout_redirect_parameter_whitelist=["http://portal-web-user.115.68.46.190.xip.io","http://portal-web-user.115.68.46.190.xip.io/callback","http://portal-web-user.115.68.46.190.xip.io/login"] \ # 포탈 페이지 이동을 위한 uaa redirect whitelist 등록 변수
-v uaa_login_branding_company_name="PaaS-TA R&D" \ # uaa 페이지 타이틀 명
-v uaa_login_branding_footer_legal_text="Copyright © PaaS-TA R&D Foundation, Inc. 2017. All Rights Reserved." \ # uaa 페이지 하단영역 텍스트
-v uaa_login_branding_product_logo="iVBORw0KGgoAAAANSUhEUgAAAM0AAAAdCAYAAAAJguhGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUNDMTA1MTZCRDNBMTFFNjkzMTVEQjMxRkE5QjkxNUMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUNDMTA1MTdCRDNBMTFFNjkzMTVEQjMxRkE5QjkxNUMiPiA8eG1wTU06RGVyaX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qXOjHXLXi8/l7eCRR0WUi3gWekowKxGaMyvjXzd+z0wp27tUjZ18TFiboljdALleNlTAEjdw4MKJp2CvdW/2T+/5VEz03FmRee4S8NECpljSUqTiv5U+53N9spM/o3TsrYN06dCDSDCLPCcb4apBaAdXjhkg3OOZmYgISLfMCdiWRPN1arz7Qzm//aCNd5wIVEPeyXZvs6d2v0N+UZhIDUztWqgreYjRiywk53QjHFzD9oI6H/mIrD4Pk0svKH+zo8tJX1hqonwCmLyeZFlzrET4pVJYQ3isgxf2iOZ3mokXWBkNlWyHbX3oLBVL31P//mcpKMFG50PVb4Y+fQZycoDJJBkAd75gFeU4bFPT2ei6nRvJls9W5qEZOrYoOLHvADIXOxHzWB62RGnoosfyJhlAimW07CNHRCK0TM6tBSX4BAlen7gASp8GBQo62XLF1G4S9ujRZuQGYNkWwX1C0Qh0jeu7i5Z/7tz7xPNCmOEZAIbP3/QgjK9a/F/3vY+x7vtlCMrjQoI3Oi4XTUE5c2CcGsDlo8XKRHhC2uJViOkxBltkLdirhnu+dToff0qd6LnDz11/wHHVLcKUha5bOCXdfA9aFh7y6u46g4aFQG4QfwPI9LGsNbD5aaHT57bq/sNPYuryCjLTDEJUpLbcmCTNjC0cllvFWrYHcWbd2idvX/+2bNq0m8HY4PhRFNrXYI6bBQpp2LZVMP2HYVIJuBEe541tQP4qnBsGh1FhIeO0rN6L1pUfmNFz99HIHxtsYXCZ1qoO0taTKgs+a4xAjguZmaLaVSNINHS5NUu+Eqn6HFTAeYIQGdtRRGW6KR/w+VkrXtM3zqrq3/IqgCqAKoCbDeBPAQYAvdcfKsxKtoUAAAAASUVORK5CYII=" \ # uaa 페이지 타이틀 로고 이미지(base64)
-v uaa_login_links_passwd="http://portal-web-user.115.68.46.190.xip.io/resetpasswd" \ # uaa 페이지에서 Reset password 누를 시 이동하는 링크 주소
-v uaa_login_links_signup="http://portal-web-user.115.68.46.190.xip.io/createuser" \ # uaa 페이지에서 Create account 누를 시 이동하는 링크 주소
-v uaa_clients_portalclient_redirect_uri="http://portal-web-user.115.68.46.190.xip.io,http://portal-web-user.115.68.46.190.xip.io/callback" \ # uaa portalclient의 redirect url 지정 변수, 포탈에서 로그인 버튼 클릭 후 uaa 페이지에서 성공적으로 로그인했을 경우 이동하는 uri 경로
-v uaa_clients_portalclinet_secret="portalclient" \ # uaac portalclient에 접근하기 위한 secret 변수
-v uaa_admin_client_secret="admin-secret" # uaac adminclient에 접근하기 위한 secret 변수

3.7.4. deploy-gcp.sh

bosh -e {director_name} -d paasta deploy paasta-deployment.yml \ # PaaS-TA manifest file
-o operations/use-compiled-releases.yml \ # compile된 release 파일 정보 (offline)
-o operations/use-haproxy.yml \ # haproxy 적용
-o operations/use-haproxy-public-network.yml \ # haproxy public network 적용
-o operations/use-postgres.yml \ # database type 설정 (3.5버전 이하에서 migration 시 필수)
-o operations/rename-network-and-deployment.yml \ # rename network and deployment
-v network_name=default \ # default network name
-v inception_os_user_name=ubuntu \ # home user name (release file path 설정 시 필요)
-v haproxy_public_ip=35.200.2.244 \ # haproxy ip (public ip)
-v haproxy_public_network_name=vip \ # PaaS-TA public network name
-v cf_admin_password=admin \ # PaaS-TA admin password
-v cc_db_encryption_key=db-encryption-key \ # database encryption key (version upgrade 시 동일 KEY 필수)
-v uaa_database_password=uaa_admin \ # uaadb database password
-v cc_database_password=cc_admin \ # ccdb database password
-v cert_days=3650 \ # PaaS-TA 인증서 유효기간
-v system_domain=35.200.2.244.xip.io # domain (xip.io를 사용하는 경우 haproxy public_ip와 동일)
-v uaa_login_logout_redirect_parameter_disable=false \
-v uaa_login_logout_redirect_parameter_whitelist=["http://portal-web-user.115.68.46.190.xip.io","http://portal-web-user.115.68.46.190.xip.io/callback","http://portal-web-user.115.68.46.190.xip.io/login"] \ # 포탈 페이지 이동을 위한 uaa redirect whitelist 등록 변수
-v uaa_login_branding_company_name="PaaS-TA R&D" \ # uaa 페이지 타이틀 명
-v uaa_login_branding_footer_legal_text="Copyright © PaaS-TA R&D Foundation, Inc. 2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ee4S8NECpljSUqTiv5U+53N9spM/o3TsrYN06dCDSDCLPCcb4apBaAdXjhkg3OOZmYgISLfMCdiWRPN1arz7Qzm//aCNd5wIVEPeyXZvs6d2v0N+UZhIDUztWqgreYjRiywk53QjHFzD9oI6H/mIrD4Pk0svKH+zo8tJX1hqonwCmLyeZFlzrET4pVJYQ3isgxf2iOZ3mokXWBkNlWyHbX3oLBVL31P//mcpKMFG50PVb4Y+fQZycoDJJBkAd75gFeU4bFPT2ei6nRvJls9W5qEZOrYoOLHvADIXOxHzWB62RGnoosfyJhlAimW07CNHRCK0TM6tBSX4BAlen7gASp8GBQo62XLF1G4S9ujRZuQGYNkWwX1C0Qh0jeu7i5Z/7tz7xPNCmOEZAIbP3/QgjK9a/F/3vY+x7vtlCMrjQoI3Oi4XTUE5c2CcGsDlo8XKRHhC2uJViOkxBltkLdirhnu+dToff0qd6LnDz11/wHHVLcKUha5bOCXdfA9aFh7y6u46g4aFQG4QfwPI9LGsNbD5aaHT57bq/sNPYuryCjLTDEJUpLbcmCTNjC0cllvFWrYHcWbd2idvX/+2bNq0m8HY4PhRFNrXYI6bBQpp2LZVMP2HYVIJuBEe541tQP4qnBsGh1FhIeO0rN6L1pUfmNFz99HIHxtsYXCZ1qoO0taTKgs+a4xAjguZmaLaVSNINHS5NUu+Eqn6HFTAeYIQGdtRRGW6KR/w+VkrXtM3zqrq3/IqgCqAKoCbDeBPAQYAvdcfKsxKtoUAAAAASUVORK5CYII=" \ # uaa 페이지 타이틀 로고 이미지(base64)
-v uaa_login_links_passwd="http://portal-web-user.115.68.46.190.xip.io/resetpasswd" \ # uaa 페이지에서 Reset password 누를 시 이동하는 링크 주소
-v uaa_login_links_signup="http://portal-web-user.115.68.46.190.xip.io/createuser" \ # uaa 페이지에서 Create account 누를 시 이동하는 링크 주소
--v uaa_clients_portalclient_redirect_uri="http://portal-web-user.115.68.46.190.xip.io,http://portal-web-user.115.68.46.190.xip.io/callback" \ # uaa portalclient의 redirect url 지정 변수, 포탈에서 로그인 버튼 클릭 후 uaa 페이지에서 성공적으로 로그인했을 경우 이동하는 uri 경로
-v uaa_clients_portalclinet_secret="portalclient" \ # uaac portalclient에 접근하기 위한 secret 변수
-v uaa_admin_client_secret="admin-secret" # uaac adminclient에 접근하기 위한 secret 변수

3.7.5. deploy-vsphere.sh

bosh -e {director_name} -d paasta deploy paasta-deployment.yml \ # PaaS-TA manifest file
-o operations/use-compiled-releases.yml \ # compile된 release 파일 정보 (offline)
-o operations/use-haproxy.yml \ # haproxy 적용
-o operations/use-haproxy-public-network-vsphere.yml \ # haproxy public network 적용
-o operations/use-postgres.yml \ # database type 설정 (3.5버전 이하에서 migration 시 필수)
-o operations/rename-network-and-deployment.yml \ # rename network and deployment
-v network_name=default \ # default network name
-v inception_os_user_name=ubuntu \ # home user name (release file path 설정 시 필요)
-v haproxy_public_ip=35.200.2.244 \ # haproxy ip (public ip)
-v haproxy_public_network_name=vip \ # PaaS-TA public network name
-v haproxy_private_network_name=private \ # PaaS-TA private network name
-v cf_admin_password=admin \ # PaaS-TA admin password
-v cc_db_encryption_key=db-encryption-key \ # database encryption key (version upgrade 시 동일 KEY 필수)
-v uaa_database_password=uaa_admin \ # uaadb database password
-v cc_database_password=cc_admin \ # ccdb database password
-v cert_days=3650 \ # PaaS-TA 인증서 유효기간
-v system_domain=35.200.2.244.xip.io # domain (xip.io를 사용하는 경우 haproxy public_ip와 동일)
-v uaa_login_logout_redirect_parameter_disable=false \
-v uaa_login_logout_redirect_parameter_whitelist=["http://portal-web-user.115.68.46.190.xip.io","http://portal-web-user.115.68.46.190.xip.io/callback","http://portal-web-user.115.68.46.190.xip.io/login"] \ # 포탈 페이지 이동을 위한 uaa redirect whitelist 등록 변수
-v uaa_login_branding_company_name="PaaS-TA R&D" \ # uaa 페이지 타이틀 명
-v uaa_login_branding_footer_legal_text="Copyright © PaaS-TA R&D Foundation, Inc. 2017. All Rights Reserved." \ # uaa 페이지 하단영역 텍스트
-v uaa_login_branding_product_logo="iVBORw0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OOZmYgISLfMCdiWRPN1arz7Qzm//aCNd5wIVEPeyXZvs6d2v0N+UZhIDUztWqgreYjRiywk53QjHFzD9oI6H/mIrD4Pk0svKH+zo8tJX1hqonwCmLyeZFlzrET4pVJYQ3isgxf2iOZ3mokXWBkNlWyHbX3oLBVL31P//mcpKMFG50PVb4Y+fQZycoDJJBkAd75gFeU4bFPT2ei6nRvJls9W5qEZOrYoOLHvADIXOxHzWB62RGnoosfyJhlAimW07CNHRCK0TM6tBSX4BAlen7gASp8GBQo62XLF1G4S9ujRZuQGYNkWwX1C0Qh0jeu7i5Z/7tz7xPNCmOEZAIbP3/QgjK9a/F/3vY+x7vtlCMrjQoI3Oi4XTUE5c2CcGsDlo8XKRHhC2uJViOkxBltkLdirhnu+dToff0qd6LnDz11/wHHVLcKUha5bOCXdfA9aFh7y6u46g4aFQG4QfwPI9LGsNbD5aaHT57bq/sNPYuryCjLTDEJUpLbcmCTNjC0cllvFWrYHcWbd2idvX/+2bNq0m8HY4PhRFNrXYI6bBQpp2LZVMP2HYVIJuBEe541tQP4qnBsGh1FhIeO0rN6L1pUfmNFz99HIHxtsYXCZ1qoO0taTKgs+a4xAjguZmaLaVSNINHS5NUu+Eqn6HFTAeYIQGdtRRGW6KR/w+VkrXtM3zqrq3/IqgCqAKoCbDeBPAQYAvdcfKsxKtoUAAAAASUVORK5CYII=" \ # uaa 페이지 타이틀 로고 이미지(base64)
-v uaa_login_links_passwd="http://portal-web-user.115.68.46.190.xip.io/resetpasswd" \ # uaa 페이지에서 Reset password 누를 시 이동하는 링크 주소
-v uaa_login_links_signup="http://portal-web-user.115.68.46.190.xip.io/createuser" \ # uaa 페이지에서 Create account 누를 시 이동하는 링크 주소
-v uaa_clients_portalclient_redirect_uri="http://portal-web-user.115.68.46.190.xip.io,http://portal-web-user.115.68.46.190.xip.io/callback" \ # uaa portalclient의 redirect url 지정 변수, 포탈에서 로그인 버튼 클릭 후 uaa 페이지에서 성공적으로 로그인했을 경우 이동하는 uri 경로
-v uaa_clients_portalclinet_secret="portalclient" \ # uaac portalclient에 접근하기 위한 secret 변수
-v uaa_admin_client_secret="admin-secret" # uaac adminclient에 접근하기 위한 secret 변수

3.7.6. deploy-bosh-lite.sh

bosh -e {director_name} -d paasta deploy paasta-deployment.yml \ # PaaS-TA manifest file
-o operations/bosh-lite.yml \ # bosh-lite 설정
-o operations/use-compiled-releases.yml \ # compile된 release 파일 정보 (offline)
-o operations/use-postgres.yml \ # database type 설정 (3.5버전 이하에서 migration 시 필수)
-o operations/rename-network-and-deployment.yml \ # rename network and deployment
-v deployment_name=paasta \ # deployment name
-v network_name=default \ # default network name
-v inception_os_user_name=ubuntu \ # home user name (release file path 설정 시 필요)
-v cf_admin_password=admin \ # PaaS-TA admin password
-v cc_db_encryption_key=db-encryption-key \ # database encryption key (version upgrade 시 동일 KEY 필수)
-v uaa_database_password=uaa_admin \ # uaadb database password
-v cc_database_password=cc_admin \ # ccdb database password
-v cert_days=3650 \ # PaaS-TA 인증서 유효기간
-v system_domain=10.244.0.34.xip.io # domain
-v uaa_login_logout_redirect_parameter_disable=false \
-v uaa_login_logout_redirect_parameter_whitelist=["http://portal-web-user.115.68.46.190.xip.io","http://portal-web-user.115.68.46.190.xip.io/callback","http://portal-web-user.115.68.46.190.xip.io/login"] \ # 포탈 페이지 이동을 위한 uaa redirect whitelist 등록 변수
-v uaa_login_branding_company_name="PaaS-TA R&D" \ # uaa 페이지 타이틀 명
-v uaa_login_branding_footer_legal_text="Copyright © PaaS-TA R&D Foundation, Inc. 2017. All Rights Reserved." \ # uaa 페이지 하단영역 텍스트
-v uaa_login_branding_product_logo="iVBORw0KGgoAAAANSUhEUgAAAM0AAAAdCAYAAAAJguhGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj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bFPT2ei6nRvJls9W5qEZOrYoOLHvADIXOxHzWB62RGnoosfyJhlAimW07CNHRCK0TM6tBSX4BAlen7gASp8GBQo62XLF1G4S9ujRZuQGYNkWwX1C0Qh0jeu7i5Z/7tz7xPNCmOEZAIbP3/QgjK9a/F/3vY+x7vtlCMrjQoI3Oi4XTUE5c2CcGsDlo8XKRHhC2uJViOkxBltkLdirhnu+dToff0qd6LnDz11/wHHVLcKUha5bOCXdfA9aFh7y6u46g4aFQG4QfwPI9LGsNbD5aaHT57bq/sNPYuryCjLTDEJUpLbcmCTNjC0cllvFWrYHcWbd2idvX/+2bNq0m8HY4PhRFNrXYI6bBQpp2LZVMP2HYVIJuBEe541tQP4qnBsGh1FhIeO0rN6L1pUfmNFz99HIHxtsYXCZ1qoO0taTKgs+a4xAjguZmaLaVSNINHS5NUu+Eqn6HFTAeYIQGdtRRGW6KR/w+VkrXtM3zqrq3/IqgCqAKoCbDeBPAQYAvdcfKsxKtoUAAAAASUVORK5CYII=" \ # uaa 페이지 타이틀 로고 이미지(base64)
-v uaa_login_links_passwd="http://portal-web-user.115.68.46.190.xip.io/resetpasswd" \ # uaa 페이지에서 Reset password 누를 시 이동하는 링크 주소
-v uaa_login_links_signup="http://portal-web-user.115.68.46.190.xip.io/createuser" \ # uaa 페이지에서 Create account 누를 시 이동하는 링크 주소
-v uaa_clients_portalclient_redirect_uri="http://portal-web-user.115.68.46.190.xip.io,http://portal-web-user.115.68.46.190.xip.io/callback" \ # uaa portalclient의 redirect url 지정 변수, 포탈에서 로그인 버튼 클릭 후 uaa 페이지에서 성공적으로 로그인했을 경우 이동하는 uri 경로
-v uaa_clients_portalclinet_secret="portalclient" \ # uaac portalclient에 접근하기 위한 secret 변수
-v uaa_admin_client_secret="admin-secret" # uaac adminclient에 접근하기 위한 secret 변수
  • Shell script 파일에 실행 권한 부여

$ chmod +x ${HOME}/workspace/paasta-5.0/deployment/paasta-deployment/*.sh

3.7.7. PaaS-TA Operation 파일

파일명

설명

요구사항

operations/use-compiled-releases.yml

PaaS-TA release에서 제공하는 파일로 다운로드 및 컴파일 없이 빠른 설치가 가능하다.

operations/use-postgres.yml

Database를 postgres로 설치 - use-postgres.yml 미적용 시 MySQL 설치 - 3.5 이전 버전에서 migration 시 필수

operations/use-haproxy.yml

Haproxy 적용 - IaaS에서 제공하는 LB를 사용하여 PaaS-TA 설치 시, Operation 파일을 제거하고 설치한다.

Requires operation file: use-haproxy-public-network.ym Requires value : -v haproxy_private_ip

operations/use-haproxy-public-network.yml

Haproxy Public Network 설정 - IaaS에서 제공하는 LB를 사용하여 PaaS-TA 설치 시, Operation 파일을 제거하고 설치한다.

Requires: use-haproxy.yml Requires value : -v haproxy_public_ip -v haproxy_public_network_name

3.7.8. PaaS-TA Variable List

  1. uaa_login_logout_redirect_parameter_whitelist : 포탈 페이지 이동을 위한 uaa redirect whitelist 등록 변수

    ex) uaa_login_logout_redirect_parameter_whitelist=["포탈url","포탈url/callback"," 포탈url /login"]

    xip.io : 구글에서 지원해주는 임시 도메인, 기본 dns 서버가 8.8.8.8로 설정되어야 한다.

    xip.io를 사용하지 않고 dns를 사용할 경우, whitelist에 포탈 dns, 포탈 dns/callback, 포탈 dns/login 세 개의 항목을 등록해야 한다.

  2. uaa_login_links_passwd : uaa 페이지에서 Reset password 버튼 클릭 시 이동하는 링크 주소

  3. uaa_login_links_signup : uaa 페이지에서 Create account 버튼 클릭 시 이동하는 링크 주소

    ex) uaa_login_links_signup="{PaaS-TA PORTAL URI}/createuser"
  4. uaa_clients_portalclient_redirect_uri : uaa portalclient의 redirect uri 지정 변수, 포탈에서 로그인 버튼 클릭 후 uaa 페이지에서 로그인 성공 시 이동하는 URI

    ex) uaa_clients_portalclient_redirect_uri="{PaaS-TA PORTAL URI}, {PaaS-TA PORTAL URI}/callback"
  5. uaa_clients_portalclinet_secret : uaac portalclient에 접근하기 위한 secret 변수

    ex) uaa_clients_portalclinet_secret="portalclient"
    paasta-portal deploy 파일 안의 portal_client_secret의 값과 일치해야 한다.

  6. uaa_admin_client_secret : uaac adminclient에 접근하기 위한 secret 변수

    ex) uaa_admin_client_secret="admin-secret"
  7. uaa_admin_client_secret 적용 확인 방법

    (1) PaaS-TA 설치 후 아래 명령어 실행한다.

    $ uaac target
    $ uaac token client get

    (2) 설정한 secret 값으로 admin token을 얻을 경우 아래와 같은 결과가 출력된다.

    ubuntu@ip-10-0-0-59:~$ uaac target
    Target: https://uaa.54.180.53.80.xip.io
    Context: admin, from client admin
    ubuntu@ip-10-0-0-59:~$ uaac token client get
    Client ID: admin
    Client secret: ************
    Successfully fetched token via client credentials grant.
    Target: https://uaa.54.180.53.80.xip.io
    Context: admin, from client admin

3.8. PaaS-TA 설치

  • PaaS-TA 설치 Shell script 파일 실행 (BOSH 로그인 필요)

$ cd ${HOME}/workspace/paasta-5.0/deployment/paasta-deployment
$ ./deploy-{IaaS}.sh
  • PaaS-TA 설치 확인

$ bosh -e {director_name} vms -d paasta

ubuntu@ip-10-0-0-59:~$ bosh -e micro-bosh vms -d paasta
Using environment '10.0.1.6' as client 'admin'
Task 134. Done
Deployment 'paasta'
Instance Process State AZ IPs VM CID VM Type Active
adapter/58948983-7e9b-4761-89bf-6f88a6b9c7e2 running z1 10.0.1.123 i-076d0dfa6ec1f7d98 small true
adapter/ffca4d6c-6ce4-4cf0-8084-39326e68c9eb running z2 10.0.41.122 i-0a61fc33453ec64d0 small true
api/4b7cff7b-1e44-44eb-840b-732c754b921c running z1 10.0.1.128 i-05767b58d1d4b957c medium true
api/da8ca5bd-e310-44b6-b54a-21865f7132bd running z2 10.0.41.125 i-0ad626de643f5acb4 medium true
cc-worker/7babe563-bc7a-434d-85a2-4fd67081cfd7 running z2 10.0.41.126 i-01b845e22ffc1eb48 medium true
cc-worker/a5475b17-af99-44dc-9241-1feb087010f3 running z1 10.0.1.129 i-0c7e1f4e89871c8d7 medium true
credhub/27d026fe-a409-4f4e-8a22-61f121a2aba8 running z2 10.0.41.134 i-0570c6ce731340f08 small true
credhub/c58fa66a-cff6-4532-9abd-d4ba3b31f60e running z1 10.0.1.137 i-048b62105a7373a3d small true
database/d4449c40-25e4-4422-ac33-3584fe70f7c3 running z1 10.0.1.124 i-0408dcd38fb9e7346 medium true
diego-api/3211715c-c2e3-4356-a9b0-30b5da9fb3b4 running z2 10.0.41.123 i-09ab4c691aeb20d6a small true
diego-api/77e870de-e4fb-4737-82c5-5504e63df0a4 running z1 10.0.1.125 i-097475fa6e44911ab small true
diego-cell/bd7cde8e-5424-4ded-8e6e-5f0513af7641 running z2 10.0.41.132 i-0de8bdd034aaca50c large-highmem-32GB true
diego-cell/c14318c5-cd0f-4c9f-acd4-8ab8908c169e running z1 10.0.1.135 i-00feefaa1eb37afb0 large-highmem-32GB true
doppler/10344617-d442-4e22-9af9-8cc35d8bf314 running z2 10.0.41.130 i-0a831bffcf5d6c172 medium true
doppler/45bbbd94-3d5f-44df-9f01-11f8cdeb48ea running z1 10.0.1.133 i-07ad774745c4c6ab7 medium true
doppler/61fd7584-11be-442f-9c8a-2df1424121d8 running z1 10.0.1.134 i-0ee286945a1939220 medium true
doppler/89adaeb7-16ac-431e-9ba3-754e74308af7 running z2 10.0.41.131 i-0f47381253fddd716 medium true
haproxy/d645b06f-36eb-40d7-a828-8115794ca035 running z7 10.0.0.121 i-0d3b17f8414573ebe minimal true
54.180.53.80
log-api/c6d866b5-8350-427b-b873-cb7fbd5da943 running z2 10.0.41.133 i-0c7de5da28f58f302 small true
log-api/d8376424-360a-4f1b-9488-503f49fd8550 running z1 10.0.1.136 i-07d78c5dc6d854f8e small true
nats/154e1623-9dfe-425f-8bea-90d9b444e1d7 running z1 10.0.1.122 i-0d2e6c416bd23047c small true
nats/9d8f7df6-c22c-4f8e-ae28-83dbe9fa0de1 running z2 10.0.41.121 i-0c2169e16e77af947 small true
router/202e4d16-8044-4b47-8e7b-b6e827502b04 running z1 10.0.1.131 i-0e08bd4fa4c54739c small true
router/bd268bbd-1619-441c-a401-72d3cd9e18da running z2 10.0.41.128 i-0d6ca756c81fec386 small true
scheduler/33b5f3e2-83b4-4998-9e81-71cf60aaf82d running z1 10.0.1.130 i-0bbf05c84fc31e235 medium true
scheduler/a0dbe4d2-6f81-4df6-992b-111e10014609 running z2 10.0.41.127 i-0a8b481db3cd80036 medium true
singleton-blobstore/d0aa4103-50f9-474d-b309-c0a0c402ad5c running z1 10.0.1.127 i-028ef29ff1c5c18ca medium true
tcp-router/7998c2be-d535-49ca-bba6-5477c6018d78 running z1 10.0.1.132 i-027e51e7407ada6cd small true
tcp-router/e55653ea-cc33-4ead-b1d6-4b5f33fdb78b running z2 10.0.41.129 i-00fe2dda763b39cc9 small true
uaa/6ea05760-f851-413a-b03d-cfe83885d935 running z2 10.0.41.124 i-0577911096858aa61 medium true
uaa/d49ee04f-6f1f-4fbc-97ac-76419511b2e7 running z1 10.0.1.126 i-07938b838ca591170 medium true
31 vms
Succeeded

3.9. PaaS-TA 로그인

CF CLI를 설치하고 PaaS-TA에 로그인한다. CF api는 PaaS-TA 배포 시 지정했던 System Domain 명을 사용한다.

  • CF CLI 설치

$ wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -
$ echo "deb https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
$ sudo apt update
$ sudo apt install cf-cli -y
$ cf --version
  • CF API URL 설정

$ cf api api.{system_domain} --skip-ssl-validation

ubuntu@ip-10-0-0-59:~$ cf api api.54.180.53.80.xip.io --skip-ssl-validation
Setting api endpoint to api.54.180.53.80.xip.io...
OK
api endpoint: https://api.54.180.53.80.xip.io
api version: 2.138.0
  • PaaS-TA 로그인

$ cf login

ubuntu@ip-10-0-0-59:~$ cf login
API endpoint: https://api.54.180.53.80.xip.io
Email> admin
Password>
Authenticating...
OK
Select an org (or press enter to skip):

* 통합 Monitoring을 적용한 PaaS-TA 5.0 설치