Skip to content

Commit 401cef1

Browse files
authored
update: storage downsize SD button
1 parent fc4c34e commit 401cef1

2 files changed

Lines changed: 101 additions & 0 deletions

File tree

docs/administer-science/service-desk/lab-orders.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,17 @@ The above example shows for example that `/mnt/archive` has a current `Size` of
352352
353353
:::
354354
355+
### Downsize storage volume
355356
357+
You may downsize the existing storage volumes inside your lab. We will need separate orders for each individual volume you plan to downsize.
358+
359+
<SDButton form="request_downsize_existing_volume" />
360+
361+
* **Who can order:** Lab leaders and lab coordinators.
362+
* **Required information**: lab name, machine name, volume name and intended size.
363+
* **Expected response time:** One week. The volume downsize requires a machine restart that needs to be scheduled 9-11am on a workday.
364+
* **Expected delivery:** Decrased storage capacity.
365+
* **Cost:** As per your total storage plan.
356366
357367
### New volume
358368

docs/public/cfg/service_desk.yml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,6 +1729,97 @@ request_expand_existing_volume:
17291729
]
17301730
attachments: []
17311731

1732+
request_downsize_existing_volume:
1733+
title: "Request storage volume downsize"
1734+
template:
1735+
subject: "Storage volume downsize - {{ lab_name }}"
1736+
body: |
1737+
Hi HUNT Cloud team,
1738+
1739+
I would like to request a storage volume downsize:
1740+
1741+
---
1742+
lab_name="{{ lab_name }}"
1743+
machine_name="{{ vm_name }}"
1744+
volume_name="{{ volume_name }}{{ volume_number }}"
1745+
current_size_tb="{{ current_size }}"
1746+
new_size_tb="{{ target_size }}"
1747+
---
1748+
1749+
I am aware that the downsize will require a machine restart.
1750+
1751+
Let us touch base in our Slack lab channel to schedule a time for the restart that fits our scientific activities.
1752+
1753+
1754+
Best regards,
1755+
1756+
fields:
1757+
[
1758+
{
1759+
label: "Lab name",
1760+
key: "lab_name",
1761+
pattern: "[-a-z0-9]{3,}",
1762+
hint: "Lab name should include only lowercase letters a-z, 0-9, or dash.",
1763+
autocapitalize: "off",
1764+
field: "textfield",
1765+
},
1766+
{
1767+
label: "Machine name",
1768+
key: "vm_name",
1769+
pattern: "[-a-z0-9]{3,}",
1770+
hint: "Machine name should include only lowercase letters a-z, 0-9, or dash., You can get machine name by running hostname command on the machine",
1771+
autocapitalize: "off",
1772+
field: "textfield",
1773+
},
1774+
{
1775+
label: "Volume name",
1776+
key: "volume_name",
1777+
field: "autocompleteone",
1778+
options: [{ text: "Archive", value: "archive" }, { text: "Work", value: "work" }, { text: "Scratch", value: "scratch" }, { text: "Backup", value: "backup" }],
1779+
},
1780+
{
1781+
label: "Volume number (optional)",
1782+
key: "volume_number",
1783+
field: "autocompleteone",
1784+
hint: "If no number in volume name use 1.",
1785+
default: "",
1786+
options: [{ text: "No number", value: "" }, "1", "2", "3", "4", "5", "6", "7", "8", "9"],
1787+
optional: true,
1788+
},
1789+
{
1790+
label: "Current size (in terabytes)",
1791+
key: "current_size",
1792+
hint: "Field should include only numbers",
1793+
suffix: "TB",
1794+
min: 0.1,
1795+
max: 25,
1796+
step: 0.1,
1797+
field: "number",
1798+
default: 1,
1799+
},
1800+
{
1801+
label: "New size (in terabytes)",
1802+
key: "target_size",
1803+
hint: "Field should include only numbers. Lowest size allowed is 0,1TB",
1804+
suffix: "TB",
1805+
min: 0.1,
1806+
max: 25,
1807+
step: 0.1,
1808+
field: "number",
1809+
default: 1,
1810+
},
1811+
]
1812+
requirements:
1813+
[
1814+
"<b>Who can order:</b> Lab leaders and lab coordinators.",
1815+
"<b>Required information</b>: lab name, machine name, volume name and intended size.",
1816+
"<b>Expected response time:</b> One week. The volume downsize requires a machine restart that needs to be scheduled 9-11am on a workday.",
1817+
"<b>Expected delivery:</b> Decreased storage capacity.",
1818+
"<b>Cost:</b> As per your total storage plan.",
1819+
"<b>We care about your privacy.</b> Read our privacy statement <a href='/govern-science/privacy-statement' target='_blank'' >(link here)</a> to learn how we process your personal data when you send us a request.",
1820+
]
1821+
attachments: []
1822+
17321823
request_new_storage_volume:
17331824
title: "Request a new storage volume"
17341825
template:

0 commit comments

Comments
 (0)