<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi hailong<br>
    <br>
    If possible, using ssh in container to log in your host,<br>
    and then run crm shell to get your job done.<br>
    Crm shell is designed to run on HA stack, <br>
    I don't think it's a good idea to separate crm from HA stack.<br>
    <br>
    Thanks,<br>
    Larry Chen<br>
    <br>
    <div class="moz-cite-prefix">On 11/7/2017 5:35 PM,
      <a class="moz-txt-link-abbreviated" href="mailto:he.hailong5@zte.com.cn">he.hailong5@zte.com.cn</a> wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:201711071735218415492@zte.com.cn">
      <div class="zcontentRow">
        <p style="font-size:14px;font-family:arial;">Can you elaborate
          it a little bit?</p>
        <p style="font-size:14px;font-family:arial;">Are you suggesting
          install the crm in the container? I understand the crm is just
          a client tool, how to connect to the server running on the
          host?</p>
        <div>
          <div class="zhistoryRow" style="display:block">
            <div class="zhistoryDes" style="width: 100%; height: 28px;
              line-height: 28px; background-color: #E0E5E9; color:
              #1388FF; text-align: center;"
              language-data="HistoryOrgTxt">原始邮件</div>
            <div id="zwriteHistoryContainer">
              <div class="zhistoryCurrentContent">
                <div class="control-group zhistoryPanel">
                  <div class="zhistoryHeader" style="padding: 8px;
                    background-color: #F5F6F8;">
                    <div><strong language-data="HistorySenderTxt">发件人:</strong><span
                        class="zreadUserName"> <a class="moz-txt-link-rfc2396E" href="mailto:lchen@suse.com"><lchen@suse.com></a>;</span></div>
                    <div><strong language-data="HistoryTOTxt">收件人:</strong><span
                        class="zreadUserName" style="display: inline;">何海龙10164561;</span></div>
                    <div><strong language-data="HistoryDateTxt">日 期 :</strong><span
                        class="">2017年11月07日 17:26</span></div>
                    <div><strong language-data="HistorySubjectTxt">主 题 :</strong><span
                        class="zreadTitle"><strong>Re: [ClusterLabs] are
                          there equivelent restful apis for crm commands</strong></span></div>
                  </div>
                  <p class="zhistoryContent"><br>
                  </p>
                </div>
                <div>
                  <meta http-equiv="Content-Type" content="text/html;
                    charset=utf-8">
                  Hi haillong<br>
                      <br>
                      Unfortunately, there are not restful apis for crm.<br>
                      Using ssh may help you. <br>
                      For further steps, you may use the same underlying
                  libs  as crm     does.<br>
                      <br>
                      Thanks,<br>
                      Larry Chen<br>
                      <br>
                     
                  <div class="moz-cite-prefix">On 11/7/2017 4:06 PM,    
                      <a class="moz-txt-link-abbreviated"
                      href="mailto:he.hailong5@zte.com.cn"
                      target="_blank" moz-do-not-send="true">he.hailong5@zte.com.cn</a>
                    wrote:<br>
                       </div>
                  <blockquote type="cite"
                    cite="mid:201711071606498081565@zte.com.cn">
                    <div class="">
                      <p style="font-size:14px;font-family:arial;">Hi
                        list,</p>
                      <p style="font-size:14px;font-family:arial;"><br>
                               </p>
                      <p style="font-size:14px;font-family:arial;">For
                        some purpose, I           have to acquire some
                        info within the docker container that          
                        usually can be made by executing crm commands on
                        the host.           Importing this tool into the
                        container may involve fixing lots           of
                        dependency issues and you still need to figure
                        out how to           connect to the server from
                        within the container. So I am          
                        wondering if there are already equivelent
                        restful apis I can           facilitate via
                        network tools in the container to achieve this.
                                  Or other good ideas?</p>
                      <p style="font-size:14px;font-family:arial;"><br>
                               </p>
                      <p style="font-size:14px;font-family:arial;">Thanks</p>
                      <p style="font-size:14px;font-family:arial;"><br>
                               </p>
                      <p style="font-size:14px;font-family:arial;"><br>
                               </p>
                      <p style="font-size:14px;font-family:arial;"><br>
                               </p>
                      <p style="font-size:14px;font-family:arial;"><br>
                               </p>
                      <p style="font-size:14px;font-family:arial;"><br>
                               </p>
                      <p style="font-size:14px;font-family:arial;"><br>
                               </p>
                      <p class="zMailSignTitle" unonamech="何海龙10164561"
                        unonameen="hehailong10164561" style="display:
                        none;"><label class="sign_nameUno"></label><span
                          class="sign_arrow"></span></p>
                      <p style="font-family: 宋体; font-size:14px;
                        line-height: normal; widows: 1;"><br>
                                  <br>
                               </p>
                      <span style="line-height: normal; widows: 1;
                        font-size:14px;;color:#58595b;font-size:10px"></span>
                    </div>
                    <br>
                         
                    <fieldset class="mimeAttachmentHeader"></fieldset>
                    <br>
                         
                    <pre wrap="">_______________________________________________ Users mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org" target="_blank" moz-do-not-send="true">Users@clusterlabs.org</a> <a class="moz-txt-link-freetext" href="http://lists.clusterlabs.org/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.clusterlabs.org/mailman/listinfo/users</a>  Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org" target="_blank" moz-do-not-send="true">http://www.clusterlabs.org</a> Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank" moz-do-not-send="true">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a> Bugs: <a class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org" target="_blank" moz-do-not-send="true">http://bugs.clusterlabs.org</a> </pre>
                       </blockquote>
                  <br>
                     </div>
              </div>
            </div>
          </div>
        </div>
        <p><br>
        </p>
      </div>
    </blockquote>
    <br>
  </body>
</html>