Discussion:
[PVE-User] Local interface on Promox server
Adnan RIHAN
2018-11-25 14:20:44 UTC
Permalink
Hi there,

I’m using Proxmox for years on a remote server, and have recently
installed it in my company (so, in the same LAN).

In our server room, we have 2 servers (both Proxmox) and 2 Synology
NAS, all these servers can only be managed by another client using a
web browser. We don’t have any client machine in the server room, so
when we fix something in the room (cables, routing, etc…), we need to
go out and check the VMs on another machine outside the room,
sometimes making us come back, etc…

I know VMs can be controlled by command line using qemu, but is there
another way to locally control the machines on the Proxmox server,
except by installing a desktop manager and pointing the web browser on
localhost:8006? Is it even safe to do that?

We have a KVM in our bay, we can physically access the machines, is
there maybe a way to physically be connected to a VM (as if we were
physically connected to a Windows VM for instance)?

Thanks for your help.
--
Regards, Adnan RIHAN

GPG: 5675-62BA (https://keybase.io/max13/key.asc)
⇒ If you are not using GPG/PGP but want to send me an encrypted
e-mail: https://encrypt.to/0x567562BA.
Yannis Milios
2018-11-25 15:25:45 UTC
Permalink
We don’t have any client machine in the server room, so
Post by Adnan RIHAN
when we fix something in the room (cables, routing, etc…), we need to
go out and check the VMs on another machine outside the room,
sometimes making us come back, etc…
Is it really that difficult to get a laptop in the server room to manage
the servers?
Post by Adnan RIHAN
I know VMs can be controlled by command line using qemu, but is there
another way to locally control the machines on the Proxmox server,
except by installing a desktop manager and pointing the web browser on
localhost:8006? Is it even safe to do that?
Personally I would avoid installing a full Desktop environment on the PVE
hosts. Apart from adding unnecessary load, it can also
expand the attack surface on the servers. If you insist though, I would
recommend a simple Window Manager instead,
something like Fluxbox for example.

We have a KVM in our bay, we can physically access the machines, is
Post by Adnan RIHAN
there maybe a way to physically be connected to a VM (as if we were
physically connected to a Windows VM for instance)?
None that I'm aware of, but sounds like you are trying to over complicate
things... :)

Yannis
Uwe Sauter
2018-11-25 16:43:21 UTC
Permalink
You could use

qm terminal <ID>

to connect to the serial console. Ctrl + o will quit the session.

You need to configure your VMs to provide a serial console, e.g. by adding "console=tty0 console=ttyS0,115200n8" to
GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub and running "grub-mkconfig -o /boot/grub/grub.cfg".
Post by Adnan RIHAN
We don’t have any client machine in the server room, so
Post by Adnan RIHAN
when we fix something in the room (cables, routing, etc…), we need to
go out and check the VMs on another machine outside the room,
sometimes making us come back, etc…
Is it really that difficult to get a laptop in the server room to manage
the servers?
Post by Adnan RIHAN
I know VMs can be controlled by command line using qemu, but is there
another way to locally control the machines on the Proxmox server,
except by installing a desktop manager and pointing the web browser on
localhost:8006? Is it even safe to do that?
Personally I would avoid installing a full Desktop environment on the PVE
hosts. Apart from adding unnecessary load, it can also
expand the attack surface on the servers. If you insist though, I would
recommend a simple Window Manager instead,
something like Fluxbox for example.
We have a KVM in our bay, we can physically access the machines, is
Post by Adnan RIHAN
there maybe a way to physically be connected to a VM (as if we were
physically connected to a Windows VM for instance)?
None that I'm aware of, but sounds like you are trying to over complicate
things... :)
Yannis
_______________________________________________
pve-user mailing list
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
Adnan RIHAN
2018-11-27 02:39:23 UTC
Permalink
Post by Yannis Milios
Is it really that difficult to get a laptop in the server room to manage
the servers?
Well… You would be surprised ;)

