Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home for cloudfoundry.org
« Groups Home
Setup of domain in Cloudfoundry Manifest
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
animesh nandanwar  
View profile  
 More options Sep 19 2012, 3:24 pm
From: animesh nandanwar <animeshnandan...@gmail.com>
Date: Wed, 19 Sep 2012 12:24:01 -0700 (PDT)
Local: Wed, Sep 19 2012 3:24 pm
Subject: Setup of domain in Cloudfoundry Manifest

Hi all,

I am able to deploy cloudfoundry on Openstack and now I can not do vmc
target: domain which is specified in cloudfoundry manisfest file.
Can someone help me to set it up and make it working ?

Following information will help you
I have a private openstack installation which is done using devstack. So
all the VMs have ip addresses in network 10.0.0.0/24. I also have floating
IPs associated to VMs which have network 172.24.4.224/28. So everything is
private. Please find below my cloudfoundry manifest details.

Manifest:
---
name: cloudfoundry
version: 104.1-dev
director_uuid: e3fd8add-8cea-40a0-bc4c-5e6b233c49d7

release:
    name: cloudfoundry
    version: 104.1-dev

compilation:
  workers: 2
  network: private
  cloud_properties:
    instance_type: m1.small
    key_name: inception

update:
  canaries: 1
  canary_watch_time: 3000-90000
  update_watch_time: 3000-90000
  max_in_flight: 1
  max_errors: 1

networks:
- name: private
  type: dynamic
  cloud_properties:
    security_groups:
    - default
- name: public
  type: vip
  cloud_properties:
    security_groups:
       - default
resource_pools:
- name: dea
  network: private
  size: 4
  stemcell:
    name: micro-bosh-stemcell
    version: 0.6.6
  cloud_properties:
    instance_type: m1.small
    key_name: inception
  env:
    bosh:
      password:
$6$JQgtik9/5uI2$FCHCAW3q0NPmlYm4MolQOEDOI4c9Kga4qFvWYdxwPpNSywTXYHKFE/WNR6L 4jbPR2ZPn69Q1GZ5vpYH.47VwO/
- name: infrastructure
  network: private
  size: 10
  stemcell:
    name: micro-bosh-stemcell
    version: 0.6.6
  cloud_properties:
    instance_type: m1.small
    key_name: inception
  env:
    bosh:
      password:
$6$JQgtik9/5uI2$FCHCAW3q0NPmlYm4MolQOEDOI4c9Kga4qFvWYdxwPpNSywTXYHKFE/WNR6L 4jbPR2ZPn69Q1GZ5vpYH.47VwO/

jobs:
- name: debian_nfs_server
  template: debian_nfs_server
  instances: 1
  resource_pool: infrastructure
  networks:
  - name: private
    default:
    - dns
    - gateway
  - name: public
    static_ips:
    - 172.24.4.226
- name: cloud_controller
  template: cloud_controller
  instances: 2
  resource_pool: infrastructure
  networks:
  - name: private
    default:
    - dns
    - gateway
- name: dea
  template: dea
  instances: 4
  resource_pool: dea
  networks:
  - name: private
    default:
    - dns
    - gateway
- name: router
  template: router
  instances: 1
  resource_pool: infrastructure
  networks:
  - name: private
    default:
    - dns
    - gateway
  - name: public
    static_ips:
    - 172.24.4.227
- name: stager
  template: stager
  instances: 1
  resource_pool: infrastructure
  networks:
  - name: private
    default:
    - dns
    - gateway
- name: ccdb_postgres
  template: ccdb_postgres
  instances: 1
  resource_pool: infrastructure
  networks:
  - name: private
    default:
    - dns
    - gateway
  - name: public
    static_ips:
    - 172.24.4.228
- name: vcap_redis
  template: vcap_redis
  instances: 1
  resource_pool: infrastructure
  networks:
  - name: private
    default:
    - dns
    - gateway
  - name: public
    static_ips:
    - 172.24.4.229
- name: health_manager
  template: health_manager
  instances: 1
  resource_pool: infrastructure
  networks:
  - name: private
    default:
    - dns
    - gateway
- name: nats
  template: nats
  instances: 1
  resource_pool: infrastructure
  networks:
  - name: private
    default:
    - dns
    - gateway
