...done.

Adding SDN-related items to Keystone...

keystone stop/waiting

keystone start/running, process 11514

...done.

Setting up hp-sdn-ctl (1.11) ...

Certificate was added to keystore

CTL_RESTORE_INSTALL_MODE option is set

SDN controller will be started in restore mode sdna start/running, process 11633

sdnc start/running, process 11636 Processing triggers for ureadahead ...

CAUTION: Do not re-install any applications before you complete the restore process. The restoration adds data from the backup file into the current database contents. If you re-install applications that are part of the controller backup, then those applications might end up with duplicate or conflicting entries in their database. If required, only re-install applications after you have completed all steps of the restore process.

4.Acquire the authentication token for the system restore:

curl --noproxy <controller_ip>" -X POST --fail -ksSfL --url "https://<controller_ip>:8443/sdn/v2.0/auth" -H "Content-Type: application/json" --data-binary '{"login": {"domain": "<domain>","user": "<user>","password": "<password>"}}'

CAUTION: Credential information (user name, password, domain, and authentication tokens) used in cURL commands may be saved in the command history. For security reasons, HP recommends that you disable command history prior to executing commands containing credential information.

5.Acquire the controller uid:

curl --noproxy controller_ip

--header "X-Auth-Token:auth_token" --fail -ksSfL --request GET --url https://controller_ip:8443/sdn/v2.0/systems

6.Use the following cURL command to set the IP address:

curl --noproxy controller_ip --header "X-Auth-Token:auth_token" --fail -ksSfL --request PUT "https://controller_ip:8443/sdn/v2.0/systems/controller_uid"

--data-binary '{"system":{"ip":"controller_ip"}}'

7.Perform a single controller restore onto each controller needing restoration.

a.Upload the backup files that will be restored:

curl --noproxy controller_ip -X POST --fail -ksSfL

--url "https://controller_ip:8443/sdn/v2.0/restore backup"

-H "X-Auth-Token:auth_token"--data-binary @path-and-file-name.zip

where path-and-file-nameis the full path to the file and the filename. The filename MUST match the name you used during the backup.

b.Initiate the restore:

curl --noproxy controller_ip --header "X-Auth-Token:auth_token" --fail -ksS --request POST --url "https://controller_ip:8443/sdn/v2.0/restore”

8.For a controller team, wait for HA synchronization to complete to all the controllers and wait for the team to become connected. The team can take a few minutes to come back up. Be sure to verify that team status has all controllers as ACTIVE and one of the team members is a leader.

96 Backing up and restoring