OSC2022 Online/Fall Seminar demo
Hardware
Software
Windows 11 24H2
VirtualBox-7.1.12-169651-Win.exe
vagrant_2.4.7_windows_amd64.msi
WSL2:
Ubuntu-24.04 LTS
AlmaLinux-9
Vagrant Box: rockylinux/9 v6.0.0
Install VirtualBox package
Install Vagrant package
Install WSL2
> wsl --install -d Ubuntu
For Symantec Endpoint Protection(SEP) users
[automount]
options = "metadata"
Proxy configuration (if necessary)
http_proxy=http://PROXY:8080/
https_proxy=http://PROXY:8080/
export http_proxy=http://PROXY:8080/
export https_proxy=http://PROXY:8080/
#export VAGRANT_CWD=/mnt/c/Users/<playbook_dir>/vagrant
export WSLENV=VAGRANT_CWD/p:http_proxy:https_proxy
/etc/apt/apt.conf.d/99proxy (Ubuntu only)
Acquire::http::proxy "http://PROXY:8080/";
Acquire::https::proxy "http://PROXY:8080/";
Acquire::http::Timeout "300";
restart WSL2 to take effects
$ exit
> wsl --shutdown
> wsl
$
Install ansible in WSL2 (Ubuntu)
$ sudo apt update
$ sudo apt install software-properties-common
$ sudo add-apt-repository --yes --update ppa:ansible/ansible
$ sudo apt install ansible
Install ansible in WSL2 (AlmaLinux)
$ sudo dnf install git
$ sudo dnf install ansible-core
$ git clone --recursive https://github.com/kskmori/osc2022fall-demo
$ cd osc2022fall-demo
$ cp ansible.cfg.sample ansible.cfg
$ ansible-playbook 10-vagrant.yml
$ ansible-playbook 20-virtualbmc.yml -K
$ ansible-playbook 30-postgresql-shared.yml
$ ansible-playbook 40-pacemaker.yml
restart the demo environment after the host was rebooted
$ ansible-playbook 80-demo-restart.yml -K
stop the demo environment
$ ansible-playbook 89-demo-stop.yml -K
Playbooks for Pacemaker installation
Playbooks for PostgreSQL and iSCSI storage installation
Playbooks for VirtualBMC installation
VirtualBMC (vbox support) - IPMI fencing for VirtualBox VMs
For Symantec Endpoint Protection(SEP) users
an additional setting is required to allow network connections to outside
see below
2022/11/03
Initial release for OSC2022 Online/Fall Seminor
2025/09/04
Move all repositories to the Linux-HA Japan project
Update to Windows 11 / Rocky Linux 9.6