Skip to content

Instantly share code, notes, and snippets.

View Ezeta17's full-sized avatar
🎯
Focusing

Josep Farias Ezeta17

🎯
Focusing
View GitHub Profile
@Ezeta17
Ezeta17 / PVE-HP-ssacli-smart-storage-admin.md
Created July 4, 2022 14:34 — forked from mrpeardotnet/PVE-HP-ssacli-smart-storage-admin.md
HP Smart Storage Admin CLI (ssacli) installation and usage on Proxmox PVE (6.x)

HP Smart Storage Admin CLI (ssacli) installation and usage on Proxmox PVE (6.x)

Why use HP Smart Storage Admin CLI?

You can use ssacli (smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.

CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.

ssacli replaces older hpssacli, but shares the same syntax and adds support for newer servers and controllers.

Installation

This is a work in progress, proceed with caution

Install Proxmox and a Ubuntu VM with Portainer to manage docker containers

Setup Proxmox

  1. Install Proxmox 6.X iso I selected 2 drives in Raid 1 mirror
  2. Console/SSH into Proxmox
  3. nano /etc/apt/sources.list
@Ezeta17
Ezeta17 / set_proxy_ubuntu.sh
Created July 30, 2018 17:42 — forked from roskoff/set_proxy_ubuntu.sh
Script para configurar proxy en Ubuntu 12.04
#/bin/bash
echo 'Removiendo las configuraciones actuales del proxy en:'
sudo sh -c '(echo "g/^Acquire::http::proxy/d"; echo "wq") | ex -s /etc/apt/apt.conf'
sudo sh -c '(echo "g/^Acquire::https::proxy/d"; echo "wq") | ex -s /etc/apt/apt.conf'
sudo sh -c '(echo "g/^Acquire::ftp::proxy/d"; echo "wq") | ex -s /etc/apt/apt.conf'
echo '/etc/apt/apt.conf'
sudo sh -c '(echo "g/^http_proxy/d"; echo "wq") | ex -s /etc/environment'
sudo sh -c '(echo "g/^https_proxy/d"; echo "wq") | ex -s /etc/environment'
sudo sh -c '(echo "g/^ftp_proxy/d"; echo "wq") | ex -s /etc/environment'