SpectroCloud: Difference between revisions
Jump to navigation
Jump to search
Line 32: | Line 32: | ||
* SSH to the sc-deploy VM. | * SSH to the sc-deploy VM. | ||
ssh -i ~/.ssh/opsman [email protected].<IP> | ssh -i ~/.ssh/opsman [email protected].<IP> | ||
* | * Download Certs | ||
curl --insecure https://ders-gitlab.dersllc.com/ders/ders-proxy/-/raw/master/STAR_dersllc_com.crt > /opt/spectro/ssl/server.crt | |||
curl --insecure https://ders-gitlab.dersllc.com/ders/ders-proxy/-/raw/master/dersllc-new.key > /opt/spectro/ssl/server.key | |||
################ | ################ |
Revision as of 19:47, 20 November 2024
Spectro Cloud Documentation
Vertex Installation
Pre Requisites
1. Needed Downloads
- Binaries: airgap-base-ova (ex. spectro-airgap-podman-v3.1.4.ova)
- Binaries: airgap-fips (ex. airgap-vertex-v4.5.11.bin)
- Capi OS Image: k8s_fips (ex. u-2004-0-k-1305-fips.ova)
- Airgap Binaries: kubernetes-<version> (ex. airgap-vertex-pack-kubernetes-1.30.5.bin)
2. vCenter Prep
- Tag the DataCenter with k8s-region
- Tag the Cluster with k8s-zone
- Create a VM Folder called spectro-templates
- Create a VM Folder called spectro-vms
- Import the k8s_fips OVA (ex. u-2004-0-k-1305-fips.ova)
- Rename Image to "r_u-2004-0-k-<version>-fips" (ex. r_u-2004-0-k-1305-fips)
- Convert VM to Template.
3. Harbor Prep
- Create a new Public Project (spectro-images)
4. OVA Setup
- Deploy the OVA to vCenter (airgap-base-ova).
1. Machine name: sc-deploy 2. Folder: spectro-vms 3. Acknowledge the certificate. 4. Storage: DERS-HDD 5. Network: DERS-87 6. Set SSH Public Key: <opsman-key> 7. Default User Password: <ders>
- SSH to the sc-deploy VM.
ssh -i ~/.ssh/opsman [email protected].<IP>
- Download Certs
curl --insecure https://ders-gitlab.dersllc.com/ders/ders-proxy/-/raw/master/STAR_dersllc_com.crt > /opt/spectro/ssl/server.crt curl --insecure https://ders-gitlab.dersllc.com/ders/ders-proxy/-/raw/master/dersllc-new.key > /opt/spectro/ssl/server.key
################ # INSTALL ORAS # ################ # GET LATEST VERSION FROM: https://github.com/oras-project/oras/releases VERSION="1.2.0" curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_linux_amd64.tar.gz" mkdir -p oras-install/ tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/ sudo mv oras-install/oras /usr/local/bin/ rm -rf oras_${VERSION}_*.tar.gz oras-install/ ############################## # INSTALL JQ, ZIP, and UNZIP # ############################## yum -y install jq zip unzip ################## # INSTALL DOCKER # ################## ####################### # CREATE HARBOR REPOS # ####################### * spectro-packs (Private) * spectro-images (Public)
Vertex Install Steps
################# # SET VARIABLES # ################# export OCI_IMAGE_REGISTRY=harbor.dersllc.com export OCI_PACK_BASE=spectro-images export OCI_PACK_REGISTRY=harbor.dersllc.com export OCI_IMAGE_BASE=spectro-images export SC_VERSION='v4.5.8' ################### # Log-in via ORAS # ################### oras login harbor.dersllc.com --username 'admin' --password '<Password>' ##################### # RUN AIRGAP BINARY # ##################### cd /nfs/Download/ chmod +x airgap-vertex-$SC_VERSION.bin ./airgap-vertex-$SC_VERSION.bin --nodiskspace --target /nfs/Download/airgap-vertex/ ########################################################### # UNZIP Manifest in /var/www/html/manifests/ on ders-plex # ########################################################### # ssh to ders-plex mkdir -p /var/www/html/manifests mv /nfs/Download/manifest/spectro-manifests-1731600607.zip /var/www/html/manifests cd /var/www/html/manifests unzip spectro-manifests-1731600607.zip systemctl restart httpd curl http://172.16.84.22:8710/manifests/roar/nickfury/versions.yaml #