Are you ready for the next cool feature? Please welcome CT console.
Available in RHEL6-based kernel since 042stab048.1, this feature is pretty simple to use. Use vzctl attach CTID to attach to this container's console, and you will be able to see all the messages CT init is writing to console, or run getty on it, or anything else.
Please note that the console is persistent, i.e. it is available even if a container is not running. That way, you can run vzctl attach vzctl consoleand then (in another terminal) vzctl start. That also means that if a container is stopped, vzctl attach is still there.
Press Esc . to detach from the console.
The feature (vzctl git commit) will be available in up-coming vzctl-3.0.31. I have just made a nightly build of vzctl (version 3.0.30.2-18.git.a1f523f) available so you can test this. Check http://wiki.openvz.org/Download/vzctl/nightly for information of how to get a nightly build.
Update: the feature is renamed to vzctl console. Update: comments disabled due to spam.
I tried it and was able to migrate a CentOS 7 container... but the Fedora 22 one seems to be stuck in the "started" phase. It creates a /vz/private/{ctid} dir on the destination host (with the same…
The fall semester is just around the corner... so it is impossible for me to break away for a trip to Seattle. I hope one or more of you guys can blog so I can attend vicariously.
Comments
Do you still stand by your opinions above now in 2016?…