You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bare-metal/elastic-metal/api-cli/elastic-metal-with-api.mdx
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,24 @@
1
1
---
2
2
meta:
3
3
title: Deploying an Elastic Metal server with one API call
4
-
description: Learn how to deploy an Elastic Metal server on your favorite OS with a single API command.
4
+
description: Learn how to deploy a Scaleway Elastic Metal server on your favorite OS with a single API command.
5
5
content:
6
6
h1: Deploying an Elastic Metal server with one API call
7
-
paragraph: Learn how to deploy an Elastic Metal server on your favorite OS with a single API command.
7
+
paragraph: Learn how to deploy a Scaleway Elastic Metal server on your favorite OS with a single API command.
8
8
tags: baremetal elastic metal cloud server dedicated elastic-metal api-call
9
9
dates:
10
-
validation: 2024-06-24
10
+
validation: 2025-01-02
11
11
posted: 2021-05-26
12
12
categories:
13
13
- bare-metal
14
14
- elastic-metal
15
15
---
16
16
17
-
Our[Elastic Metal server](https://www.scaleway.com/en/elastic-metal/)offer provide 100% dedicated resources, combined with the advantages of the cloud, such as hourly billing and full flexibility. The server’s hardware is entirely dedicated to you, with no virtualization, overallocation, or neighbors on it. They come combined with a powerful [REST-API](https://www.scaleway.com/en/developers/api/elastic-metal/), allowing you to automate tasks on your machines and deploy them automatically with tools like [Terraform](https://www.terraform.io/).
17
+
Scaleway's[Elastic Metal servers](https://www.scaleway.com/en/elastic-metal/) provide 100% dedicated resources while offering the flexibility and scalability of the cloud, including hourly billing and full customization. The hardware is entirely dedicated to you — free from virtualization, overallocation, or neighboring tenants.
18
18
19
-
The new deployment in one command feature allows you to speed up the delivery of your servers, as you do not have to wait for it to be delivered to install the server. You can do both in a single API call, and your server is up and running in less than 15 minutes.
19
+
Elastic Metal servers also feature a robust [REST API](https://www.scaleway.com/en/developers/api/elastic-metal/) that enables seamless automation of tasks and deployments. Integration with tools like [Terraform](https://www.terraform.io/) further streamlines infrastructure management.
20
+
21
+
The **one-command deployment feature** accelerates server provisioning by combining delivery and setup into a single API call. This simplifies server provisioning, ensuring your machine is fully operational in less than 15 minutes.
@@ -17,7 +17,7 @@ Scaleway's [Elastic Metal servers](https://www.scaleway.com/en/elastic-metal/) p
17
17
18
18
In this tutorial, you will learn how to use the CLI to create an Elastic Metal server, install an OS, and manage the server lifecycle.
19
19
20
-
## Scaleway Command Line Interface Overview
20
+
## Scaleway Command Line Interface overview
21
21
22
22
The [Scaleway Command Line Interface (CLI)](https://github.com/scaleway/scaleway-cli) allows you to pilot your Scaleway infrastructure directly from your terminal, providing a faster way to administer and monitor your resources. Scaleway CLI is easy to set up and use, and an essential tool for operating efficiently in your cloud environment. The CLI provides many functionalities, including the ability to create and administer Elastic Metal servers.
Copy file name to clipboardExpand all lines: bare-metal/elastic-metal/how-to/activate-remote-access.mdx
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
---
2
2
meta:
3
3
title: How to activate remote access on an Elastic Metal server
4
-
description: Learn how to activate remote access on your Elastic Metal server with this step-by-step guide.
4
+
description: Learn how to activate remote access on a Scaleway Elastic Metal server with this step-by-step guide.
5
5
content:
6
6
h1: How to activate remote access on an Elastic Metal server
7
-
paragraph: Learn how to activate remote access on your Elastic Metal server with this step-by-step guide.
7
+
paragraph: Learn how to activate remote access on a Scaleway Elastic Metal server with this step-by-step guide.
8
8
tags: remote-access elastic-metal
9
9
dates:
10
-
validation: 2024-06-24
10
+
validation: 2025-01-02
11
11
posted: 2022-03-30
12
12
categories:
13
13
- bare-metal
@@ -59,7 +59,6 @@ Each remote access session has a limited lifetime for security reasons. To renew
59
59
60
60
You can regenerate new access credentials at any time, even before your session has expired. To do so, click **Reset access** in the remote access session. It will reset the password and generate a new one.
61
61
62
-
63
62
## Deactivating remote access
64
63
65
64
To deactivate the remote access feature, scroll to the **Remote access** section on your server's information page. Then click **Disable remote access**.
Copy file name to clipboardExpand all lines: bare-metal/elastic-metal/troubleshooting/replace-failed-drive-software-raid.mdx
+40-17Lines changed: 40 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,33 @@
1
1
---
2
2
meta:
3
-
title: Replacing a failed drive in a software RAID
4
-
description: Learn the steps to replace a failed drive in a software RAID setup
3
+
title: Replacing a failed drive in a RAID1 software RAID
4
+
description: Learn how to safely replace a failed drive in a RAID1 software RAID configuration on Scaleway Elastic Metal servers
5
5
content:
6
-
h1: Replacing a failed drive in a software RAID
7
-
paragraph: Learn the steps to replace a failed drive in a software RAID setup
8
-
tags: RAID elastic-metal failed-drive
6
+
h1: Replacing a failed drive in a RAID1 software RAID
7
+
paragraph: Learn how to safely replace a failed drive in a RAID1 software RAID configuration on Scaleway Elastic Metal servers
8
+
tags: RAID elastic-metal failed-drive RAID1 mdadm
9
9
categories:
10
10
- bare-metal
11
11
- elastic-metal
12
12
dates:
13
-
validation: 2024-06-24
13
+
validation: 2025-01-02
14
14
posted: 2022-08-26
15
15
---
16
16
17
+
RAID1 configurations offer redundancy by mirroring data across two drives. If one drive fails, the other continues operating, ensuring data integrity. This guide explains how to replace a failed drive and rebuild the RAID1 array using the `mdadm` utility.
18
+
17
19
Each Elastic Metal server uses a RAID1 configuration after installation from the Scaleway console. If you want to change the RAID configuration of the server, you can modify the RAID array using [rescue mode](/bare-metal/elastic-metal/how-to/use-rescue-mode/).
18
20
19
21
<Macroid="requirements" />
20
22
21
23
- A Scaleway account logged into the [console](https://console.scaleway.com)
22
24
-[Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
25
+
- An Elastic Metal server with at least two disks in RAID1
23
26
24
27
## Removing the failed disk from the RAID configuration
25
28
26
29
<Messagetype="tip">
27
-
We recommend backing up your data before proceeding.
30
+
We recommend [backing up your data](/en/docs/tutorials/restic-s3-backup/) before proceeding.
28
31
</Message>
29
32
30
33
1. Boot server in [rescue mode](/bare-metal/elastic-metal/how-to/use-rescue-mode/) from the Scaleway console.
@@ -36,15 +39,15 @@ Each Elastic Metal server uses a RAID1 configuration after installation from the
36
39
<Messagetype="tip">
37
40
The rescue credentials are available from your server's status page in the Scaleway console.
38
41
</Message>
39
-
2. Run the following command to make sure all disk caches are written to the disk:
42
+
3. Run the following command to make sure all disk caches are written to the disk:
40
43
```
41
44
sync
42
45
```
43
-
3. Mark the failed disk as failed using `mdadm`:
46
+
4. Mark the failed disk as failed using `mdadm`:
44
47
```
45
48
mdadm --manage /dev/md0 --fail /dev/sdb2
46
49
```
47
-
4. Visualize the existing `mdadm` RAID devices by running the following command:
50
+
5. Visualize the existing `mdadm` RAID devices by running the following command:
48
51
```
49
52
cat /proc/mdstat
50
53
```
@@ -65,19 +68,22 @@ Each Elastic Metal server uses a RAID1 configuration after installation from the
65
68
```
66
69
67
70
The faulty device is marked with `(F)`.
68
-
5. Remove the failed disk using the `mdadm --manage` command:
71
+
6. Remove the failed disk using the `mdadm --manage` command:
6. Contact the technical support to replace the failed disk with a working one.
75
+
7. Contact the technical support to replace the failed disk with a working one.
76
+
77
+
<Messagetype="important">
78
+
If the command fails due to the device being busy, ensure the disk is unmounted and re-check the status.
79
+
</Message>
73
80
74
81
## Adding the replacement disk to the RAID
75
82
76
83
1. Once the failed disk is replaced, copy the partition table of the source disk to the new disk:
77
84
```
78
85
sfdisk -d /dev/sda | sfdisk /dev/sdb
79
86
```
80
-
81
87
<Messagetype="important">
82
88
The `sfdisk` command above replaces the entire partition table on the new disk with the one of the source disk. Modify the command if you require preserving other partition information on the disk.
83
89
</Message>
@@ -89,11 +95,28 @@ Each Elastic Metal server uses a RAID1 configuration after installation from the
89
95
```
90
96
mdadm --detail /dev/md0
91
97
```
92
-
93
98
<Messagetype="tip">
94
-
Use the following command to show the progress of the recovery of the mirror disk:
99
+
Use the following command to show the progress of the recovery of the mirror disk:
100
+
```
101
+
cat /proc/mdstat
102
+
```
103
+
</Message>
104
+
105
+
## Post-replacement checks
106
+
107
+
1. Check for consistency in the RAID setup:
95
108
```
96
109
cat /proc/mdstat
97
110
```
111
+
2. Monitor the RAID health and status regularly:
112
+
```
113
+
mdadm --detail /dev/md0
114
+
```
115
+
3. Set up email alerts to detect RAID issues early:
0 commit comments