VeloCloud VM – set IP address and activate it

To activate VM version of VeloCloud we need to go to Orchestrator and create new device. After that we will be able to get Activation Key and then we will use it in VM console.
All of below files are located in  /opt/vc/bin/.

Step 1

Set static or dynamic IP address for GE4 – this is necessary for internet connection.

Static

# set_wan_config.sh GE4 STATIC [ip-address] [mask] [gateway]
example:
# set_wan_config.sh GE3 STATIC 10.0.0.1 255.255.255.0 10.0.0.254
Dynamic
# set_wan_config.sh GE4 DHCP
After that the proper IP address is configured. It is also possible to check interface and make ping from VM to gateway np. google dns.
# ifconfig
# ping 10.0.0.254

Step 2

Log into Orchestrator and then create new device like below. Of course fill required field marked with blue star (*).

Zrzut ekranu 2018-08-04 o 11.06.50

after that you can get Activation Key.

Zrzut ekranu 2018-08-04 o 11.07.36

Step 3

Activate your version of VM running script called activate.py.
# activate.py -p -s [vcserver] -i [activation-code]
# activate.py -p -s vco8-fra1.velocloud.net -i XXXX-XXXX-XXXX-XXXX

where:

  • -s is our server/orchestrator, e.g. vco8-fra1.velocloud.net
  • -p shows progress of activaction
  • -i ignores certificate errors
  • XXXX-XXXX-XXXX-XXXX is activation code

Step 4

Verification of activation:

# is_activated.py

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.