PaaS_TA_PaaS-TA_Install_Guide-v4.0

PaaS_TA_PaaS-TA_Install_Guide-v4.0

Executive Summary

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

1. 문서 개요

1.1. 목적

본 문서(설치가이드)는 paasta 를 설치 하기 위한 가이드를 제공하는데 그목적이 있다.

1.2. 범위

Paasta-4.0에서 사용하는 설치 방식은 기존 bosh1과 다르다. Bosh2에서 제공하는 bosh-deployment를 기반으로 bosh를 설치 된 환경에서 paasta-4.0 를 설치 한다.

본문서는 cf-deployment v5.5.0을 기준으로 작성 되었다. 기본 stemcell은 기존 ubuntu-trusty에서 ubuntu-xenial-97.28로 변경되었다.

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. paasta-4.0

Pasta-3.1까지는 bosh-init을 통하여 Bosh를 생성하고, bosh1 cli를 통하여 PaaS-TA Controller, Container를 생성하였다.

2.1. paasta-3.1

Bosh1은 bosh-init을 통하여 Bosh를 생성하고, bosh1 cli를 통하여 PaaS-TA Controller, Container를 생성하였다.

2.2. paasta-4.0

paasta-4.0는 bosh2를 기반으로 설치된다. Bosh2를 사용하여 Bosh생성 후 paasta-deployment를 활용하여 paasta를 deploy한다. Paasta-3.1 버전까지는 PaaS-TA Container, Controller를 별도로 deployment로 설치 해야 했지만 3.5/4.0 에서는 paasta deployment 하나로 통합 되었으며, 한번에 PaaS-TA를 설치 할 수 있다.

3. paasta-4.0 설치

3.1. pre-requsite

  1. PaaS-ta 4.0를 설치 하기 위해서는 bosh 설치과정에서 언급한 것 처럼 관련 deployment, release , stemcell을 파스타 사이트에서 다운로드 받아 정해진 경로에 복사 해야 한다.

  2. Bosh를 bosh2 기반으로 설치 되어 있어야 한다.

  3. Paasta-4.0 설치하는 환경은 bosh를 deploy한 inception(설치 환경)에서 작업 해야 한다.

3.2. PaaS-TA Release 파일 다운로드

  1. 파스타 다운로드 URL에서 [PaaS-TA 설치 릴리즈] 파일을 다운로드 받아 ~/workspace/paasta-4.0/release 이하 디렉토리에 압축을 푼다.

    압출을 풀면 아래 그림과 같이 ~/workspace/paasta-4.0/release/paasta 이하 디렉토리가 생성되며 이하에 릴리즈 파일(tgz)이 존재한다.

3.2. Stemcell upload

Paasta-4.0는 ubuntu xenial stemcell 97.28을 기반으로 한다. Bosh login 후 stemcell을 upload 한다. Stemcell은 Deploy될 때 생성되는 PaaS-TA VM Base OS Image이다. Bosh Login 후 다음 명령어를 수행하여 stemcel을 upload 한다. stemcell은 bosh 설치시 download 받아야 한다. director_name은 bosh를 설치할때 사용한 director_name을 입력한다.

$ cd ~/workspace/paasta-4.0/stemcells
$ bosh -e {director_name} upload-stemcell bosh-aws-xen-hvm-ubuntu-xenial-go_agent-97.28.tgz (aws)
$ bosh -e {director_name} upload-stemcell bosh-openstack-xen-hvm-ubuntu-xenial-go_agent-97.28.tgz (openstack)
$ bosh -e {director_name} upload-stemcell bosh-vsphere-esxi-ubuntu-xenial-go_agent-97.28.tgz (vsphere)
$ bosh -e {director_name} upload-stemcell bosh-azure-hyperv-ubuntu-xenial-go_agent-97.28.tgz.tgz (azure)
$ bosh -e {director_name} upload-stemcell bosh-google-kvm-ubuntu-xenial-go_agent-97.28.tgz (google)
$ bosh -e {director_name} stemcells

3.3. cloud-config

