Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a cent os 6.4 with a webserver and mysql on it, it's a web guie for customer management.
now this server is on a vm on a server that must be replaced.
I want to copy this to another server is this possible ?
1. I dont have the posibility to copy vm image.
2. I dont know all services etc.. on this server so I'm afraid if I just install LAMP on another server and copy the db it might not work, because i didnot install this system it was made by previous admin.
3. I have root acces to it
4. I have another empty vm where I can make same hardware config.
5. I dont have phisical acces to this server, and also no phisical acces to the new. only ssh with root rights.
so the question is, is it possible to somehow copy this server to another one ?
If that was my task, i'd insist that the VM-admin migrate it, clone it, or export an OVA, then re-establish it on the new server. That's part of the VM-Admin's job.
If that was my task, i'd insist that the VM-admin migrate it, clone it, or export an OVA, then re-establish it on the new server. That's part of the VM-Admin's job.
I'm the VM admin of the new server, it's VMware EsXi, the Old server is Proxmox. so as far as I know there is no easy or 100% way of doing that,
I have searched over the internet and didnot find anybody who could make a vm image from proxmox to vmware. from vmware to proxmox yes, but not another way around.
so thats why I'm looking to see if there is a way of just make some kind of copy of the server.
i see. that will be a hell of a task. i personally do not know of a direct copy solution, i'm sure some gurus around here could maybe inform you on some kind of dd copying or maybe you could just do some kind of duplicity or other backup / restore. if you end up having to recreate the OS, then maybe you could start with some of these tips:
list package groups (will list installed and available groups seperately):
Code:
yum grouplist
list all individual installed packages
Code:
yum list installed
chkconfig to show services startup-config:
Code:
sudo yum -y install chkconfig
chkconfig
show services current status:
Code:
service --status-all
you'll probably need to find all your config & data files and their respective chmod & chown rights.
is it KVM? if so, this looks pretty ugly but may lead you along. (vbox & vmware both can use vmdk/ovf) http://virtuallyhyper.com/2013/06/mi...to-virtualbox/
OOH OOH, an epiphany just went off in my head!!!! Use "VmWare converter" to do a live migration into the new VMWare environment!!!!! just tell VmWare converter that it's a physical machine, it won't know the difference
i see. that will be a hell of a task. i personally do not know of a direct copy solution, i'm sure some gurus around here could maybe inform you on some kind of dd copying or maybe you could just do some kind of duplicity or other backup / restore. if you end up having to recreate the OS, then maybe you could start with some of these tips:
list package groups (will list installed and available groups seperately):
Code:
yum grouplist
list all individual installed packages
Code:
yum list installed
chkconfig to show services startup-config:
Code:
sudo yum -y install chkconfig
chkconfig
show services current status:
Code:
service --status-all
you'll probably need to find all your config & data files and their respective chmod & chown rights.
this one is very interesting, I just found few other commands as wel, a friend told me that I could try this with NC netcat... I'm looking to it now, if that wont work then this solution is the only one I gues...
is it KVM? if so, this looks pretty ugly but may lead you along. (vbox & vmware both can use vmdk/ovf) http://virtuallyhyper.com/2013/06/mi...to-virtualbox/
OOH OOH, an epiphany just went off in my head!!!! Use "VmWare converter" to do a live migration into the new VMWare environment!!!!! just tell VmWare converter that it's a physical machine, it won't know the difference
I dont have acces to the old Proxmox server as admin, there was a problem with that so that's why that server has to go, we have acces to all machines, but not to server manager gui. so I cannot get the vm images from it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.