13Jul/180

Mounting local HDDs via RDP

With RDP it is not only possible to connect to a Windows server. You can also mount local HDDs on the remote Windows server in order to directly transfer data. In this tutorial this process is described step by step.

By the way: In a separate tutorial, we explain how you can connect to your Windows server via RDP. Please read this first in case you are not familiar with RDP yet.

Open your Windows remote desktop connection:

In the sub-menu "Local Resources" you will find the "Local devices and resources" part. Using the "More" button you can choose the HDDs you want to mount on your remote Windows session.



After that you can connect to your server in the way you are used to. During the connection you have to confirm that you really want to allow remote desktop connections to access your local discs.

Once connected you can see the chosen discs directly in the Windows explorer:

Posted by: Julian | Tagged as: , , , , , No Comments
28Jun/180

How do I connect to my Windows server via RDP?

This tutorial will show you how to connect to your Windows VPS or dedicated server at Contabo via RDP from different operating systems.

The following scenarios will be covered:

Connections from desktop operating systems:

  • Establishing a RDP connection from WindowsOS (e.g. Windows 7, 8, 10)
  • Establishing a RDP connection from LinuxOS (e.g. Debian, Ubuntu)
  • Establishing a RDP connection from MacintoshOS (e.g. Apple MacBook)

Connections from mobile devices:

  • Establishing a RDP connection from Android based systems (e.g. Samsung Galaxy)
  • Establishing a RDP connection from iOS based systems (e.g. Apple iPhone)

 

RDP connections from Windows
  • on Windows 7: Please navigate to the "Start icon" of the taskbar and search for "Remote Desktop Connection"
  • bei Windows 8/10: Please navigate to the "Windows icon" of the taskbar and search for "Remote Desktop Connection"

The RDP client should start as follows:

Now you should be able to connect to your server using its hostname (e.g. "vmiXXXXX.contaboserver.net" for VPS or "mXXXX.contaboserver.net" for dedicated servers) or the IP address (e.g. "173.xxx.xxx.xxx"). The RDP session will be established within a few seconds automatically.

Alternatively, you might choose a few options beforehand (e.g. screen resolution and audio settings). Therefore, please click on the "Show Options" button:

Explanations:

  • The screen resolution can be individually modified using the slider
  • If you would like to pass through the audio signal to your local PC, you have to set the "Remote audio playback" function to "Play on this computer"
  • If you would like to make your local printer available on your server, please enable the "Printer" option at the "Local devices and resources" section (Important: The printer device driver must be compellingly installed on your server!)
  • The clipboard is enabled by default, so STRG + C / STRG + V will always work. It can be disabled by disabling its checkbox

 

Troubleshooting:

If you determine issues while connecting to your server, please find enclosed some information about how to fix them:

1. "Remote Desktop can't connect to the remote computer for one of these reasons":

Causes / Solutions:

2. "The remote session was disconnected because there are no Remote Desktop Licence Servers available to provide a license. Please contact the server administrator."

Causes / Solutions:

Obviously, a terminal service was installed on your server and no active licence server has been assigned yet. After the grace period of 90 respectively 120 days, all temporarily licences will be deleted and all further RDP logins will be rejected.

To fix this issue, you either have to delete the terminal service or the affected Windows Registry key

  • If you rent a VPS, you can connect to your server through VNC to perform the required steps:

https://contabo.com/?show=tutorials&tutorial=vnc-connect-vps

  • If you use a dedicated server and you do not have a KVM device attached to your server yet, please get in contact with us at support@contabo.com

* The required server role "Remote Desktop Services" can be deleted at the server manager ("Remove roles and features")
* The affected Registry key can be deleted at the following path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod

Important: Please be careful while changing settings at the Windows registry! Please create a full backup of the registry beforehand.

* Now please perform a reboot of your server and you should be able to login to your server afterwards again

 

RDP connection from Linux

Alternatively, you can also connect from Linux to your Windows server via RDP. There is a command line based program called "rdesktop" and it is usable for all available linux distributions.

  • Installation:

sudo apt-get install rdesktop

  • Start the RDP connection:

rdesktop <IP address>

Now the RDP connection has been established and you can login to your server using the initial login credentials.

