Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    1. add to /etc/hosts "10.208.197.75 ecomp-nexus"
    2. Connect to OpenEcomp SDC docker-repo (only if needed):
      1. keytool -printcert -sslserver ecomp-nexus:8443 -rfc > nexus.crt
      2. cp nexus.crt /usr/local/share/ca-certificates/
      3. update-ca-certificates
      4. service docker restart
        1. docker stop/waiting
        2. docker start/running, process 6518
    3. Check that the Docker service is up and running by running the command:
      1. service docker status


4 SDC application setup

This section runs a script to start the Dockers and boot the system. The script takes the latest Dockers from the Docker repository. The boot process takes approximately 1 minute.


Starting the SDC application

The SDC application is executed using several Dockers


To start the dockers:

  1. Run the script in the format usage as described:
    Usage: /data/scripts/docker_run.sh -e <environment name> -r <release> -p <docker-hub-port>

    Note

    Note: the use of spaces and dashes in the script format is mandatory.

    Example usage as for the Orange environment:

    Code Block
    languagebash
    /data/scripts/docker_run.sh -e Orange -r 1610.2.12 -p 51220
  2. A Health check to verify that OpenECOMP SDC is up and running is conducted as part of the docker_run.sh script. The expected output would look similar to that provided:

    Code Block
    titleHealth Check Output
    root@vm1-asdc:~# /data/scripts/docker_health.sh
    {
    	"cluster_name" : "ASDC-ES-OS-ETE-DFW",
    	"status" : "green",
    	"timed_out" : false,
    	"number_of_nodes" : 1,
    	"number_of_data_nodes" : 1,
    	"active_primary_shards" : 1,
    	"active_shards" : 1,
    	"relocating_shards" : 0,
    	"initializing_shards" : 0,
    	"unassigned_shards" : 0,
    	"delayed_unassigned_shards" : 0,
    	"number_of_pending_tasks" : 0,
    	"number_of_in_flight_fetch" : 0,
    	"task_max_waiting_in_queue_millis" : 0,
    	"active_shards_percent_as_number" : 100.0
    }
    
    
    BE health-Check:
    {
    	"sdcVersion": "1610.2.12",
    	"siteMode": "unknown",
    	"componentsInfo": [
    		{
    			"healthCheckComponent": "BE",
    			"healthCheckStatus": "UP",
    			"version": "1610.2.12",
    			"description": "OK"
    		},
    		{
    			"healthCheckComponent": "ES",
    			"healthCheckStatus": "UP",
    			"description": "OK"
    		},
    		{
    			"healthCheckComponent": "TITAN",
    			"healthCheckStatus": "UP",
    			"description": "OK"
    		},
    		{
    			"healthCheckComponent": "DE",
    			"healthCheckStatus": "UP",
    			"description": "OK"
    		}
    	]
    }
    FE health-Check:
    {
    	"sdcVersion": "1610.2.12",
    	"siteMode": "unknown",
    	"componentsInfo": [
    		{
    			"healthCheckComponent": "BE",
    			"healthCheckStatus": "UP",
    			"version": "1610.2.12",
    			"description": "OK"
    		},
    		{
    			"healthCheckComponent": "ES",
    			"healthCheckStatus": "UP",
    			"description": "OK"
    		},
    		{
    			"healthCheckComponent": "TITAN",
    			"healthCheckStatus": "UP",
    			"description": "OK"
    		},
    		{
    			"healthCheckComponent": "DE",
    			"healthCheckStatus": "UP",
    			"description": "OK"
    		},
    		{
    			"healthCheckComponent": "FE",
    			"healthCheckStatus": "UP",
    			"version": "1610.2.12",
    			"description": "OK"
    		}
    	]
    }
    [{"firstName":"Carlos","lastName":"Santana","userId":"cs0008","email":"designer@sdc.com","role":"DESIGNER","lastLoginTime":1483900163928,"status":"ACTIVE","fullName":"Carlos Santana"}]