Page MenuHomePhabricator

Deploy the new WMIT server for Znuny [manoscritto]
Closed, ResolvedPublic

Description

It would be lovely to deploy the new WMIT server to host Znuny, since Wikimedia IT is trying to move from a legacy OTRS 5 to Znuny.[1]

The server name will be manoscritto, arbitrarily chosen because consensus didn't particularly emerge from our talk page.[2]

Info for WMIT members:

[1] https://wiki.wikimedia.it/wiki/Associazione:Mail/OTRS/Migrazione_a_Znuny
[2] https://wiki.wikimedia.it/wiki/Discussione:Server#L_ed_M

Event Timeline

valerio.bozzolan renamed this task from Deploy the new WMIT server for Znuny to Deploy the new WMIT server for Znuny [manoscritto].Feb 21 2022, 9:06 PM
valerio.bozzolan updated the task description. (Show Details)
valerio.bozzolan claimed this task.

I was configuring additional block storage to be mounted on /opt but then I realized than after all 50G is fine (since block storage does not support automatic snapshots).

If you will need more disk space:

Option 1: buy block storage again and attach it:

$ lsblk
NAME    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda       8:0    0   50G  0 disk
|-sda1    8:1    0 49.9G  0 part /
|-sda14   8:14   0    3M  0 part
`-sda15   8:15   0  124M  0 part /boot/efi
sdb       8:16   0   60G  0 disk

$ mount | grep /dev/sdb
(nothing)

$ # initialize partition
$ fdisk /dev/sdb
Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xcd1ed106.

Command (m for help): n
Partition type
p   primary (0 primary, 0 extended, 4 free)
e   extended (container for logical partitions)
Select (default p):

Using default response p.
Partition number (1-4, default 1):
First sector (2048-125829119, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-125829119, default 125829119):

Created a new partition 1 of type 'Linux' and of size 60 GiB.

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

$ # check
$ fdisk -l
...
Disk /dev/sdb: 60 GiB, 64424509440 bytes, 125829120 sectors
/dev/sdb1        2048 125829119 125827072  60G 83 Linux

$ # initialize filesystem
$ mkfs.ext4 /dev/sdb1

$ blkid
...
/dev/sdb1: UUID="asdasdasdasdasdasdasd" BLOCK_SIZE="4096" TYPE="ext4" ...

$ editor /etc/fstab
...
UUID=asdasdasdasdasdasdasd /opt ext4 nofail 0 0

$ mount -a

Then remember to setup some manual snapshots.

Option 2: Scale up to the next flavor, which however costs twice.