PaaS-Ta 설치하기 위한 iaas 관련 network,storage,vm 관련 설정들을 정의 한다. IaaS,network,disk등 상황에 따라 설정이 다르다. paasta-deployment.yml은 cloud-config설정에 따라 paasta-vm을 설치 한다. PaaS-TA Deploy전에 cloud-config가 Bosh에 Upload 되어야 한다. PaaS-TA는 iaas별 cloud-config 예제를 제공하며, paasta를 설치 하려면 cloud-config.yml을 iaas상황에 맞게 수정 해야 한다.

다음은 openstack기준 cloud-config설정 예제이다. paasta-4.0 deployment를 다운로드 받으면 cloud-config 디렉토리 이하에 iaas별 cloud-config 예제를 볼 수 있다

다음은 openstack을 기준으로한 cloud-config.yml 예제 이다.

## azs는 가용 zone에 대한 설정으로 paasta가 설치될 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은 paasta vm이 설치될 spec을 정의 하며 instance_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 은 PaaS-TA 설치 시 Compile VM이 생성될 zone 및 vm type을 설정한다.
compilation:
az: z3
network: default
reuse_compilation_vms: true
vm_type: large
workers: 5
## disk_type은 paasta vm이 사용할 persistence 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은 paasta vm이 생성될 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 특정 구성을 지정할 수있는 클라우드 구성의 가상 컴퓨터 구성이다.
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에 update 한다.

$ cd ~/workspace/paasta-3.5/deployment/cloud-config
$ bosh –e {director_name} update-cloud-config {iaas}_cloud_config.yml
$ bosh –e {director_name} cloud-config # bosh에 update된 cloud-config 확인

upload된 cloud-config 확인 한다.

$ bosh –e {director_name} cloud-config

3.3.1. azs

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

3.3.2. vm_types

vm_type은 IaaS에서 정의된 VM Type이다. Openstack으로 따지면 Flavor Type이다.

다음은 openstack에서 정의한 flavor type 이다.

3.3.3. compilation

PaaS-TA및 서비스를 설치시 PaaS-TA는 Compile VM을 생성하여 소스를 컴파일하고 PaaS-TA VM을 생성 하여 컴파일된 output file을 대상 VM에 설치한다. 컴파일이 끝난 Vm은 삭제된다. worker 수는 Compile VM의 수로 많을 수록 컴파일 속도가 빨라진다.

3.3.4. disk_size

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

3.3.4. networks

networks는 azs zone별 subnet network, dns , security_toups, network_id를 정의 한다. 보통 azs별로 256개의 IP를 정의 할 수 있도록 range cider를 정의 하였다.

3.4. bosh-dns release upload

PaaS-TA 4.0부터 적용된는 부분으로 PaaS-TA Component에서 Consul이 대체되어 들어온 Component이다. PaaS-TA Component간의 통신을 위해 Bosh DNS가 Deploy되어야 한다.

Bosh Login후 아래 내용을 실행한다.

$ cd ~/workspace/paasta-4.0/deployment/bosh-deployment
$ ./update-runtime-config.sh

3.4.1. update-runtime-config.sh

아래 내용을 inception 상황에 맞게 수정하여 실행한다.

bosh -e {director-name} update-runtime-config runtime-configs/dns.yml \
-v inception_os_user_name=ubuntu \ # home user명 (release file path와 연관성 있음. /home/ubuntu/paasta-4.0 이하 release 파일들의 경로 설정)
-v cert_days=3650 # 인증서 인증 기간

3.4. paasta 설치 파일

~/workspace/paasta-4.0/deployment/paasta-deployment 이하 디렉토리에는 iaas별 paasta를 설치하는 shell이 존재한다. Shell 파일을 이용하여 bosh를 설치 한다. 파일명은 deploy-{iaaS-name}.sh 로 만들어 졌다.

$ cd ~/workspace/paasta-4.0/deployment/paasta-deployment
$ chmod 755 *.sh

deploy-aws.sh

amazon 설치 paasta 설치 shell

deploy-openstack.sh

