SpectroCloud: Difference between revisions

From DER's LLC
Jump to navigation Jump to search
Line 18: Line 18:


====OVA Setup====
====OVA Setup====
https://docs.spectrocloud.com/vertex/install-palette-vertex/install-on-vmware/airgap-install/environment-setup/vmware-vsphere-airgap-instructions/
1. Deploy the OVA to vCenter (airgap-base-ova).
1. Deploy the OVA to vCenter (airgap-base-ova).
  1. Machine name: <strong>sc-deploy</strong>
  1. Machine name: <strong>sc-deploy</strong>

Revision as of 17:25, 20 November 2024

Spectro Cloud Documentation

Vertex Installation

Pre Requisites

###############################
# SpectroCloud Docs Reference #
###############################
# https://docs.spectrocloud.com/vertex/install-palette-vertex/install-on-kubernetes/airgap-install/kubernetes-airgap-instructions/

Downloads

1. airgap-base-ova (ex. spectro-airgap-podman-v3.1.4.ova)

vCenter Prep

1. Tag the DataCenter with k8s-region 2. Tag the Cluster with k8s-zone 3. Create a VM Folder called spectro-templates 4. Create a VM Folder called spectro-vms

Harbor Prep

1. Create a new Public Project (spectro-images)

OVA Setup

https://docs.spectrocloud.com/vertex/install-palette-vertex/install-on-vmware/airgap-install/environment-setup/vmware-vsphere-airgap-instructions/ 1. 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>

2. SSH to the sc-deploy VM.

ssh -i ~/.ssh/opsman ubuntu@<IP>

3.

################
# 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

#