Esempio n. 1
0
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# Deployment for Cloudera Manager Server + Agent cluster using custom RHEL 6
# images built using Packer.
#
################################################################################

import manager_base
from gce import *

GCE.setDefaults(
    project='curious-lemmings-42',
    zone='us-central1-a',
)

resources = manager_base.ClouderaCluster(
    numAgents=5,
    sourceImage='rhel-6-v20141218-cloudera',
    agentInitScript='../scripts/rhel-6/path-a/packer-agent-start.gen.sh',
    serverInitScript='../scripts/rhel-6/path-a/packer-server-start.gen.sh',
)
Esempio n. 2
0
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# Deployment for Cloudera Manager Server + Agent cluster using CentOS 6 images.
#
################################################################################

import manager_base
from gce import *

GCE.setDefaults(
    project='curious-lemmings-42',
    zone='us-central1-a',
)

resources = manager_base.ClouderaCluster(
    numAgents=5,
    sourceImage='centos-6-latest',
    agentInitScript='../scripts/centos-6/agent-init.gen.sh',
    serverInitScript='../scripts/centos-6/server-init.gen.sh',
)