openstack 설치 paasta 설치 shell

deploy-vsphere.sh

vsphere 설치 paasta 설치 shell

deploy-gcp.sh

GCP(google) 설치 paasta 설치 shell

deploy-azure.sh

Azure 설치 bosh 설치 shell

deploy-bosh-lite.sh

Bosh-lite(local Test용) 설치 paasta 설치 shell

설치 shell 파일은 각 iaas별로 존재하며 bosh 설치 시 명령어는 deploy 로 시작한다. Shell 이 아닌 bosh command로 실행이 가능하며 설치하는 IaaS 환경에 따라 Option들이 달라진다.

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

설치 option

-e

BOSH Director name

-d

Deployment name (paasta 는 deployment name paasta)

-o

Paasta 설치시 사용하는 option 파일로 아래 기능을 기본으로 제공한다.(iaas별속성, haproxy 사용여부 , database 선정 )

-v

paasta 설치시 사용되는 yml 파일 또는 option 파일에 변수에 값을 설정할 경우 사용 할 수 있다. operation yml file 속성에 따라 필수인 경우와 option인 경우가 있다.

3.5. paasta deploy shell

  • paasta-deployment.yml 파일은 paasta를 deploy하는 manifest file이다. paasta vm에대한 설치 정의를 하게 된다. vm중 singleton-blobstore, database 의 azs(zone)을 변경 하면 조직, 스페이스, app의 정보가 모두 삭제된다.

※ 이미 설치된 PaaS-Ta를 Re-deploy시 singleton-blobstore, database 의 azs(zone)을 변경 하면 조직, 스페이스, app의 정보가 모두 삭제된다

다음은 paasta-deploy시 필수 옵션이다. cf_admin_password, cc_db_encryption_key, uaa_database_password, cc_database_password는 –v 옵션이 없는 경우 Bosh에서 자동생성하여 bosh credhub에 저장된다.

3.5.1. deploy-aws.sh

bosh -e {director_name} -d paasta deploy paasta-deployment.yml \ # paasta manifest file
-o operations/aws.yml \ # aws 설정
-o operations/use-compiled-releases.yml \
-o operations/use-haproxy.yml \ # haproxy 사용여부
-o operations/use-haproxy-public-network.yml \ # haproxy public ip 사용여부
-o operations/use-postgres.yml \ # paasta database type 설정 (3.5버전 이하에서 migration시 필수)
-o paasta-addon/paasta-monitoring.yml \ # monitoring metric Agent 추가
-o operations/addons/enable-component-syslog.yml \ # monitoring Log Agent 추가
-v metric_url=10.0.15.11 \ # monitoring metric agent에서 전송할 influxDB ip
-v syslog_address="10.0.10.15" \ # pasta logging agent에서 전송할 log IP
-v syslog_port="2514" \ # pasta logging agent에서 전송할 log port
-v syslog_custom_rule="if ($msg contains "DEBUG") then stop" \ # pasta logging agent에서 전송할 Custom Rule
-v syslog_fallback_servers=[] \
-v inception_os_user_name=ubuntu \ # home user명 (release file path와 연관성 있음. /home/ubuntu/paasta-3.5 이하 release 파일들의 경로 설정)
-v haproxy_public_ip=52.199.190.1 \ # pasta public ip
-v haproxy_public_network_name=vip \
-v cf_admin_password=admin \ # paasta admin password
-v cc_db_encryption_key=db-encryption-key \ # database 암호화 키 (version upgrade시 동일한 key이어야 함)
-v uaa_database_password=uaa_admin \ # uaadb database pwd
-v cc_database_password=cc_admin \ # ccdb database pwd
-v cert_days=3650 \ # paasta 인중서 유효기간
-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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj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dfA9aFh7y6u46g4aFQG4QfwPI9LGsNbD5aaHT57bq/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" \ v # 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.5.2. deploy-openstack.sh

