If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Proxmox Android client - UPDATE: Version BETA released

Dear Proxmox Team
thanks for your great Virtualization Solution!! To thanks you we will try to create an android client for the most important feature of Proxmox.
We will keep in touch for further news.
At the moment we are try to understand the JSON API of Proxmox so the first release is not near the door...
Please share with us some good idea to implement.
Sincerely Dimitri (www.quadrata.it)

Re: Proxmox Android client - Work In Progress

In the first image there are some input fields where to insert server name (don-t forget the port, usually 8006), your username (complete it with realm abbreviation, like user@pve) and your password. Later we'll try to implement a profile system, through which you will have possibility to save frequently accessed servers with relative credentials.

In second image ther's a simple list of servers ordered by nodes, with their current status. We're planning to change layout putting an expandable list of nodes, each of them will contain a sublist of relative vms.

Third image shows more detailed statistics, updatable with the VM Details button. Start and Stop buttons i think don't need explanation ; after they have been clicked they'll update stats below after having started/stopped the vm.

Re: Proxmox Android client - Work In Progress

Hi, interesting work! What license is this software released? If Free(dom) I would love to have a loot at the source code (I avoid install proprietary programs in my android as much as I reasonable can... proprietary sw on a very smart and capable device seems a suicide to me).
Best regards

Re: Proxmox Android client - Work In Progress

Hi mmenaz
Thanks for interesting on our small project! We will give our App OpenSource if there are some interest from the community...
We want make some bug and clean up and release it soon for beta testing.
Please provide some feedbackup or suggestion.pi_anto is the main developer so please give some suggestion to him is very useful.
Thanks so much

Re: Proxmox Android client - Work In Progress

Originally Posted by pi_anto

Hello Proxmoxers!

Even if we made you wait more than maybe you expected, we finally successed in building a first alpha of this client!
First features include a start/stop of virtual machines and a list of their status.

Re: Proxmox Android client - Work In Progress

Originally Posted by mmenaz

Hi, interesting work! What license is this software released? If Free(dom) I would love to have a loot at the source code (I avoid install proprietary programs in my android as much as I reasonable can... proprietary sw on a very smart and capable device seems a suicide to me).
Best regards

Heya!

source code is now available in Git form. You can find it in the Source subtab on the google code project page

Re: Proxmox Android client - Work In Progress

GREAT! GPL3, perfect choice, grazie mille I hope to find time to start hacking with android since I've just bought a second hand Samsung Galaxy II (an "upgrade" from my former Htc G1) and now do some serious work is possible.
Best regards and... happy hacking ;P

Re: Proxmox Android client - Work In Progress

Alpha2 version up on project page.

Moved login view to a Preferences menu. It will show up first time user installs and opens application, later it will be accessible from vm list view through the Preferences menu (pushing menu button on device).

Re: Proxmox Android client - Work In Progress

Re: Proxmox Android client - UPGRADE: Version ALPHA released

Originally Posted by dietmar

The Proxmox Console use java (not Java-Script). Anyways, all you need to implement the console is a working VNC client. Not sure if such thing exists on Andriod.

We already thought to implement Proxmox Console in our client, and as you suggested the idea was to redirect to a good working (and possibily free) VNC client, passing it all necessary data to open a connection.
By the moment you expressely asked for this, maybe we'll move this feature up in priority.

Re: Proxmox Android client - UPGRADE: Version ALPHA released

Hi,

A small bug found in VMStatsActivity: The reading Cpu should be named Cpu Usage and also the returned value should be formated to: x[y[z]].h%

Apart from the above it would be a god idea if all the readings was formatted the way used in the PVE web interface. Eg. memory usage in KB, MB, GB and time readings in days, hours, minuts and seconds.

A nice feature would be if VMStatsActivity when showing VM Details could be configured to reload automatically.

Re: Proxmox Android client - UPGRADE: Version ALPHA released

Originally Posted by mir

Hi,

A small bug found in VMStatsActivity: The reading Cpu should be named Cpu Usage and also the returned value should be formated to: x[y[z]].h%

Apart from the above it would be a god idea if all the readings was formatted the way used in the PVE web interface. Eg. memory usage in KB, MB, GB and time readings in days, hours, minuts and seconds.

A nice feature would be if VMStatsActivity when showing VM Details could be configured to reload automatically.

Apart from that thumbs up:-)

Michael.

Hi Michael!

You're right, machine stats can't stay like that, this is a rude form of details, soon we'll format them in a better way.
About automatically update details, this client is based on Json api, this means that there's a Http client created in its own thread that makes a request to the Proxmox server and shows the resulting string. Constantly update means that we have to leave an Http client open for periodic request, or constant creation of this client, in both cases i'm not sure it's a good idea for smartphones resources. We'll check if there's a way

Re: Proxmox Android client - UPGRADE: Version ALPHA released

Hi dietmar
during our development on Android App we cant understand so much the value for VM Statistic returned from the JSON API, for example:
Using JSON API:
"diskread":"6112047"
"diskwrite":"361057"
Using "qEmu Monitor" (cli command: "info blockstats")

rd_bytes=317928960wr_bytes=57402368

How can we read this value as VM Statistic? (The same question is related to network)
Many thanks for helping us.

Re: Proxmox Android client - UPGRADE: Version ALPHA released

Originally Posted by mir

Hi,

A small bug found in VMStatsActivity: The reading Cpu should be named Cpu Usage and also the returned value should be formated to: x[y[z]].h%

