Contents

Introduction

Problem

Solution

Introduction

This document describes how to add a proxy to the Cloud Center Manager (CCM) and the Cloud Center Orchestrator (CCO) to allow Cloud Center to work without a direct connection to the internet.

Problem

For successful deployment and operations of Cloud Center, it is highly recommended to have direct internet access for package downloads. In the case of a private datacenter or internal networks, it is required to have an HTTP/HTTPS proxy server for internet access.

Solution

Note: Replace "proxyserver.com" in the configuration with your proxy server address.

Setup in Environment:

http_proxy=http://proxyserver.com:80

export http_proxy

https_proxy=https://proxyserver.com:80

export https_proxy

Edit yum.conf:

vi /etc/yum.conf

http_proxy=http://proxyserver.com:80

https_proxy=https://proxyserver.com:80

Edit Tomcat Environment:

vi /usr/local/tomcat/bin/setenv.sh

export JAVA_OPTS="-Dhttp.proxySet=true -Dhttp.proxyHost=proxyserver.com -Dhttp.proxyPort=80 -Dhttps.proxySet=true -DhttpsHost=proxyserver.com -Dhttps.proxyPort=80"