bosh -e {director_name} -d paasta deploy paasta-deployment.yml \ # paasta manifest file
-o operations/use-compiled-releases.yml \ # compile된 release 파일 정보(offline)
-o operations/use-haproxy.yml \
-o operations/use-haproxy-public-network.yml \
-o operations/use-postgres.yml \ # database postgres 선택
-o paasta-addon/paasta-monitoring.yml \ # monitoring metric Agent 추가
-o operations/addons/enable-component-syslog.yml \ # monitoring Log Agent 추가
-v metric_url=10.0.15.11 \ # monitoring metric agent에서 전송할 influxDB ip
-v syslog_address="10.0.10.15" \ # pasta logging agent에서 전송할 log IP
-v syslog_port="2514" \ # pasta logging agent에서 전송할 log port
-v syslog_custom_rule="if ($msg contains "DEBUG") then stop" \ # pasta logging agent에서 전송할 Custom Rule
-v syslog_fallback_servers=[] \
-v inception_os_user_name=ubuntu \ # home user명 (release file path와 연관성 있음. /home/ubuntu/paasta-3.5 이하 release 파일들의 경로 설정)
-v haproxy_public_ip=52.199.190.1 \ # paasta public ip
-v haproxy_public_network_name=vip \
-v cf_admin_password=admin \ # paasta admin password
-v cc_db_encryption_key=db-encryption-key \ # version upgrade시 동일한 key이어야 함
-v uaa_database_password=uaa_admin \ # uaadb database pwd
-v cc_database_password=cc_admin \ # ccdb database pwd
-v cert_days=3650 \ # paasta 인중서 유효기간
-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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gP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7vtlCMrjQoI3Oi4XTUE5c2CcGsDlo8XKRHhC2uJViOkxBltkLdirhnu+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.5.3. deploy-azure.sh

bosh -e {director_name} -d paasta deploy paasta-deployment.yml \
-o operations/azure.yml \
-o operations/use-compiled-releases.yml \
-o operations/use-haproxy.yml \
-o operations/use-haproxy-public-network.yml \
-o operations/use-postgres.yml \
-o paasta-addon/paasta-monitoring.yml \ # monitoring metric Agent 추가
-o operations/addons/enable-component-syslog.yml \ # monitoring Log Agent 추가
-v metric_url=10.0.15.11 \ # monitoring metric agent에서 전송할 influxDB ip
-v syslog_address="10.0.10.15" \ # pasta logging agent에서 전송할 log IP
-v syslog_port="2514" \ # pasta logging agent에서 전송할 log port
-v syslog_custom_rule="if ($msg contains "DEBUG") then stop" \ # pasta logging agent에서 전송할 Custom Rule
-v syslog_fallback_servers=[] \
-v inception_os_user_name=ubuntu \ # home user명 (release file path와 연관성 있음. /home/ubuntu/paasta-3.5 이하 release 파일들의 경로 설정)
-v haproxy_public_ip=52.231.156.110 \ # paasta public ip
-v haproxy_public_network_name=vip \
-v cf_admin_password=admin \ # paasta admin password
-v cc_db_encryption_key=db-encryption-key \ # version upgrade시 동일한 key이어야 함
-v uaa_database_password=uaa_admin \ # uaadb database pwd
-v cc_database_password=cc_admin \ # ccdb database pwd
-v cert_days=3650 \ # paasta 인중서 유효기간
-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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jM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uQGYNkWwX1C0Qh0jeu7i5Z/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.5.4. deploy-google.sh

