cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1874
Views
0
Helpful
2
Replies

Static IPAM in CloudCenter

longlh12
Level 1
Level 1

Hello Cloudcenter experts,

i have private vmware cloud added to the Cloudcenter, IPAMCallout is set.

Capture1.PNG

i also added this directory in the 3 CCOs: /usr/local/osmosix/callout/ipam


with callout.conf:

                                   name=ipam

                                   type=exec

                                   topic=ipam

                                   debug=true

                                   executable=run.sh

                                   reinject=true

                                   disabled=false


and run.sh

                        #!/bin/bash

                              echo "DnsServerList=8.8.8.8,8.8.4.4"

                              echo "nicCount=1"  # This is a mandatory parameter and is always set to 1

                              echo "nicIP_0=10.14.102.30"

                              echo "nicDnsServerList_0=8.8.8.8,8.8.4.4"

                              echo "nicGateway_0=10.14.102.1"

                              echo "nicNetmask_0=255.255.255.0"

                              echo "domainName=fiscloud.vn"

                              echo "hwClockUTC=true"

                              echo "timeZone=Canada/Eastern"

                              echo "osHostname=testhost1"

but when deploying the application profile (its just single VM deployment), IP Allocation mode is still DHCP:


subnetId=FIS_ISC|FIS_ISC-AppProfile|VLAN-102-DEV2-EPG (vDS-UCSD)

eNV_cliqrExternalHttpsEnabled=0

FullClone=true

CloudFamily=Vmware

eNV_Cloud_Setting_cloud=VMWARE-Keangnam

eNV_Cloud_Setting_nicInfo=[{"privateIPAllocationMode":"DHCP","nicNetworkType":"NETWORK","networkID":"FIS_ISC|FIS_ISC-AppProfile|VLAN-102-DEV2-EPG (vDS-UCSD)","order":1,"publicIpAllocate":false,"assignIpv6Address":false}]

CC_AUTO_SELECT_NETWORK=false

eNV_cliqrSSLCert=

eNV_suspendScript=

eNV_tierOrder=1

eNV_launchIdent={user}cliqradmin{group}{vendor}1

eNV_Cloud_Setting_UserDataCenterName=Fis-Cloud

Name=test5

cloud=VMWARE-Keangnam

eNV_Cloud_Setting_FullClone=true

eNV_cliqrExternalPreStopAction=

eNV_cliqrNonStandardPort=

eNV_cliqrForceHttpRedirect=0

eNV_samlAuthDomain=10.14.60.213

UserClusterName=Lab-Mgt-Cluster

eNV_bareMetalMachine=false

eNV_SharedStorageMount=/shared

eNV_Cloud_Setting_subnetId=FIS_ISC|FIS_ISC-AppProfile|VLAN-102-DEV2-EPG (vDS-UCSD)

eNV_CliqrDepEnvId=1

eNV_cliqrExternalPostStartAction=

eNV_cliqrExternalPreInitAction=

numNICs=1

eNV_JOB_ID=10

eNV_appPackage=

eNV_OSSVC_HOME=/usr/local/osmosix/service

eNV_launchUserId=2

eNV_parentJobId=9

eNV_Cloud_Setting_UserResourcePoolName=FIS_ISC_ResourcePool

eNV_topTier=true

eNV_cliqrCentOSPreStopAction=

eNV_cliqrAppTierName=CentOS_1

eNV_Cloud_Setting_UserDatastoreCluster=Data_P5_Fast_vol4

eNV_Cloud_Setting_UserDatastore=

eNV_imageName=CentOS 6.x

eNV_Cloud_Setting_CloudFamily=Vmware

eNV_cliqrAppType=n-tier

eNV_cliqrExternalHttpEnabled=1

eNV_currentTierJobId=10

eNV_SSHPreference=NO_PREFERENCE

eNV_cliqrCentOSPreStartAction=

UserDatastoreCluster=Data_P5_Fast_vol4

eNV_pathParamNames_app_30_order_0=cliqrCentOSPreStartAction,cliqrCentOSPostStartAction,cliqrCentOSPreStopAction,cliqrCentOSPostStopAction,cliqrExternalPreStartAction,cliqrExternalPreInitAction,cliqrExternalPostStartAction,cliqrExternalPreStopAction,cliqrExternalPostStopAction,suspendScript,resumeScript

eNV_cliqrCentOSPostStopAction=

eNV_resumeScript=

eNV_cliqrExternalNoProtocolEnabled=0

eNV_Cli

Did i misconfigure something? pls help!

Hope to see ur reply.

2 Replies 2

Rui Vieira
Level 1
Level 1

have you restarted the cco? it wont "see" your change until it is restarted.

mohammedb1
Level 1
Level 1

When making a change to the VMhostname or IP Addressing behaviour for any cloud region, you need to firstly re-activate the orchestrate through the GUI or API.

The new settings should then take effect.