Apart from the above it would be a god idea if all the readings was formatted the way used in the PVE web interface. Eg. memory usage in KB, MB, GB and time readings in days, hours, minuts and seconds.

As Dimitri was saying, we have problems in understanding values about network traffic and disk io. As soon as we know more about them we'll add these too to VM stats view. Or maybe we'll move this stats to some graphs we'll try to implement.

Re: Proxmox Android client - UPGRADE: Version ALPHA released

As Dimitri was saying, we have problems in understanding values about network traffic and disk io. As soon as we know more about them we'll add these too to VM stats view. Or maybe we'll move this stats to some graphs we'll try to implement.

Pietro

This is a great improvement

A suggestion: If possible it could be very convenient if the notes for each VM were available. The user would then have the choice of entering specific details for each VM and be able to read these details on the mobile device. Reason: As the number of VM's increases it can be very hard to remember the details for each and every VM.

Re: Proxmox Android client - UPGRADE: Version ALPHA released

Originally Posted by dietmar

Sorry, I do not really get that question -there is no api for 'info blockstat'.

Hi Dietmar
what i want to say is using this kind of api: "/api2/json/nodes/quadprox/qemu/105/status/current" we have a json string, in this string we can found some information and statistics about a VM. For our App we need to understand what unit type is "diskread" e "diskwrite", is the total read/write in byte/sec or something alse?
Many thanks for help

Re: Proxmox Android client - UPGRADE: Version ALPHA released

Originally Posted by mir

This is a great improvement

A suggestion: If possible it could be very convenient if the notes for each VM were available. The user would then have the choice of entering specific details for each VM and be able to read these details on the mobile device. Reason: As the number of VM's increases it can be very hard to remember the details for each and every VM.

Re: Proxmox Android client - UPGRADE: Version ALPHA released

Thank you Dimitri for you work. What development environment (if any) are you using to develop quadprox-mobile?
I ask you because I'd like to add some features and I'm completely new to android development.

Re: Proxmox Android client - UPGRADE: Version ALPHA released

Originally Posted by caracolla

Thank you Dimitri for you work. What development environment (if any) are you using to develop quadprox-mobile?
I ask you because I'd like to add some features and I'm completely new to android development.

Thanks

Hi Caracolla
Thanks to you but i'm a coworker of Pietro and is only to thanks Pietro for developing of QuadProx-Mobile :-) As i know he use Eclipse and Android SDK if you want to add new feature please post it and share suggestion with Pietro.
I say that because the our roadmap now is focus on:
- Create new Layout
- Improve Feature for VM

Re: Proxmox Android client - UPGRADE: Version ALPHA released

Originally Posted by caracolla

Thank you Dimitri for you work. What development environment (if any) are you using to develop quadprox-mobile?
I ask you because I'd like to add some features and I'm completely new to android development.

Hi had just installed it when the news arrived:-) This release is very impressing!

I have be thinking of a very interesting feature which I personally would love to see. The missing feature is the ability to make a migration in the app. Since I miss this very much I intend to throw in some working hours and implement it myself. Do you have some guidelines somewhere on the project homepage how to get started?

Re: Proxmox Android client - UPGRADE: Version ALPHA released

Only committers can change source and apks in project page. I'll talk to Dimitri about the possibility to add more committers. In the meantime, post an issue for a review request on Issues section of the page, with the source code: http://code.google.com/p/quadprox-mo...view%20request.

Anyway you're right, it's better to show days unit too, and it won't take much time to patch

Re: Proxmox Android client - UPDATE: Version BETA released

Re: Proxmox Android client - UPGRADE: Version ALPHA released

Originally Posted by pi_anto

Only committers can change source and apks in project page. I'll talk to Dimitri about the possibility to add more committers. In the meantime, post an issue for a review request on Issues section of the page, with the source code: http://code.google.com/p/quadprox-mo...view%20request.

I am very close to have finished a new activity which enables the app to migrate any VM. The important parts are working but some parts of the UI needs refinement before it will be shown to the public. The activity is integrated by added a new menuitem to the VMStatsActivity activity which calls this new activity. As this is a rather large patch I would prefer if I could send it by email so is there some email address I can use?

Re: Proxmox Android client - UPGRADE: Version ALPHA released

Originally Posted by mir

I am very close to have finished a new activity which enables the app to migrate any VM. The important parts are working but some parts of the UI needs refinement before it will be shown to the public. The activity is integrated by added a new menuitem to the VMStatsActivity activity which calls this new activity. As this is a rather large patch I would prefer if I could send it by email so is there some email address I can use?

Re: Proxmox Android client - UPDATE: Version BETA released

Reference views:
Click the program pop-up an interface to remind the user to set the server address and save.
The user name and password to have option to choose whether to remember.
Because the default remember the first landing on the information security risks.
Node list In addition to showing the number of nodes should be the total number of display vm.
VM details of the increased traffic and map information button, click the button can be asynchronous access proxmox ve flow diagram png image.Without real time traffic updates.My poor English, do not know if you can understand.
Finally thank you for your dedication,

A suggestion: The auth activity gives you the possibility of entering one login to a specific node. Given that a cluster can have many nodes and given the fact that the specific node for which you have entered your credentials could be down then this will require a new set of credentials. Since a VM (kvm-qemu) given it uses shared storage can be migrated to any other running node from any node, even if this node is down, it could be nice if the application can store more than one set of credentials and ask the user which credentials to use when logging on. Also changing the credentials at any given time could be nice.