bosh -e {director_name} -d paasta deploy paasta-deployment.yml \
-o operations/use-compiled-releases.yml \
-o operations/use-haproxy.yml \
-o operations/use-haproxy-public-network.yml \
-o operations/use-postgres.yml \
-o paasta-addon/paasta-monitoring.yml \ # monitoring metric Agent 추가
-o operations/addons/enable-component-syslog.yml \ # monitoring Log Agent 추가
-v metric_url=10.0.15.11 \ # monitoring metric agent에서 전송할 influxDB ip
-v syslog_address="10.0.10.15" \ # pasta logging agent에서 전송할 log IP
-v syslog_port="2514" \ # pasta logging agent에서 전송할 log port
-v syslog_custom_rule="if ($msg contains "DEBUG") then stop" \ # pasta logging agent에서 전송할 Custom Rule
-v syslog_fallback_servers=[] \
-v inception_os_user_name=ubuntu \ # home user명 (release file path와 연관성 있음. /home/ubuntu/paasta-3.5 이하 release 파일들의 경로 설정)
-v haproxy_public_ip=35.200.2.244 \ # paasta public ip
-v haproxy_public_network_name=vip \
-v cf_admin_password=admin \ # paasta admin password
-v cc_db_encryption_key=db-encryption-key \ # version upgrade시 동일한 key이어야 함
-v uaa_database_password=uaa_admin \ # uaadb database pwd
-v cc_database_password=cc_admin \ # ccdb database pwd
-v cert_days=3650 \ # paasta 인중서 유효기간
-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="iVBORw0KGgoAAAANSUhEUgAAAM0AAAAdCAYAAAAJguhGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS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W07CNHRCK0TM6tBSX4BAlen7gASp8GBQo62XLF1G4S9ujRZuQGYNkWwX1C0Qh0jeu7i5Z/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.5.5. deploy-vshpere.sh

bosh -e {director_name} -d paasta deploy paasta-deployment.yml \
-o operations/use-compiled-releases.yml \
-o operations/use-haproxy.yml \
-o operations/use-haproxy-public-network.yml \
-o operations/use-postgres.yml \
-o paasta-addon/paasta-monitoring.yml \ # monitoring metric Agent 추가
-o operations/addons/enable-component-syslog.yml \ # monitoring Log Agent 추가
-v metric_url=10.0.15.11 \ # monitoring metric agent에서 전송할 influxDB ip
-v syslog_address="10.0.10.15" \ # pasta logging agent에서 전송할 log IP
-v syslog_port="2514" \ # pasta logging agent에서 전송할 log port
-v syslog_custom_rule="if ($msg contains "DEBUG") then stop" \ # pasta logging agent에서 전송할 Custom Rule
-v syslog_fallback_servers=[] \
-v inception_os_user_name=ubuntu \ # home user명 (release file path와 연관성 있음. /home/ubuntu/paasta-3.5 이하 release 파일들의 경로 설정)
-v haproxy_public_ip=35.200.2.244 \ # paasta public ip
-v haproxy_public_network_name=vip \
-v cf_admin_password=admin \ # paasta admin password
-v cc_db_encryption_key=db-encryption-key \ # version upgrade시 동일한 key이어야 함
-v uaa_database_password=uaa_admin \ # uaadb database pwd
-v cc_database_password=cc_admin \ # ccdb database pwd
-v cert_days=3650 \ # paasta 인중서 유효기간
-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="iVBORw0KGgoAAAANSUhEUgAAAM0AAAAdCAYAAAAJguhGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+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T2ei6nRvJls9W5qEZOrYoOLHvADIXOxHzWB62RGnoosfyJhlAimW07CNHRCK0TM6tBSX4BAlen7gASp8GBQo62XLF1G4S9ujRZuQGYNkWwX1C0Qh0jeu7i5Z/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.5.6. deploy-bosh-lite.sh

bosh -e {director_name} -d paasta deploy paasta-deployment.yml \
-o operations/bosh-lite.yml \
-o operations/use-compiled-releases.yml \
-o operations/use-postgres.yml \
-v cf_admin_password=admin \
-v inception_os_user_name=ubuntu \ # home user명 (release file path와 연관성 있음. /home/ubuntu/paasta-3.5 이하 release 파일들의 경로 설정)
-v cf_admin_password=admin \ # paasta admin password
-v cc_db_encryption_key=db-encryption-key \ # version upgrade시 동일한 key이어야 함
-v uaa_database_password=uaa_admin \ # uaadb database pwd
-v cc_database_password=cc_admin \ # ccdb database pwd
-v cert_days=3650 \ # paasta 인중서 유효기간
-v system_domain=10.244.0.34.xip.io # domain (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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIg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PYuryCjLTDEJUpLbcmCTNjC0cllvFWrYHcWbd2idvX/+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.5.7. PaaS-TA operation file