properties:
  domain: cloudfoundry.test

  env: {}

  networks:
    apps: private
    management: private

  nats:
    user: nats
    password: nats
    address: 172.24.4.225
    port: 4222

  cc:
    srv_api_uri: http://api.cloudfoundry.test
    external_uri: cloudfoundry.test
    password: aaauuLaap44jadlas2l312lk
    token: aaaf4eaa8c1758f66d5cb7adcb24adb9d7
    use_nginx: true
    new_stager_percent: 25
    new_stager_email_regexp: '...@test.com'
    staging_upload_user: stager
    staging_upload_password: definitelychangeme
    allow_registration: true
    uaa:
      enabled: false
      resource_id: cloud_controller
      client_secret: aaaNxRJcx6cpv
    admins:
    - anim...@test.com

  stager:
    max_staging_duration: 120
    max_active_tasks: 20
    queues:
    - staging

  ccdb:
    user: ccadmin
    password: changemechangeme
    address: 172.24.4.230
    port: 5524
    pool_size: 10
    dbname: appcloud
    roles:
    - tag: admin
      name: ccadmin
      password: changemechangeme
    databases:
    - tag: cc
      name: appcloud

  vcap_redis:
    address: 172.24.4.231
    port: 5454
    password: changemechangemechangeme
    maxmemory: 1000000000 # 1GB

  dea:
    max_memory: 1024

  nfs_server:
    address: 172.24.4.232
    network: 172.24.4.224/28

  router:
    status:
      port: 8080
      user: router
      password: changemechangemechangeme

  uaa:
    cc:
      token_secret: aaabxaiC371JM
      client_secret:
$2a$08$dahioBqSkqa1AbLvaqkLoe5W0aOPN3Ia9W0xkeB926G.AZJhq1SsK
    batch:
      username: do0H2AKay2jAc
      password: FSCTiplI5Q83n


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
skaar  
View profile  
 More options Sep 19 2012, 3:40 pm
From: skaar <sk...@vmware.com>
Date: Wed, 19 Sep 2012 12:40:40 -0700
Local: Wed, Sep 19 2012 3:40 pm
Subject: Re: [bosh-users] Setup of domain in Cloudfoundry Manifest

Is "cloudfoundry.test" a wild carded DNS record in your environment? You
will need it pointing to your router IP (or a load balancer fronting the
router ip) - if you just want to test the vmc client - and you don't have
DNS set up yet - you can locally add api.cloudfoundry.test to point to the
router IP (which from your manifest looks like it is: 172.24.4.227)

/skaar

On Wed, Sep 19, 2012 at 12:24 PM, animesh nandanwar <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
animesh nandanwar  
View profile  
 More options Sep 19 2012, 4:22 pm
From: animesh nandanwar <animeshnandan...@gmail.com>
Date: Wed, 19 Sep 2012 13:22:06 -0700
Local: Wed, Sep 19 2012 4:22 pm
Subject: Re: [bosh-users] Setup of domain in Cloudfoundry Manifest

Thanks Skaar,
I do not have DNS setup and hence added " 172.24.4.227
 api.cloudfoundry.test" to /etc/hosts file.
But still is does not work.

stack@esg-dell-c4-s07:~$ vmc target api.cloudfoundry.test
Host is not available or is not valid: 'http://api.cloudfoundry.test'
Would you like see the response? [yN]: y
Error (JSON 404): <html>
<head><title>404 Not Fo...

Thanks,
Animesh


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
skaar  
View profile  
 More options Sep 19 2012, 9:28 pm
From: skaar <sk...@vmware.com>
Date: Wed, 19 Sep 2012 18:28:24 -0700
Local: Wed, Sep 19 2012 9:28 pm
Subject: Re: [bosh-users] Setup of domain in Cloudfoundry Manifest

what is the output of:

bosh vms cloudfoundry

/skaar

On Wed, Sep 19, 2012 at 1:22 PM, animesh nandanwar <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
animesh nandanwar  
View profile  
 More options Sep 19 2012, 9:45 pm
From: animesh nandanwar <animeshnandan...@gmail.com>
Date: Wed, 19 Sep 2012 18:45:58 -0700
Local: Wed, Sep 19 2012 9:45 pm
Subject: Re: [bosh-users] Setup of domain in Cloudfoundry Manifest

Here is the output

root@inception-vm:/var/vcap/deployments# bosh vms cloudfoundry
Deployment cloudfoundry

Director task 21

Task 21 done

+---------------------+---------+----------------+------------------------- +
| Job/index           | State   | Resource Pool  | IPs                     |
+---------------------+---------+----------------+------------------------- +
|                     | running | infrastructure | 10.0.0.18               |
| ccdb_postgres/0     | running | infrastructure | 10.0.0.14, 172.24.4.228 |
| cloud_controller/0  | running | infrastructure | 10.0.0.7                |
| cloud_controller/1  | running | infrastructure | 10.0.0.4                |
| dea/0               | running | dea            | 10.0.0.6                |
| dea/1               | running | dea            | 10.0.0.9                |
| dea/2               | running | dea            | 10.0.0.11               |
| dea/3               | running | dea            | 10.0.0.16               |
| debian_nfs_server/0 | running | infrastructure | 10.0.0.8, 172.24.4.226  |
| health_manager/0    | running | infrastructure | 10.0.0.15               |
| nats/0              | running | infrastructure | 10.0.0.12               |
| router/0            | running | infrastructure | 10.0.0.10, 172.24.4.227 |
| stager/0            | running | infrastructure | 10.0.0.17               |
| vcap_redis/0        | running | infrastructure | 10.0.0.13, 172.24.4.229 |
+---------------------+---------+----------------+------------------------- +

VMs total: 14
root@inception-vm:/var/vcap/deployments#

Thanks,
Animesh


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »