Before you proceed you need to first:
If you have not already done so you need to recuperate the details for the connection to the Recovery Console:
Sign in the Cloud Server service,
go to the "vSphere Client" section found in the left menu,
copy the details indicated in "vSphere Client connection details", for example:
For the connection to the Hyper-V server which contains the Cloud Server you need to recuperate two parameters, the IP address of the Hyper-V server and the GUID, both required for the connection.
Unfortunately these parameters can only be displayed from a PC with Windows operating system and with the Aruba Cloud Plugins software installed. The first time you connect to the Console of a Server you will need to recuperate these parameters by connecting from a PC with Windows operating system. For all the following connections you can reuse these same details, together with the arubacloud.com user name and relevant password, as indicated below.
To recuperate the parameters from the Windows PC first of all connect to the Hyper-V Recovery Console as indicated in the "How to use the Recovery Console
Once connected you need to, in Internet Explorer, right-click in an empty section of the page, in the part not used by the screen of the Console (for example the part highlighted with the red circle in Fig. 01), and select "HTML" from the menu, in order to see the HTML code which makes up the page.
A page with the HTML code of the page will open (see Fig. 02). From this page you need to get the two "hostIP" and "Guid" parameters (indicated in the green rectangle in Fig. 02).
In the example the data which you need is the following:
hostIP = 10.11.11.3
Guid = 66ed17db-1bcc-46e2-b4b8-d1e3d9cf0e1d
These details represent the IP address of the Hyper-V server which contains your Cloud Server, and the "pre connection blob", ID of your Cloud Server. To connect to your Cloud Server you need these details as well as the user name to sign in the arubacloud.com system (AWI-12345) and the related password.
If you have not already done so you need to:
To give an example, if your arubacloud.com user is "AWI-12345" with password "12345678" then to connect from Linux (both Ubuntu and Fedora) to the console of your Hyper-V Cloud Server you need to open a Terminal and run the following command:
/usr/local/bin/xfreerdp /cert-ignore /u:AWI-12345 /p:12345678 /vmconnect:66ed17db-1bcc-46e2-b4b8-d1e3d9cf0e1d /v:10.11.11.3
replacing the example data used in this guide with your data. If the password is not specified in the command line (/p:12345678) it will be requested soon after.
At this point the FreeRDP window will open with the Console of the Server (Fig. 03).
The process has been completed.
xfreerdp compilation on Linux from the "sources"
By following the instructions in this guide it is possible to compile the xfreerdp from the "sources".
This is required especially to connect to the Recovery Console of a Cloud Server based on Microsoft Hyper-V hypervisor.
The versions packaged with the Fedora 18 and Ubuntu 12.10 distributions are not compatible with this type of connection.
Such versions, which are not compatible for connections to the Hyper-V Recovery Console (which uses the Remote Desktop protocol with a special authentication method), but which on the contrary work well for all other Remote Desktop connections, are usually installed with the commands:
We do not exclude that future updates of these packages, may solve the problems with the connection to the Hyper-V console, however currently the only versions that work of xfreerdp are those installed after the compilation from the sources. The installation from the "sources" also allows you to have the latest version developed by the authors of the program, at the cost of a little extra work.
Should these incompatible versions be installed on your system you may proceed to remove them using the following commands:
Before you proceed with the compilation from the sources you need to install some packages required to compile the code. To proceed with the installation of these packages open a Terminal and run the following commands:
sudo apt-get install build-essential git-core cmake libssl-dev libx11-dev libxext-dev libxinerama-dev
sudo yum install git gcc cmake glibc-devel openssl-devel libX11-devel \
libXext-devel libXinerama-devel libXcursor-devel \
libXdamage-devel libXv-devel libxkbfile-devel alsa-lib-devel \
cups-devel ffmpeg-devel xmlto gstreamer-devel gstreamer-plugins-base-devel
Then to pass onto the download of the latest version of the xfreerdp run the following commands on the Terminal:
git clone git://github.com/FreeRDP/FreeRDP.git
Proceed with the compilation of xfreerdp. And from the Terminal run the following:
cmake -DWITH_SSE2=ON .
At this point, if the compilation has not given any errors, you can proceed with the installation with:
sudo make install
The latest version of xfreerdp will then be installed on the directory
Now you can proceed to connect to the Hyper-V Cloud Server via the Recovery Console from Linux
For any problem during the compilation it is possible to refer to this link: