Uploading Product Images
To upload the product images to the Azure Container Registry, you must first determine the ACR credentials, then perform the upload.
Portal

-
Navigate to the Azure management portal and open the Azure Container Registry.
-
Navigate to Settings and click Access keys.
-
Collect the login server, username, and password details, they will be used while uploading the images to the container registry.
- Unzip the CDF deployer to a local directory (such as
/tmp
). - Change directory to the deployer scripts folder.
- Run the uploadimages.sh script with credentials from the ACR by running the following commands:
For example:
# cd /tmp
# unzip cdf-deployer.zip...
For example:
# cd cdf-deployer/scripts/
# ./uploadimages.sh -o your-org-name -r <REGISTRY LOGIN SERVER> -u <USERNAME> -p <PASSWORD> -F /tmp/cdf-byok-images-<VERSION>.tar -c 2
# ./uploadimages.sh -o your-org-name -r <REGISTRY LOGIN SERVER> -u <USERNAME> -p <PASSWORD> -F /tmp/<deployed_capability><VERSION>.tar
For example:
# ./uploadimages.sh -o your-org-name -r srgdemo.azurecr.io -u srgdemo -p GEev87wtAW+FtBGTyADxgr9Fivg6a2gC -F /tmp/cdf-byok-images-<VERSION>.tar -c 2
...
Upload completed in 1690 seconds.
Upload-process successfully completed.
# ./uploadimages.sh -o extremelyfocused -r extremelyfocused.azurecr.com -u jsmith -p testpassword -F /opt/arcsight/fusion-1.3.0.1810-master.tar
...
Upload completed in 1690 seconds.
Upload-process successfully completed.
About Running uploadimages.sh
- Choose the value of the
-o
argument carefully, since it needs to be used during installation and for alluploadimages.sh
calls. - The
-c
argument indicates concurrent upload (maximum can be half of the CPU cores capacity), and can speed up the upload process. - Uploading images is long process, and can take up to 60 minutes to complete. The exact time for completion depends largely on connectivity.
- See
uploadimages.sh --help
for more information.
CLI

- Get the registry name and password by running these commands:
- Determine the name of the registry log in server by running the following command:
- Unzip the CDF deployer to a local directory (such as
/tmp
). - Change directory to the deployer scripts folder.
- Run the
uploadimages.sh
script with credentials from the ACR by running the following command:
# credentials=$(az acr credential show --name <your ACR name> -g <RESOURCE GROUP>)
# echo $credentials | jq -r '.username'
# echo $credentials | jq -r '.passwords[0].value'
For example:
# credentials=$(az acr credential show --name srgdemoACR -g srg-demo)
# echo $credentials | jq -r '.username'
# echo $credentials | jq -r '.passwords[0].value'
# az acr show --name <REGISTRY NAME> -g <RESOURCE GROUP NAME> | jq -r '.loginServer'
For example:
# az acr show --name srgdemoACR -g srg-demo | jq -r '.loginServer'
For example:
# cd /tmp
# unzip cdf-deployer.zip...
For example:
# cd cdf-deployer/scripts/
# ./uploadimages.sh -o your-org-name -r <REGISTRY LOGIN SERVER> -u <USERNAME> -p <PASSWORD> -F /tmp/cdf-byok-images-<VERSION>.tar -c 2
For example:
# ./uploadimages.sh -o your-org-name -r srgdemo.azurecr.io -u srgdemo -p GEev87wtAW+FtBGTyADxgr9Fivg6a2gC -F /tmp/cdf-byok-images-<VERSION>.tar -c 2
...
Upload completed in 1690 seconds.
Upload-process successfully completed.
The -o your-org-name parameter must be in lowercase, as shown in the following.
./uploadimages.sh -o extremelyfocused -r extremelyfocused.azurecr.com -u jsmith -p testpassword -F /opt/arcsight/fusion-1.3.0.1810-master.tar
...
Upload completed in 1690 seconds.
Upload-process successfully completed.
About Running uploadimages.sh
- Choose the value of the
-o
argument carefully, since it needs to be used during installation and for alluploadimages.sh
calls. - The
-c
argument indicates concurrent upload (maximum can be half of the CPU cores capacity), and can speed up the upload process. - Uploading images is long process, and can take up to 60 minutes to complete. The exact time for completion depends largely on connectivity.
- See
uploadimages.sh --help
for more information
Next Step: Installing the Database in Azure