From 62f3663e8d23ca427a9fd6eeb53c66dc2e53c860 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Fri, 22 Nov 2024 16:04:43 -0600 Subject: [PATCH] Remove unneccessary clutter and link to relevant issue. --- README.md | 2 +- benchmarks/drupal-benchmark.sh | 4 ++-- config-super6c.yml | 23 ----------------------- hosts-super6c.ini | 20 -------------------- 4 files changed, 3 insertions(+), 46 deletions(-) delete mode 100644 config-super6c.yml delete mode 100644 hosts-super6c.ini diff --git a/README.md b/README.md index b621747..bbf6100 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ ansible-playbook main.yml At the end of the playbook, there should be an instance of Drupal running on the cluster. If you log into node 1, you should be able to access it with `curl localhost`. -> If the playbook stalls while installing K3s, you might need to configure static IP addresses for the nodes, especially if using mDNS (like with `.local` names for the nodes). Follow the guide in "Static network configuration" then run the `main.yml` playbook again afterwards, and it should get things in order. +> If the playbook stalls while installing K3s, [you might need to configure static IP addresses](https://github.com/geerlingguy/pi-cluster/issues/11#issuecomment-1983874999) for the nodes, especially if using mDNS (like with `.local` names for the nodes). Follow the guide in "Static network configuration" then run the `main.yml` playbook again afterwards, and it should get things in order. If you have SSH tunnelling configured (see later section), you could access `http://[your-vps-ip-or-hostname]:8080/` and you'd see the site. diff --git a/benchmarks/drupal-benchmark.sh b/benchmarks/drupal-benchmark.sh index b5c391d..9e4d3eb 100755 --- a/benchmarks/drupal-benchmark.sh +++ b/benchmarks/drupal-benchmark.sh @@ -22,8 +22,8 @@ printf "\n" printf "Drupal benchmarks.\n" # Variables. Best to use IP address to prevent `ab` errors. -DRUPAL_URL="http://10.0.2.41/" -AUTHENTICATED_SESSION_COOKIE="SESS6e9bdcaa1bb8e81ee7ccc64c8cbd9919=x2tDrABmKKFCGZzNw-JEPPtFoR397NNQykTHXKZpJ9GIevki" +DRUPAL_URL="http://10.0.2.61/" +AUTHENTICATED_SESSION_COOKIE="SESS3747f176b3220dbe6938dbbc37681fd0=VsCYFTA3-5A16oYGR%2Cer%2C7-wm53P3wLnN8ZKIlVmnyHqfR2D" # Install dependencies. if [ ! `which ab` ]; then printf "Please install apachebench (ab) and try again.\n\n" diff --git a/config-super6c.yml b/config-super6c.yml deleted file mode 100644 index 6d10ef1..0000000 --- a/config-super6c.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -# DeskPi Super 6C (CM4) Configuration -ipv4_subnet_prefix: "10.0.2" -ipv4_gateway: "10.0.2.1" -dns4_servers: "{{ ipv4_gateway }}" -reverse_tunnel_enable: false -control_plane_router_setup: false - -# Cluster storage options. -storage_type: filesystem # options: 'filesystem', 'zfs' -storage_zfs_pool_name: zfsdata -#storage_nfs_dir: '{{ storage_zfs_pool_name }}' # Use this for 'zfs' -storage_nfs_dir: "srv" # Use this for 'filesystem' -storage_nfs_share_name: nfsshare - -# Drupal installation options. -drupal_image: drupal:10.2-apache -drupal_hash_salt: OTk4MTYzYWI4N2E2MGIxNjlmYmQ2MTA4 -drupal_trusted_host_patterns: '^.+$' -drupal_database_password: 'drupal' -drupal_base_web_path: '/var/www/html/sites/default/' -drupal_config_sync_directory: 'sites/default/files/config_OTk4MTYzY' -drupal_extra_settings_php: '' diff --git a/hosts-super6c.ini b/hosts-super6c.ini deleted file mode 100644 index 8d5ab38..0000000 --- a/hosts-super6c.ini +++ /dev/null @@ -1,20 +0,0 @@ -# DeskPi Super 6C (CM4) Inventory -[control_plane] -deskpi1.local ip_host_octet=61 - -[nodes] -deskpi2.local ip_host_octet=62 -deskpi3.local ip_host_octet=63 -deskpi4.local ip_host_octet=64 -deskpi5.local ip_host_octet=65 -deskpi6.local ip_host_octet=66 - -[storage] -deskpi5.local - -[cluster:children] -control_plane -nodes - -[cluster:vars] -ansible_user='pi'