It’s not « THAT » complicated, except that currently we are in a
country in crisis and buying a laptop only for that is currently
overkill. We had a tech machine there, but had to use it for a point
of sale.
Post by Yannis Milios
Personally I would avoid installing a full Desktop environment on the PVE
hosts
No choice. If it’s discouraged, then I won’t insist.
Post by Yannis Milios
You could use
qm terminal <ID>
to connect to the serial console
I’m not really looking for connecting a serial console, but would have
liked an access to the desktop manager of a VM, as if it was possible
to redirect the keyboard/video/mouse of my KVM console to an actual
VM.

As Yannis said, it seems to overcomplicate things. Then we will wait a
budget to buy a mini-pc and install it with the desktop we want.

BTW, I take advantage of the discussion about the serial port. In
Congo it’s hard to find an original serial-to-usb cable to plug our
PBX to one of our VMs. Prolific made an update and all our cables are
not working anymore. This was the only way to easily plug our RS232
PBX to a VM.

While waiting to find an original converter, is there a way to
redirect a serial port (/dev/ttyS0) to a Windows VM, creating a COM
port connected to the linux serial port?

--
Regards, Adnan RIHAN

GPG: 5675-62BA (https://keybase.io/max13/key.asc)
⇒ If you are not using GPG/PGP but want to send me an encrypted
e-mail: https://encrypt.to/0x567562BA.
Ulrich Huber
2018-11-27 07:30:40 UTC
Permalink
-----Ursprüngliche Nachricht-----
Von: pve-user [mailto:pve-user-***@pve.proxmox.com] Im Auftrag von Adnan RIHAN
Gesendet: Dienstag, 27. November 2018 03:39
An: pve-***@pve.proxmox.com
Betreff: Re: [PVE-User] Local interface on Promox server

BTW, I take advantage of the discussion about the serial port. In
Congo it’s hard to find an original serial-to-usb cable to plug our
PBX to one of our VMs. Prolific made an update and all our cables are
not working anymore. This was the only way to easily plug our RS232
PBX to a VM.

While waiting to find an original converter, is there a way to
redirect a serial port (/dev/ttyS0) to a Windows VM, creating a COM
port connected to the linux serial port?

[Ulrich Huber] Try the solution proposed on https://stackoverflow.com/questions/22624653/create-a-virtual-serial-port-connection-over-tcp

It´s sharing the seriell port on the host-side via tcp/ip and connecting to it from your windows-guest. Same solution we use here with some AIT-devices, we share them via iscsi and connect from the guest....


--
Regards, Adnan RIHAN

GPG: 5675-62BA (https://keybase.io/max13/key.asc)
⇒ If you are not using GPG/PGP but want to send me an encrypted
e-mail: https://encrypt.to/0x567562BA.
Luis G. Coralle
2018-11-27 11:43:34 UTC
Permalink
And mount a vpn?
I manage a remote proxmox via vpn
Post by Adnan RIHAN
Hi there,
I’m using Proxmox for years on a remote server, and have recently
installed it in my company (so, in the same LAN).
In our server room, we have 2 servers (both Proxmox) and 2 Synology
NAS, all these servers can only be managed by another client using a
web browser. We don’t have any client machine in the server room, so
when we fix something in the room (cables, routing, etc…), we need to
go out and check the VMs on another machine outside the room,
sometimes making us come back, etc…
I know VMs can be controlled by command line using qemu, but is there
another way to locally control the machines on the Proxmox server,
except by installing a desktop manager and pointing the web browser on
localhost:8006? Is it even safe to do that?
We have a KVM in our bay, we can physically access the machines, is
there maybe a way to physically be connected to a VM (as if we were
physically connected to a Windows VM for instance)?
Thanks for your help.
--
Regards, Adnan RIHAN
GPG: 5675-62BA (https://keybase.io/max13/key.asc)
⇒ If you are not using GPG/PGP but want to send me an encrypted
e-mail: https://encrypt.to/0x567562BA.
_______________________________________________
pve-user mailing list
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
--
Luis G. Coralle
Secretaría de TIC
Facultad de Informática
Universidad Nacional del Comahue
(+54) 299-4490300 Int 647
Loading...