Giter Club home page Giter Club logo

cmt's People

Contributors

marcosnils avatar xetorthio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cmt's Issues

Version RUNC CRIU

Could you please tell me which runc and criu version you guys used for your demo? Also the docker version.

Add support for Pre/Post migrate hooks

The migration flow would be as follows:

  • Validations (CPU / Memory / CRIU/RUNC versions, etc, IP, file transfer)

  • Checkpoint

  • Copy files

    (restore-before) >> Cambiar la ruta de AWS

  • Restore
    (restore-fail) >> if restore fails
    (restore-success) >> cleanup

Leave process stopped when migrating

Leaving process stopped in the source host makes easier to recover in case restore fails in the target host. As to resume it rollback hooks (#2) need to be executed and process resumed.

cmt error: command not found

Hi
Following usage instructions from https://github.com/marcosnils/cmt didn't work as expected. Currently i have installed runc and criu but cmt commands are not accepted. Can anyone help me in this issue. Thanks

Command History:

go get github.com/marcosnils/cmt
netcom1@cloudlet1:/cmt$ ls
bin pkg src test
netcom1@cloudlet1:
/cmt/src/github.com/marcosnils/cmt$ ls
cmd cmt.go iptables LICENSE magic_migrator.sh migrate README.md validate

netcom1@cloudlet1:~/cmt/src/github.com/marcosnils/cmt$ cmt --help
No command 'cmt' found, but there are 18 similar ones
cmt: command not found

ssh: must specify HostKeyCallback in dst

RUNC

[root@node02 mycontainer]# runc --version
runc version 1.0.0-rc4+dev
commit: e6516b3d5dc780cb57a976013c242a9a93052543
spec: 1.0.0

GO
go version go1.9.2 linux/amd64

OS

[root@node02 mycontainer]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)

CMT
[root@node02 mycontainer]# $GOBIN/cmt --version
cmt version 0.1

Passwordless ssh

[root@node02 mycontainer]#
[root@node02 mycontainer]# ssh node01
Last login: Thu Jan 18 17:55:53 2018 from node02
[root@node01 ~]# exit
logout
Connection to node01 closed.

SSH agent
Followed this website for ssh agent
http://sshkeychain.sourceforge.net/mirrors/SSH-with-Keys-HOWTO/SSH-with-Keys-HOWTO-6.html

Error
[root@node01 mycontainer]# $GOBIN/cmt migrate --src pwd --dst root@node02:/root/mycontainer
2018/01/18 18:09:18 Performing validations
2018/01/18 18:09:18 Connection error: ssh: must specify HostKeyCallback in dst
[root@node01 mycontainer]#

[root@node01 mycontainer]# $GOBIN/cmt validate --src pwd --dst root@node02
2018/01/18 18:10:59 Connection error: ssh: must specify HostKeyCallback in dst

Could you please help me fix this?

Error in installing

go get github.com/marcosnils/cmt
# golang.org/x/crypto/ssh
/usr/local/go/src/golang.org/x/crypto/ssh/buffer.go:8: import /usr/local/go/pkg/linux_amd64/io.a: not a package file

Allow to specify an identity file

As today only SSH agent authentication is supported. It'd be nice to allow to specify an identity file to perform remote executions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.