Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update monitoring.sh #2

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

alincalinciuc
Copy link
Member

No description provided.

@gc4rella
Copy link
Member

I see that you are including here also changes related to stun and turn servers..please coordinate with @mpauls as there are other scripts for that: https://github.com/nubomedia/nubomedia-msvnfm/tree/master/src/main/resources/scripts

adding @lulop-k just FYI

@mpauls
Copy link
Member

mpauls commented Nov 24, 2016

I just checked the script and I am not really sure what you want to achieve. Where do you get the variables from? The variables that are replaced in the scripts (done directly by the VNFM) have different names:

  • $MONITORING_URL
  • $TURN_SERVER_ACTIVATE
  • $TURN_SERVER_URL
  • $TURN_SERVER_USERNAME
  • $TURN_SERVER_PASSWORD
  • ...

I would like to see also some structure in the scripts. The script you modified is for monitoring only and not for STUN or TURN servers. There are dedicated scripts for it. If we need something else, we can also create new files.

So just tell me what needs to be configured by the PaaS/VNFM and I will take care.

@alincalinciuc
Copy link
Member Author

alincalinciuc commented Nov 25, 2016

Hi Michael,

In this case I can update the bash User-Data script to have those variables in order to configure the kurento-media-server instance to point to the appropriate Monitoring instance and TURN server.
Is there an API route where we can find the MONITORING_URL on the PaaS so we can put it to be also dynamic there ?

One question is that , if we use use $MONITORING_URL in this scrit, from where would this variable be passed in the USER-DATA script ?

Best regards,
Alin

@mpauls
Copy link
Member

mpauls commented Nov 25, 2016

The $MONITORING_URL is defined in the properties of the PaaS Manager and passed down to the MS VNFM. The MS VNFM replaces then this variable with the real URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants