Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mcl/proxmox #24

Merged
merged 10 commits into from
Jun 26, 2024
23 changes: 23 additions & 0 deletions docs/admin/cobbler.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
template: admin.html
title: Cobbler
---

HPCCF uses [cobbler](https://cobbler.github.io/) for provisioning and managing
internal [DNS](../dns).

There is a cobbler server per cluster as well as one for the public HPC VLAN.

- `cobbler.hpc` - public HPC VLAN.
- `cobbler.hive` - hive private and management VLANs
- `cobbler.farm` - farm
- `cobbler.peloton` - peloton
- `cobbler.franklin` - franklin

`hpc1`, `hpc2`, and `lssc0` do not have associated cobbler servers.

## Add a new host

```
cobbler system add --name=<hostname> --profile=infrastructure --netboot=false --interface=default --mac=xx:xx:xx:xx:xx:xx --dns-name=hostname.cluster.hpc.ucdavis.edu --hostname=<hostname> --ip-address=10.11.12.13
```
13 changes: 13 additions & 0 deletions docs/admin/ddn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
template: admin.html
title: DDN
---

The DDN provides backend storage for proxmox.

## Access

The primary means of administration is via the [web interface](https://sbmf.hpc.ucdavis.edu/).
You will need to be on the HPC VLAN.


15 changes: 15 additions & 0 deletions docs/admin/dns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
template: admin.html
title: DNS
---

DNS is split between internal (what machines on one of the HPCCF VLANs
see) vs. external (what the rest of the campus and world sees).

## External

HPCCF uses [InfoBlox](https://infoblox.ucdavis.edu/) for public-facing DNS.

## Internal

Internal DNS is managed by [cobbler](../cobbler).
54 changes: 54 additions & 0 deletions docs/admin/vms.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,57 @@
template: admin.html
title: Virtual Machines
---

HPCCF uses [Proxmox](https://www.proxmox.com/en/) for virtualization. Current
servers are `proxmox1`, `proxmox2`, and `proxmox3`.

To log in, point your browser to `port 8006` on any of the proxmox servers, and choose
`UCD-CAS` as the realm. You'll need to be on the HPC VLAN to access the interface.

## Create a new VM

Use [Netbox](../netbox) to locate a free IP address, or allocate one in the appropriate
[cobbler](../cobbler) server. See [provisioning](../provisioning) for more information
on selecting an IP/hostname and setting up PXE.

### General

Choose an unused VM ID. Storage areas are pre-created on the DDN, on directory per
VM ID. If more need to be created, see the [DDN documentation](../ddn). Populate
the "Name" field with your chosen VM name.

### OS

If you're installing a machine via PXE from a cobbler server, choose "Do not use
any media."

To add a new ISO, copy it to `/mnt/pve/DDN-ISOs/template/iso/` on one of the
proxmox hosts.

### System

Check the `Qemu Agent` box.

### Disk

Defaults are fine. Adjust disk size as needed.

### CPU

Use type `x86-64-v3`. Adjust cores to taste.

### Memory

Recent Ubuntu installer will fail unless you use at least 4096.

### Network

See Netbox for a [list of vlans](https://netbox.hpc.ucdavis.edu/ipam/vlans/).

Make sure to select `VirtIO (paravirtualized)` for the network type.

### Finish

Do not forget to add to [DNS](../dns).

If this is a production VM, add the "production" tag.
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ nav:
- Network Architecture: admin/network.md
- Virtual Machines: admin/vms.md
- Provisioning: admin/provisioning.md
- DNS: admin/dns.md
- Cobbler: admin/cobbler.md
- Configuration: admin/configuration.md # puppet, etc
- Software: admin/software.md
- Netbox: admin/netbox.md
Expand Down
Loading