OpenVZ Forum


Home » General » Support » CentOS 6? (somebody had to ask ...)
CentOS 6? [message #43051] Mon, 11 July 2011 16:43 Go to next message
openmin is currently offline  openmin
Messages: 11
Registered: December 2010
Junior Member
The title says it all Smile
Re: CentOS 6? [message #43052 is a reply to message #43051] Mon, 11 July 2011 19:17 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Your title has a question mark which I don't quite understand...

BTW, Scientfic Linux 6 has been released for quite some time and 6.1 will be out soon.

Your needs might be different, but we find SL a completely worthy RHEL replacement for our hardware nodes. Haven't tested the VMs enough to make an opinion yet, but I suppose it's the same.

The thing is, I have seen various posts on CentOS devel from various developers, that make me question the future of CentOS and their attitude in relation to the community.

The release itself has been working fine for us but the lack of 5.5-5.6 updates and those posts make me consider switching entirely to SL.
Re: CentOS 6? [message #43053 is a reply to message #43052] Mon, 11 July 2011 19:46 Go to previous messageGo to next message
openmin is currently offline  openmin
Messages: 11
Registered: December 2010
Junior Member
Sorry, I should have mentioned my question explicitly.

Where are the installation instructions for Centos 6.0?

wiki.openvz.org/Quick_installation doesn't seem to work on CentOS 6.0. Probably because it is not supported yet?


PS
SL is nice if you have dedicated. Unfortunately none of the VPS hosting provides offer SL. Centos seems to be the standard.
Re: CentOS 6? [message #43059 is a reply to message #43053] Tue, 12 July 2011 17:31 Go to previous messageGo to next message
Darthfrog is currently offline  Darthfrog
Messages: 1
Registered: July 2011
Location: Burnaby, BC
Junior Member
I tried to create a template for CentOS 6 following the wiki instructions for CentOS 5. It didn't work. Whenever I tried to enter the CentOS 6 container, I got "Unable to open pty: No such file or directory", even after all the suggestions for disabling udev in /etc/sysconfig (in the container) and running MAKEDEV or mknod.

However, this worked: "vzctl exec 101 mount -t devpts /dev/ptmx /dev/pts". After that I can enter the container. However, that's the only way it works: putting the mount command in /etc/rc.local or in fstab doesn't work.

Ah well, I guess I'll wait until someone who actually knows what they're doing Smile makes a CentOS 6 template available.

--
Cheers,
Rob
Re: CentOS 6? [message #43063 is a reply to message #43053] Wed, 13 July 2011 07:01 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
openmin wrote on Mon, 11 July 2011 15:46
Sorry, I should have mentioned my question explicitly.

Where are the installation instructions for Centos 6.0?

wiki.openvz.org/Quick_installation doesn't seem to work on CentOS 6.0. Probably because it is not supported yet?


PS
SL is nice if you have dedicated. Unfortunately none of the VPS hosting provides offer SL. Centos seems to be the standard.


Where does the installation fail, what are the errors?

I guess the problem might be that openvz.repo has RHEL 5 kernel enabled by default? You'll need to disable that and enable RHEL 6 testing repo. Apart from that, I see no reason why the installation shouldn't work.
Re: CentOS 6? [message #43064 is a reply to message #43059] Wed, 13 July 2011 07:06 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Darthfrog wrote on Tue, 12 July 2011 13:31
...(cut)...
Ah well, I guess I'll wait until someone who actually knows what they're doing Smile makes a CentOS 6 template available.

--
Cheers,
Rob

I guess it won't take long. In the meanwhile, I suggest using Scientific Linux 6 template, which is available as an official openvz template (currently in beta).

It might also provide some insight into debugging your CentOS 6 template, since it's basically the same OS.
Re: CentOS 6? [message #43065 is a reply to message #43064] Wed, 13 July 2011 18:24 Go to previous messageGo to next message
openmin is currently offline  openmin
Messages: 11
Registered: December 2010
Junior Member
Ok, with a few tweaks the installation instructions work.

I guess I have to wait for the precreated template as well. The SL template doesn't help much unfortunately, because the installer of some software packages I want to install doesn't support SL (for example Virtualmin)

Re: CentOS 6? [message #43132 is a reply to message #43063] Tue, 26 July 2011 21:48 Go to previous messageGo to next message
kkwin is currently offline  kkwin
Messages: 2
Registered: July 2011
Junior Member
I managed to create the template from CentOS installed server but I have another problem:

Generally the VPS is not accessible from outside before i vzctl enter to the container and do service network restart. ifconfig return no results before i do that. Once restarted the network in container, everything work fine.

However, the condition back to unaccessible after rebooted the server.

any idea?
Re: CentOS 6? [message #43136 is a reply to message #43051] Thu, 28 July 2011 14:05 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Are you using NetworkManager by any chance (check right after VM reboot)...:

chkconfig --list NetworkManager

service NetworkManager status


If not, the next most obvious thing to check is whether network is even set to start at boot:

chkconfig --list network

[Updated on: Thu, 28 July 2011 15:16]

Report message to a moderator

Re: CentOS 6? [message #43140 is a reply to message #43136] Thu, 28 July 2011 16:14 Go to previous messageGo to next message
kkwin is currently offline  kkwin
Messages: 2
Registered: July 2011
Junior Member
This is the output:

[root@test /]# chkconfig --list NetworkManager
error reading information on service NetworkManager: No such file or directory
[root@test /]# service NetworkManager status
NetworkManager: unrecognized service
[root@test /]# chkconfig --list network
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off

I had tried to put boot scripts to try to bring up the interface, but no luck as well.
Re: CentOS 6? [message #43143 is a reply to message #43051] Thu, 28 July 2011 18:33 Go to previous messageGo to next message
kylebofh is currently offline  kylebofh
Messages: 1
Registered: July 2011
Location: Spain
Junior Member
Falko Timme have published a manual on howtoforge site: hxxp://www.howtoforge.com/installing-and-using-openvz-on-cen tos-6.0
Re: CentOS 6? [message #43149 is a reply to message #43051] Fri, 29 July 2011 15:53 Go to previous messageGo to next message
mustardman is currently offline  mustardman
Messages: 91
Registered: October 2009
Member
Try these instructions for creating CentOS 6 template. Worked for me creating SL 6 template.
http://www.powerpbx.org/content/rhel-openvz-template-install -guide
Re: CentOS 6? [message #43262 is a reply to message #43051] Tue, 16 August 2011 08:24 Go to previous messageGo to next message
vzNUb is currently offline  vzNUb
Messages: 1
Registered: August 2011
Junior Member
What seem to be the problem when I do vzdump on Centos6?

/usr/sbin/vzdump: line 151: unexpected EOF while looking for matching `''
/usr/sbin/vzdump: line 370: syntax error: unexpected end of file
Re: CentOS 6? [message #43276 is a reply to message #43051] Wed, 17 August 2011 00:19 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
I'd suggest opening a new thread if you want people to see this.
Re: CentOS 6? [message #43277 is a reply to message #43051] Wed, 17 August 2011 00:33 Go to previous message
openmin is currently offline  openmin
Messages: 11
Registered: December 2010
Junior Member
I don't think vzdump works very well on CentOS 6. The creators test it only for Debian. Here an example:

http: //forum.proxmox.com/threads/6857-vzdump-snapshot-works-but-suspend-fails

If you are able to shutdown the container for a minute you could also do an easy LVM snapshot. Which is probably better, since vzdump backups are not 100% safe anyway.

See also post #11

http: //forum.proxmox.com/threads/1946-Active-Standby-with-rsync?p=33952#post33952



(sorry can not post links yet)

[Updated on: Wed, 17 August 2011 00:35]

Report message to a moderator

Previous Topic: Help with 64bit installation
Next Topic: How to make custom os template ???
Goto Forum:
  


Current Time: Mon Jul 15 23:34:04 GMT 2024

Total time taken to generate the page: 0.02549 seconds