Important information:

  • In order to be able to establish a RDP connection, your Linux system must have an X11 server available. It should be installed by default if you already use a GUI (graphical desktop environment - e.g. "Gnome" or "KDE")
  • Please note, it is generally not recommended to establish a RDP connection through SSH
  • Alternatively, there is another program called 'freeRDP', which can be used instead of 'rdesktop'. Please find more information about it at http://www.freerdp.com/

 

RDP connection from MacOS

In order to be able to establish a RDP connection from MacOS based systems (e.g. Apple MacBook), a RDP client is also required. Please find enclosed a download URL to get the latest RDP client version:

https://itunes.apple.com/us/app/microsoft-remote-desktop/id715768417?mt=12&ign-mpt=uo%3D4

Afterwards, you can start the RDP client following by entering the Windows login credentials (at the "Domain:" field, you can either use the server's IP address or the hostname):



Please always use the latest RDP client version from iTunes, so it is ensured that no connection issues occur!

Troubleshooting:

1. "Remote Desktop Connection cannot verify the identity of the computer that you want to connect to":

=> This kind of error message is mostly caused by an old respectively outdated RDP client version

Causes / Solutions:

  • Please make sure, that you are currently using the latest RDP client version (download-URL above)

 

RDP connection from Android-based systems

To establish a RDP connection from Google-Android-based systems (e.g. Samsung Galaxy) please use the following RDP client directly from the Google App store. You can always download the latest RDP client version here:

https://play.google.com/store/apps/details?id=com.microsoft.rdc.android&hl=en

 

RDP connection from iOS-based systems

Last of all, we would like to inform you about the possibility of how to connect to your Windows server via an iOS-based system (e.g. Apple iPhone).

Please find enclosed the download URL to get the latest RDP client version:

https://itunes.apple.com/us/app/microsoft-remote-desktop/id714464092?mt=8&ign-mpt=uo%3D4

Very important: In order to use the latest RDP client above, iOS version 8.0 is required at least!


If you have any further questions about connecting via RDP to your server or need help, please do not hesitate to contact us at support@contabo.com.

11Jun/180

Establishing a connection to your server via SSH

In this tutorial you will find a guide on how to establish a connection via SSH to your Linux server.

Please note that you will have to replace the place holder <IP Address> in the complete tutorial with the IP address of your server.

Linux

In case you are using a Linux operating system on your local machine you will just have to start a terminal.

To establish the connection to your server please type the following command:

The option -l defines the user which will be connected to. In this case we will use "root".
The option -p defines the port which will be used for the connection. Here we will use the standard SSH port 22.

Should this be the first time you connect to the server, you will have to accept its SSH certificate by typing "yes".

Please insert your password, which you can find in our e-mail "Your Login Data". Kindly note that SSH will not display any letters or symbols when typing the password. You can also copy and paste your password by using the right mouse key (please make sure not to copy your password with blank characters at the end - you can check so by pasting the password into an empty editor file before using it).

Now, click the ‚Enter‘-key. Once done, you should get access to your server via SSH:

The connection has now been established successfully.

Windows

In case you are using a Windows operating system on your local machine, you will have to install a suitable SSH client first.

We recommend to use PuTTy as SSH client:

http://www.putty.org/

After installing PuTTy, open the client and enter the IP address of your Server. The port, in this case the standard SSH port 22, can be changed as well if needed.

Click 'Open' to initiate the connection. You can leave all options to default.

Should this be the first time to connect to the server, you will have to accept its SSH certificate:

Afterwards, you will see the following:

Please insert root (login as:) and your password, which you can find in our e-mail "Your Login Data". Kindly note, SSH will not display any letters or symbols when typing the password. You can also copy and paste your password by using the right mouse key (please make sure not to copy your password with blank characters at the end - you can check so by pasting the password into an empty editor file before using it).

Now, click the ‚Enter‘-key. Once done, you should get access to your server via SSH:

The connection has now been established successfully.

Posted by: Julian | Tagged as: , , , , , , No Comments
28May/180

Results of the customer survey 2018

At the end of April, we have asked you - our existing customers - to answer a few questions about us and our services in a survey within your customer control panel. First of all, we would like to take the chance and thank all of you for the huge participation: Even though the survey was online for just a couple of days, 7.148 customers took part in it - an outstanding number of participants!

The survey revealed that 94% of you are very satisfied or satisfied with our services and the recommendation ratio is just as high. We are very happy about that! At the same time, we will work hard in the coming months in order to convince those of you who are not yet fully satisfied with Contabo. We will thoroughly evaluate the results of the survey and consider your suggestions for improvement. After all, it is our company goal to put you, our valued customers, in the center of our attention!

As you also know, we have raffled 3 x 100 Euro among all participants, as a credit note in your Contabo customer account, which will be used to pay for your registered services with us. The winners have been drawn in the meantime and notified by us. Happy about the prize are:

Frank B. from Troisdorf (Germany)
Dragan T. from Skopje (Macedonia)
Matt B. from Warsaw (Poland)

Congratulations to our winners!

14May/180

New Operating Systems available: Fedora 28 and Ubuntu 18.04

Good news: From now on, we offer you the brand new Fedora 28, it replaces the previous version 27. Furthermore, Ubuntu 18.04 (LTS) is available at Contabo!

Both operating systems can be combined with Software RAID 1 and Webmin. Additionally, Ubuntu 18.04 can also be ordered together with LAMP and Webmin+LAMP. An installation via VNC / SSH is possible for both OS as well.

As an active customer, you can easily install one of these new versions through your customer control panel.

It is especially noteworthy for all of you interested in purchasing our services:
We always offer you a large selection of Linux distributions (as well as Windows Server 2012 and 2016). Just click on "Customize & Order" below your desired (virtual) server model in order to get a detailed overview and select the operating system of your choice!

Please note: You can find further information and a product overview on our website!

Posted by: Markus | Tagged as: , , , , , No Comments
2May/184

Contabo wins German Data Center Award 2018

Last year Contabo was already honored and received the German Data Center Award 2017 for the modernization of its data center in Nuremberg. Now we took part in this year’s contest as well and faced the competition with our modernization measures that have been recently performed at our data center in Munich.

This year’s ceremony was held on April 24th 2018, and the winners of the “Deutscher Rechenzentrumspreis 2018” (German Data Center Award 2018) were honored. Again, and just like last year, an independent jury of data center experts and planners decided which of the 51 submitted data center projects would receive the award. The jury placed particular emphasis on the innovative to visionary character of the data center projects as well as on the energy efficiency which can be achieved in data center operations.

Once again, we have won the first place in category 6 – “Increase in energy efficiency through reconstruction in an existing data center” – this time with our data center located in Munich, and consequently received the German Data Center Award 2018.

This means that both of our data centers have received the German Data Center Award – a huge acknowledgement of all our modernization efforts in recent years and we are very happy about that.

In the course of the energetic optimization of our now award-winning data center in Munich all chillers which had been in use for cooling the data center were replaced by a groundwater cooling system. Now only a few pumps with a low power consumption are sufficient in order to reliably supply the entire data center with cooling – thanks to groundwater which is cool all year long.
Not only you, our valued customers benefit from this measure due to decreasing energy demand and thus rental costs for the server operation: Due to the low power consumption for the data center cooling, the environment is best protected and the groundwater flows back to the soil unchanged.
All this work was carried out without any interruption of the operation of your servers, thanks to extensive planning and project scheduling as well as precautionary activities. We have thousands of servers online in our data center in Munich, and all these actions were performed noiseless.

 

The PUE value (PUE = “Power Usage Effectiveness”) of our data center in Munich could be reduced from 1.4 to less than 1.1 and at the same time, the cooling power was increased. Power capacity which was up to now reserved for peak loads of the chillers in midsummer could be used to accommodate hundreds of new servers in the data center. The electricity requirement for cooling the entire data center is thus negligible for us for the first time – throughout the whole year.

25Apr/180

Review about Contabo at Top10-WebsiteHosting

Great news: The experts at top10-websitehosting have recently published a review about us. They have thoroughly tested our services and we have had the chance to do a Q&A with them.

The authors were especially impressed by our approach to put a special focus on you, our valued customers and to offer you customized solutions regarding the configuration of your server (especially applies to our dedicated servers and colocation offers). Apart from our great price-/performance-ratio, our blog and especially our tutorials section were highlighted in the review. We are really proud about that 🙂

You can read the full review by clicking on the following link:

Top10-websitehosting about Contabo

17Apr/180

New Operating System: FreeBSD 11.1

As of today, we offer you FreeBSD 11.1 as an additional operating system for your VPS and dedicated servers.

You can combine it with the Software RAID 1.

If you are already using our services, you can easily switch to FreeBSD 11.1 through your customer control panel.

One more thing, which is most likely interesting for all potential new customers:

Besides FreeBSD 11.1 we offer you a large selection of the latest Linux distributions as well as Windows Server 2012 and 2016. Just click on "Customize & Order" below your desired virtual or dedicated server model in order to get a detailed overview and select the operating system of your choice!

You can find further information and a product overview on our website!

Posted by: Markus | Tagged as: , , , No Comments
21Mar/180

How to manage your RAID controller in Windows

Not long ago, we have shown you in a different tutorial how to manage your raidcontroller in Linux. Below you can find the respective guideline for Windows.

Monitoring a RAID array

A hardware RAID has certain advantages, but also a hardware RAID has to be monitored. We always rely on tried and tested hardware to minimize the risk of a hardware failure, but there is always the risk that hardware fails, therefore monitoring the hardware is even more important to guarantee that the server will keep running properly.

In the case of a software RAID, the operating system generates messages about the RAID; with a hardware RAID, the controller does it itself - but you need a special software to read these messages.

This blog entry shows the installation and use of the Adaptec and LSI software on Windows operating systems.
There are also graphical interfaces available for managing raidcontrollers, such as a web interface.

Please contact our support department in case you are not sure which controller was added to your server.

Updating the controller's firmware or the operating system's driver may lead to a complete loss of all data stored on that RAID!

1. Adaptec

1.1 Installation of the arcconf binary

Open the Powershell as Administrator, you will start at the "Administrator" User folder.
Create a new folder and change to that folder, e.g.:

mkdir C:\raid; chdir C:\raid

The binary can be downloaded via Powershell as well, type in the following command:

iwr -URI http://download.adaptec.com/raid/storage_manager/arcconf_v2_03_22476.zip' -OUTFILE arcconf_v2_03_22476.zip; start arcconf_v2_03_22476.zip

(You could also download the binary with your webbrowser from here )

You should see some directories including the "windows_x64" directory, select that directory and copy it to "C:\raid\".

1.2 Monitoring the raidcontroller

Open the Powershell and change the directory using the following command:

chdir C:\raid\windows_x64\cmdline

You should be able to run the executable by using the following command: " .\arcconf.exe getconfig 1" - this will display all information.

You will get all information regarding the 1st controller installed in your system. In case you have installed more than one controller you could display the information of the 2nd controller by typing ".\arcconf.exe GETCONFIG 2".

A list of available options can be displayed by typing ".\arcconf.exe" .
The most important status can be filtered out by typing ".\arcconf.exe GETCONFIG 1 | findstr Status" into the Powershell.

PS C:\raid\windows_x64\cmdline> .\arcconf.exe GETCONFIG 1 | findstr Status
Controller Status : Optimal
Status : ZMM not installed
Status of Logical Device : Optimal

"ZMM not installed" shows that this controller currently has no BBU (battery backup unit) installed, a BBU can be installed at any time as an upgrade.

A "Degraded" status on a LD (Logical Device) indicates that there must be an issue.

PS C:\raid\windows_x64\cmdline> .\arcconf.exe GETCONFIG 1 | findstr Status
Controller Status : Optimal
Status : ZMM not installed
Status of Logical Device : Degraded

To check if there is any failed drive (in this scenario the SSD failed), type in the following command and you will see the "State : Failed" information:

PS C:\raid\windows_x64\cmdline> .\arcconf.exe GETCONFIG 1 PD
Controllers found: 1
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
Device #0
Device is a Hard drive
State : Failed
Block Size : 512 Bytes
Failed logical device segments : True
Supported : Yes
Transfer Speed : Failed
Reported Channel,Device(T:L) : 0,0(0:0)
Reported Location : Connector 0, Device 0
Vendor :
Model : Crucial_CT275MX3
Firmware : M0CR040
Serial number : 11111111111111
World-wide name : 500A075116639956
Total Size : 262321 MB
Write Cache : Enabled (write-back)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full power,Powered off,Standby
SSD : Yes
Temperature : Not Supported
NCQ status : Enabled

To replace a failed drive just contact us, we will immediately take care of it. To speed up the process you should provide us with the above output. It shows the S/N and the port that drive is attached to. In this case the S/N is "11111111111111" and the attached Port is "0".

As soon as the drive got replaced the rebuild should start automatically:

PS C:\raid\windows_x64\cmdline> .\arcconf.exe GETCONFIG 1 | findstr Status
Controller Status : Optimal
Status : ZMM not installed
Status of Logical Device : Degraded, Rebuilding ( Rebuild : 1 % )

Depending on your RAID setup this will probably take several hours.

1.3 Installing an available webinterface

For Adaptec controllers there is the "MaxView Storage Manager" available, it can be downloaded here: https://storage.microsemi.com/de-de/speed/raid/storage_manager/msm_windows_x64_v2_03_22476_zip.php

The installer is located within the directory called "manager" - that directory will be created when unpacking the downloaded archive.
You can start the installation by starting "setup_asm_x64.EXE" .
Afterwards you should be able to reach the webinterface on https://<SERVERIP>:8443 .

2. LSI

2.1 Installation of the StorCLI binary

Download of the commandline Binary :

iwr -URI 'https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/1.21.16_StorCLI.zip' -OUTFILE StorCLI.zip;explorer.exe .\StorCLI.zip\versionChangeSet\univ_viva_cli_rel\

A Windows Explorer should popup when using the above command. Now copy "storcli_ALL_OS.zip" to the "C:\raid" directory:

 

Now unzip that file.

 

2.2 Monitoring the raidcontroller

Go to your Powershell and type the following command to access the recently unpacked files:

chdir C:\raid\storcli_All_OS\storcli_All_OS\Windows\

You should be able to call "storCLI.exe", there is also a 64Bit binary.

You can display the current status of the raidcontroller by typing:

PS C:\raid\storcli_All_OS\storcli_All_OS\Windows> .\storcli64.exe /c0 show

TOPOLOGY :
========
-----------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type  State BT       Size PDC  PI SED DS3  FSpace
-----------------------------------------------------------------------------
0 -   -   -        -   RAID1 Optl  N  255.656 GB dflt N  N   dflt N
0 0   -   -        -   RAID1 Optl  N  255.656 GB dflt N  N   dflt N
0 0   0   64:4     12  DRIVE Onln  N  255.656 GB dflt N  N   dflt -
0 0   1   64:5     13  DRIVE Onln  N  255.656 GB dflt N  N   dflt -
----------------------------------------------------------------------------

Example for a failed HDD:

TOPOLOGY :
========
----------------------------------------------------------------------
DG Arr Row EID:Slot DID Type  State BT Size PDC  PI SED DS3  FSpace
----------------------------------------------------------------------
0 -   -   -        -   RAID1 Dgrd  N  255 GB dflt N  N   dflt N
0 0   -   -        -   RAID1 Dgrd  N  255 GB dflt N  N   dflt N
0 0   0   -        -   DRIVE Msng  -  255 GB -    -  -   -    -
0 0   1   64:5     13  DRIVE Onln  N  255 GB dflt N  N   dflt -
---------------------------------------------------------------------

 

PS C:\raid\storcli_All_OS\storcli_All_OS\Windows> .\storcli64.exe /c0 /sall show

Controller = 0
Status = Failure
Description = No drive found!
Detailed Status :
===============
----------------------------------------
Drive Status ErrCd ErrMsg
----------------------------------------
/c0/sALL Failure 255 Drives not found
----------------------------------------

To display the current status of the rebuild you can run:

PS C:\raid\storcli_All_OS\storcli_All_OS\Windows> .\storcli64.exe /c0 /eall /sall show rebuild


Controller = 0
Status = Success
Description = Show Drive Rebuild Status Succeeded.
---------------------------------------------------------
Drive-ID Progress% Status Estimated Time Left
---------------------------------------------------------
/c0/e64/s4 0 In progress -
/c0/e64/s5 - Not in progress -
---------------------------------------------------------

2.3 Installation of a graphical interface

You can download the latest MegaRAID Storage Manager using the following link:

https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/16.05.04.00_MSM_Windows.zip

After downloading, unzip all files. You should be able to access the directory, just run the installation wizard.

Usually you will not have any LDAP authentication, in this case you have to unmark the checkbox when running the installer - otherwise you cannot connect to the manager.

A new shortcut will appear on your desktop, now run that shortcut and type in your login credentials. The following MSM interface should show up:

 

 

 

Posted by: Gianni-Donato | Tagged as: , , , , , No Comments
7Mar/180

How to manage your RAID controller in Linux

Please note: This tutorial focusses on Linux OS. Should you be a Windows user instead, please confer our respective tutorial on how to manage your RAID controller in Windows.

Monitoring a RAID array

A hardware RAID has certain advantages, but also a hardware RAID has to be monitored. We always rely on tried and tested hardware to minimize the risk of a hardware failure, but there is always the risk that hardware fails, therefore monitoring the hardware is even more important to guarantee that the server will keep running properly.

In the case of a software RAID, the operating system generates messages about the RAID; with a hardware RAID, the controller does it itself - but you need a special software to read these messages.

This blog entry shows the installation and use of the Adaptec and LSI software on Linux operating systems.
There are also graphical interfaces available for managing raidcontrollers, such as a web interface.

Please contact our support department in case you are not sure which controller was added to your server.

Please note: Updating the controller's firmware or the operating system's driver may lead to a complete loss of all data stored on that RAID!

For this tutorial some additional software is needed, for Ubuntu 17.10 it can be installed using the following command "apt install zip unzip net-tools"

1. Adaptec

An overview of available software for your Adaptec controller can be found here: https://storage.microsemi.com/en-us/support/series6/index.php

1.1 Installation of the arcconf binary

Installing the binary with the Linux commandline is very easy, you can manage the controller using that binary afterwards.

A download link for the latest available binary can be found on the above mentioned website by clicking on the "Storage Manager Downloads" link.
The "arcconf" binary can be used for various Adaptec products, usually there is no need for additional software.
In this tutorial we are going to download the following binary: https://storage.microsemi.com/en-us/speed/raid/storage_manager/arcconf_v2_03_22476_zip.php

On your commandline just type:

wget http://download.adaptec.com/raid/storage_manager/arcconf_v2_03_22476.zip && unzip arcconf_v2_03_22476.zip

Now move the binary to your binary folder and make it executable:

mv linux_x64/cmdline/arcconf /usr/sbin/ && chmod +x /usr/sbin/arcconf

The "arcconf" command should be available now.

root@contabo:~# arcconf
Controllers found: 1
| UCLI | Adaptec by PMC uniform command line interface
| UCLI | Version 2.03 (B22476)
| UCLI | (C) Adaptec by PMCS 2003-2016
| UCLI | All Rights Reserved

1.2 Monitoring the raidcontroller

Usually the RAID should have an "OPTIMAL" value, in case one HDD fails the controller will start to send an audible alarm signal. That signal will be recognized by our technicians working in the datacenter, in this case we will contact you and inform you about a possible hardware failure.

With the parameter "arcconf GETCONFIG 1" you will get all information regarding the 1st controller installed to your system. In case you have installed more than one controller you could display the information of the 2nd controller by typing "arcconf GETCONFIG 2".

A list of available options can be displayed by typing "arcconf getconfig".

The most important status can be filtered out by typing "arcconf getconfig 1 | grep Status" into the commandline.

root@contabo:~# arcconf getconfig 1 | grep Status
Controller Status : Optimal
Status : ZMM not installed
Status of Logical Device : Optimal

"ZMM not installed" shows that this controller currently has no BBU (batterie backup unit) installed, a BBU can be installed at any time as an upgrade.

A "Degraded" status on a LD (Logical Device) indicates that there must be an issue.

root@contabo:~# arcconf getconfig 1 | grep Status
Controller Status : Optimal
Status : ZMM not installed
Status of Logical Device : Degraded

To check if there is any failed drive (in this scenario the SSD failed), type in the following command and you will see the "State : Failed" information:

root@contabo:~# arcconf getconfig 1 PD
Controllers found: 1
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
Device #0
Device is a Hard drive
State : Failed
Block Size : 512 Bytes
Failed logical device segments : True
Supported : Yes
Transfer Speed : Failed
Reported Channel,Device(T:L) : 0,0(0:0)
Reported Location : Connector 0, Device 0
Vendor :
Model : Crucial_CT275MX3
Firmware : M0CR040
Serial number : 11111111111111
World-wide name : 500A075116639956
Total Size : 262321 MB
Write Cache : Enabled (write-back)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full power,Powered off,Standby
SSD : Yes
Temperature : Not Supported
NCQ status : Enabled

To replace a failed drive just contact us, we will immediately take care of it. To speed up the process you should provide us with the above output. It shows the S/N and the port that drive is attached to. In this case the S/N is "11111111111111" and the attached Port is "0".

As soon as the drive got replaced the rebuild should start automatically:

root@contabo:~# arcconf getconfig 1 | grep Status
Controller Status : Optimal
Status : ZMM not installed
Status of Logical Device : Degraded, Rebuilding ( Rebuild : 1 % )

Depending on your RAID setup this will probably take several hours.

1.3 Installing an available Webinterface

For Adaptec there is the "MaxView Storage Manager" available, it can be downloaded here: https://storage.microsemi.com/de-de/speed/raid/storage_manager/msm_linux_x64_v2_03_22476_tgz.php

You could also just download it via commandline:

wget http://download.adaptec.com/raid/storage_manager/msm_linux_x64_v2_03_22476.tgz && tar -xzf msm_linux_x64_v2_03_22476.tgz

The installer is located within the directory called "manager" - that directory will be created when unpacking the downloaded archive.
For our system (Ubuntu 17.04) we will install the package using the following command:

dpkg -i manager/StorMan-2.03-22476_amd64.deb

Afterwards you should be able to reach the webinterface at https://<SERVERIP>:8443

2. LSI

2.1 Installation of the StorCLI binary

Download of the commandline Binary :

wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/1.21.16_StorCLI.zip --no-check-certificate && unzip 1.21.16_StorCLI.zip && cd versionChangeSet/univ_viva_cli_rel/ && unzip storcli_All_OS.zip

For our system we will install the Ubuntu package by typing:
dpkg -i storcli_All_OS/Ubuntu/storcli_1.21.06_all.deb

Create a link to make the "storcli" command available to your shell.
ln -s /opt/MegaRAID/storcli/storcli64 /usr/sbin/storcli

2.2 Monitoring the raidcontroller

You can display the current status of the raidcontroller by typing:

root@contabo:~#storcli /c0 show

TOPOLOGY :
========
-----------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type  State BT       Size PDC  PI SED DS3  FSpace
-----------------------------------------------------------------------------
0 -   -   -        -   RAID1 Optl  N  255.656 GB dflt N  N   dflt N
0 0   -   -        -   RAID1 Optl  N  255.656 GB dflt N  N   dflt N
0 0   0   64:4     12  DRIVE Onln  N  255.656 GB dflt N  N   dflt -
0 0   1   64:5     13  DRIVE Onln  N  255.656 GB dflt N  N   dflt -
----------------------------------------------------------------------------

Example of a failed HDD:

TOPOLOGY :
========
----------------------------------------------------------------------
DG Arr Row EID:Slot DID Type  State BT Size PDC  PI SED DS3  FSpace
----------------------------------------------------------------------
0 -   -   -        -   RAID1 Dgrd  N  255 GB dflt N  N   dflt N
0 0   -   -        -   RAID1 Dgrd  N  255 GB dflt N  N   dflt N
0 0   0   -        -   DRIVE Msng  -  255 GB -    -  -   -    -
0 0   1   64:5     13  DRIVE Onln  N  255 GB dflt N  N   dflt -
---------------------------------------------------------------------

root@contabo:~#storcli /c0 /sall show


Controller = 0
Status = Failure
Description = No drive found!
Detailed Status :
===============
----------------------------------------
Drive    Status  ErrCd ErrMsg
----------------------------------------
/c0/sALL Failure   255 Drives not found
----------------------------------------

To display the current status of the rebuild you can run:

root@contabo:~#storcli /c0 /eall /sall show rebuild

Controller = 0
Status = Success
Description = Show Drive Rebuild Status Succeeded.
---------------------------------------------------------
Drive-ID   Progress% Status          Estimated Time Left
---------------------------------------------------------
/c0/e64/s4         0 In progress     -
/c0/e64/s5         - Not in progress -
---------------------------------------------------------

2.3 Installing an available webinterface

Unfortunately, there is currently no webinterface available for Linux.

 

Posted by: Gianni-Donato | Tagged as: , , , , , No Comments