File Name

설명

Requires

operations/use-compiled-releases.yml

paasta release 에서 제공되는 파일로 download, compile 없이 빠른 설치가 가능하다.

operations/use-postgres.yml

Database를 postgres로 설치 - use-postgres.yml 적용하지 않으면 MySql 설치 - 3.5 이전 버전에서 migration 시 필수

operations/use-haproxy.yml

Haproxy 적용 - 만약 IaaS에서 제공하는 LB를 사용하여 PaaS-TA를 설치할 경우 haproxy를 제거하하고 설치 한다

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

operations/use-haproxy-public-network.yml

Haproxy Public Network 설정

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

paasta-addon/paasta-monitoring.yml

PaaS-TA Monitoring Agent 적용 - PaaS-TA Monitoring 적용시 필수

Requires value : -v metric_url

operations/addons/enable-component-syslog.yml

PaaS-TA Monitoring Log Agent 적용 - PaaS-TA VM Log 전송

Requires value : -v syslog_address -v syslog_port -v syslog_custome_rule -v syslog_failback_servers

※ monitoring-agent는 bosh vm의 상태정보(metric_data)를 paasta-monitoring의 influxdb에 metric Data를 전송한다. syslog agent는 bosh vm의 log정보를 logsearch의 ls-router에 전송하는 역할을 한다. metric_url은 Bosh 설치 전에 pasta-monitoring에서 influxdb ip를 사전에 정의해야 한다. 마찬가지로 syslog_address도 Bosh 설치 전에 logsearch의 ls-router ip를 사전에 정의 해야 한다. paasta설치 후 paasta-monitoring 및 logsearch를 설치하면 Data가 Agent로 부터 전송된다.

3.5.7. PaaS-TA value

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

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

    xip.io 를 사용하지 않고 dns를 사용할 경우 whitelist에 포탈dns, 포탈dns/callback, 포탈dns/login 세개의 항목을 등록해주어야한다. 예시)uaa_login_logout_redirect_parameter_whitelist=["포탈url","포탈url/callback"," 포탈url /login"]

  2. uaa_login_links_passwd : uaa 페이지에서 Reset password 누를시 이동하는 링크 주소

  1. uaa_login_links_passwd : uaa 페이지에서 Reset password 누를시 이동하는 링크 주소

예시 ) uaa_login_links_signup=" Create account URI" 포탈에서 제공하는 Create account 주소 : “포탈url/createuser”

  1. uaa_clients_portalclient_redirect_uri : uaa portalclient의 redirect url 지정 변수, 포탈에서 로그인 버튼 클릭후 uaa 페이지에서 성공적으로 로그인했을경우 이동하는 uri 경로

    예시 ) uaa_clients_portalclient_redirect_uri="포탈URI,포탈URI/callback"

  2. uaa_clients_portalclinet_secret : uaac portalclient의 접근하기위한 secret 변수

    예시 ) uaa_clients_portalclinet_secret="portalclient"

Paasta-portal deploy 파일안의 portal_client_secret의 값과 일치해야한다.

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

    예시 ) uaa_admin_client_secret =" adminsecret"

uaa_admin_client_secret 적용 확인 방법

(1) Paasta 설치 후 $uaac target

(2) $uaac token client get

설정한 secret값으로 admin token을 얻을경우 화면과 같은 결과가 나온다.

3.6. paasta deploy

$ cd ~/workspace/paasta-4.0/deployment/paasta-deployment
$ ./deploy-{iaas}.sh

3.7. paasta deploy 확인

bosh -e {director_name} vms

2.8. paasta login

cf cli를 설치 하고 paasta에 로그인 한다. api target 은 paasta deploy시 지정해주었던 system_domain 명을 사용한다. ex) cf api api.{system_domain} --skip-ssl-validation

cf api api.{system_domain} --skip-ssl-validation #api target 지정
cf login # login