Thanks, I'll take a try.

Thanks
Best Regards
----------------------------------------------------------------------
 Wang Xiaopeng (王晓朋)
 IBM China System Technology Laboratory
 Tel: 86-10-82453455
 Email: w...@cn.ibm.com
 Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193



From:   Hans Then <hans.t...@clustervision.com>
To:     xcat-user@lists.sourceforge.net
Date:   2015/01/16 18:05
Subject:        Re: [xcat-user] xCAT-user Digest, Vol 65, Issue 9



>>   And yes, xCAT will support the dockerized xCAT. Could you send out the
>>   detail of how do you dockerize the xCAT in your scenario?

The work was surprisingly easy. We have a Dockerfile of about 15 lines that
does a a setup of xCAT inside a container. In the initialization we setup a
default table configuration. Directories that contain state are exported as
docker volumes. For process management we use supervisord. For image
generation we inject iso files into the container at start time. Then on
our login node we install the xCAT client package and we are done.

We have tested by running Docker with the guest host's network stack.

The details can be found https://github.com/clustervision/trinity/, notably
in the ha-xcat folder.




On 12 January 2015 at 02:52, <xcat-user-requ...@lists.sourceforge.net>
wrote:
  Send xCAT-user mailing list submissions to
          xcat-user@lists.sourceforge.net

  To subscribe or unsubscribe via the World Wide Web, visit
          https://lists.sourceforge.net/lists/listinfo/xcat-user
  or, via email, send a message with subject or body 'help' to
          xcat-user-requ...@lists.sourceforge.net

  You can reach the person managing the list at
          xcat-user-ow...@lists.sourceforge.net

  When replying, please edit your Subject line so it is more specific
  than "Re: Contents of xCAT-user digest..."


  Today's Topics:

     1. Re: Call for requirement for docker support in xCAT (Hans Then)
     2. Re: Stuck on installation - CentOS 6.6 (Dennis Zheleznyak)
     3. Re: Call for requirement for docker support in xCAT
        (Xiao Peng Wang)


  ----------------------------------------------------------------------

  Message: 1
  Date: Fri, 9 Jan 2015 15:07:43 +0100
  From: Hans Then <hans.t...@clustervision.com>
  Subject: Re: [xcat-user] Call for requirement for docker support in
          xCAT
  To: xcat-user@lists.sourceforge.net
  Message-ID:
          <
  caaagr0651u_vvjs-vez2gtzdhzt8acnepv-gc8btg85y9gk...@mail.gmail.com>
  Content-Type: text/plain; charset="utf-8"

  > > 1. Dockerize xCAT
  > [...]
  > >     Comments from xCAT team that this might NOT be a valid
  requirement:
  > >         1. Customer might want to have a physical and individual
  server
  > >     for xCAT MN;
  > >         2. Use Yum or Zypper to install xCAT is not hard.
  > >         3. Even with xCAT docker, customer still needs to run a lot
  > >     configuration to enable a xCAT MN


  At my company we started work to run an xCAT server from inside docker
  container.  There are still various issues and workarounds (e.g. image
  generation does not work as we want it), but the main functionality of
  node
  discovery and management is functional.

  For us running xCAT inside Docker has several advantages:

  1. Pluggability. We have various management tools for configuration,
  monitoring, starting, stopping and failover that work on generic
  containers.
  2. Productivity. Another is that we install small clusters on a very
  regular basis. The slight time advantage over manual installation is
  actually important to us.
  3. Flexibility. We can use a single xCAT docker image for each customer
  environment we encounter (as long as it supports docker).

  If the xCAT project decides to follow up on this requirement, we are
  willing to contribute or share our efforts so far.

  Hans Then
  Software Architect
  ClusterVision
  -------------- next part --------------
  An HTML attachment was scrubbed...

  ------------------------------

  Message: 2
  Date: Fri, 9 Jan 2015 20:36:15 +0200
  From: Dennis Zheleznyak <den...@eshkol.com.co>
  Subject: Re: [xcat-user] Stuck on installation - CentOS 6.6
  To: Lissa Valletta <lis...@us.ibm.com>,         xCAT Users Mailing list
          <xcat-user@lists.sourceforge.net>
  Message-ID:
          <CAH5iTjF96y3fQEg13LPR37Rpeqjwp1YBj1BGcK_76ZT
  +lwz...@mail.gmail.com>
  Content-Type: text/plain; charset="utf-8"

  The issue is not yet resolved, the installation process is stuck when
  installing xCAT-2.9-snap201412080202.x86_64.
  The only way to stop it is to hit Ctrl + C, once I've done that I got the
  following message:

  ^CError in POSTIN scriptlet in rpm package
  xCAT-2.9-snap201412080202.x86_64
  Generating new node hostkeys...
  Generating SSH1 RSA Key...
  Generating SSH2 RSA Key...
  Generating SSH2 DSA Key...
  Added updates to the /root/.ssh/config file.
  Copied /root/.ssh/id_rsa.pub
  to /install/postscripts/_ssh/authorized_keys.
  error: %post(xCAT-2.9-snap201412080202.x86_64) scriptlet failed, signal 2

  The OS I'm using is CentOS 6.6 with the stock kernel.

  Thank you,
  Dennis.

  On Wed, Nov 19, 2014 at 10:51 PM, Dennis Zheleznyak <den...@eshkol.com.co
  >
  wrote:

  > The installation process stopped at and the only thing that can be done
  is
  > to stop it by ctrl + c, otherwise it'll stay that way forever:
  > Installing : xCAT-2.8.5-snap201409010230.x86_64
  >
  > No errors in any log.
  >
  > I tried to install it as I installed in on CentOS 6.5, same steps and
  same
  > method.
  > Usually I install it on a simple SuperMicro server, however, I try it
  on
  > VirtualBox first(as I did with the previous versions).
  >
  > Thank you,
  > Dennis.
  >
  > Thank you,
  > Dennis.
  >
  > On Wed, Nov 19, 2014 at 1:48 PM, Lissa Valletta <lis...@us.ibm.com>
  wrote:
  >
  >> You are correct we don't support Centos6 until our next release but I
  am
  >> surprised the install failed.
  >>
  >> Did you get an errors on the  yum install xCAT.   Where did it stop an
  >> yum install.   You do not have a properly install xcat unless
  >> yum finishes and xcatd is up and running  and you can use lsxcatd -a
  to
  >> display data.
  >>
  >> Need to go back to the yum install.
  >>
  >> Maybe run yum clean metadata  or yum clean all and then
  >> yum install xCAT again.
  >>
  >>    You will get the below error as long as you can not service xcatd
  >> start successfully.
  >>
  >> What hardware are you using.
  >>
  >>
  >>
  >>
  >> Lissa K. Valletta
  >> 8-3/B10
  >> Poughkeepsie, NY 12601
  >> (tie 293) 433-3102
  >>
  >>
  >>
  >> [image: Inactive hide details for Alex Landsberg ---11/18/2014
  06:14:28
  >> PM---Hi Dennis, Operating systems supported for xCAT 2.8.5]Alex
  >> Landsberg ---11/18/2014 06:14:28 PM---Hi Dennis, Operating systems
  >> supported for xCAT 2.8.5
  >>
  >> From: Alex Landsberg <alex.landsb...@eshkol.com.co>
  >> To: Dennis Zheleznyak <den...@eshkol.com.co>
  >> Cc: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
  >> Date: 11/18/2014 06:14 PM
  >> Subject: Re: [xcat-user] Stuck on installation - CentOS 6.6
  >> ------------------------------
  >>
  >>
  >>
  >>
  >> Hi Dennis,
  >>
  >> Operating systems supported for xCAT 2.8.5
  >>
  >>    - Operating systems verified with this xCAT release:
  >>       - RHELS 6.5
  >>       - RHELS 7.0
  >>       - SLES 11.3
  >>       - Ubuntu 14.04 bug 4214 <
  https://sourceforge.net/p/xcat/bugs/4214>.
  >>       - AIX 7100-03-02
  >>       - AIX 7100-03-03
  >>
  >> Redhat/CentOS 6.6 does not appear on the list.
  >>
  >> Regards,
  >> Alex
  >>
  >> On Tue, Nov 18, 2014 at 5:48 PM, Dennis Zheleznyak <
  >> *den...@eshkol.com.co* <den...@eshkol.com.co>> wrote:
  >>
  >>    Hi,
  >>
  >>    On the latest kernel of CentOS 6.6 (2.6.32-504.1.3.el6.x86_64), the
  >>    installation process is stuck at yum install xCAT. (SELinux and
  Iptables
  >>    are turned off).
  >>
  >>    *Files downloaded:*
  >>    xcat-core-2.8.5.tar.bz2
  >>    xcat-dep-201411140402.tar.bz2
  >>
  >>    *Progress:*
  >>    Installing : xCAT-2.8.5-snap201409010230.x86_64
  >>
  >>    *Steps to reproduce:*
  >>    1. mkdir /install/downloads -p
  >>    2. cd /install/downloads
  >>    3. tar xvf xcat-core-2.8.5.tar.bz2
  >>    4. tar xvf xcat-dep-201411140402.tar.bz2
  >>    5. cd xcat-core && ./mklocalrepo.sh && cd ../xcat-dep/rh6/x86_64/&&
  >>    ./mklocalrepo.sh
  >>    6. yum install xCAT
  >>
  >>    When I hit ctrl+c, i tried to start xcatd service but it could not
  be
  >>    started, in addition, when trying to run any xcat's command, i get
  the
  >>    following error:
  >>    Unable to open socket connection to xcatd daemon on localhost:3001.
  >>       Verify that the xcatd daemon is running and that your SSL setup
  is
  >>       correct.
  >>       Connection failure: IO::Socket::INET: connect: Connection
  refused
  >>       at /opt/xcat/lib/perl/xCAT/Client.pm line 217.
  >>
  >>
  >>    Thank you,
  >>    Dennis.
  >>
  >>
  >>
  >>
  >> --
  >> *Alex Landsberg*
  >> *Eshkol Computer Systems Ltd.*
  >> *+972-54-4825266 <%2B972-54-4825266>*
  >>
  ------------------------------------------------------------------------------

  >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
  >> from Actuate! Instantly Supercharge Your Business Reports and
  Dashboards
  >> with Interactivity, Sharing, Native Excel Exports, App Integration &
  more
  >> Get technology previously reserved for billion-dollar corporations,
  FREE
  >>
  >>
  http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk

  >> _______________________________________________
  >> xCAT-user mailing list
  >> xCAT-user@lists.sourceforge.net
  >> https://lists.sourceforge.net/lists/listinfo/xcat-user
  >>
  >>
  >
  -------------- next part --------------
  An HTML attachment was scrubbed...
  -------------- next part --------------
  A non-text attachment was scrubbed...
  Name: graycol.gif
  Type: image/gif
  Size: 105 bytes
  Desc: not available

  ------------------------------

  Message: 3
  Date: Mon, 12 Jan 2015 09:51:59 +0800
  From: Xiao Peng Wang <w...@cn.ibm.com>
  Subject: Re: [xcat-user] Call for requirement for docker support in
          xCAT
  To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
  Message-ID:
          <
  off9cb8dee.2389eafb-on48257dcb.000a0e43-48257dcb.000a3...@cn.ibm.com>
  Content-Type: text/plain; charset="utf-8"

  Hans,

     Thanks for your information.

     And yes, xCAT will support the dockerized xCAT. Could you send out the
     detail of how do you dockerize the xCAT in your scenario?


  Thanks
  Best Regards
  ----------------------------------------------------------------------
   Wang Xiaopeng (???)
   IBM China System Technology Laboratory
   Tel: 86-10-82453455
   Email: w...@cn.ibm.com
   Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
  Haidian District Beijing P.R.China 100193



  From:   Hans Then <hans.t...@clustervision.com>
  To:     xcat-user@lists.sourceforge.net
  Date:   2015/01/09 22:37
  Subject:        Re: [xcat-user] Call for requirement for docker support
  in xCAT




    > 1. Dockerize xCAT
    [...]
    >? ? ?Comments from xCAT team that this might NOT be a valid
  requirement:
    >? ? ? ? ?1. Customer might want to have a physical and individual
  server
    >? ? ?for xCAT MN;
    >? ? ? ? ?2. Use Yum or Zypper to install xCAT is not hard.
    >? ? ? ? ?3. Even with xCAT docker, customer still needs to run a lot
    >? ? ?configuration to enable a xCAT MN

  At my company we started work to run an xCAT server from inside docker
  container.? There are still various issues and workarounds (e.g. image
  generation does not work as we want it), but the main functionality of
  node
  discovery and management is functional.

  For us running xCAT inside Docker has several advantages:

  1. Pluggability. We have various management tools for configuration,
  monitoring, starting, stopping and failover that work on generic
  containers.
  2. Productivity. Another is that we install small clusters on a very
  regular basis. The slight time advantage over manual installation is
  actually important to us.
  3. Flexibility. We can use a single xCAT docker image for each customer
  environment we encounter (as long as it supports docker).

  If the xCAT project decides to follow up on this requirement, we are
  willing to contribute or share our efforts so far.

  Hans Then
  Software Architect
  ClusterVision
  ------------------------------------------------------------------------------


  Dive into the World of Parallel Programming! The Go Parallel Website,
  sponsored by Intel and developed in partnership with Slashdot Media, is
  your
  hub for all things parallel software development, from weekly thought
  leadership blogs to news, videos, case studies, tutorials and more. Take
  a
  look and join the conversation now. http://goparallel.sourceforge.net
  _______________________________________________
  xCAT-user mailing list
  xCAT-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/xcat-user
  -------------- next part --------------
  An HTML attachment was scrubbed...
  -------------- next part --------------
  A non-text attachment was scrubbed...
  Name: graycol.gif
  Type: image/gif
  Size: 105 bytes
  Desc: not available

  ------------------------------

  ------------------------------------------------------------------------------

  New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
  GigeNET is offering a free month of service with a new server in Ashburn.
  Choose from 2 high performing configs, both with 100TB of bandwidth.
  Higher redundancy.Lower latency.Increased capacity.Completely compliant.
  vanity: www.gigenet.com

  ------------------------------

  _______________________________________________
  xCAT-user mailing list
  xCAT-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/xcat-user


  End of xCAT-user Digest, Vol 65, Issue 9
  ****************************************
------------------------------------------------------------------------------

New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to