2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 01:56:39 +00:00
chenglch f09939a15a Add xcat marker in gocnoserver configuration file
Previously, it is impossible to know if the goconerver is started
by xcat. This patch add a marker in /etc/goconserver/server.conf
to help check the status. In addition, use server-cred.pem instead
of server-key.pem as it is not exist on SN.

This patch also control the service status of goconserver and conserver
when restarting the xcatd service on service node.

```
[root@sn02 ~]# chdef sn02 setupconserver=1
1 object definitions have been created or modified.
[root@sn02 ~]# service xcatd restart
Restarting xcatd (via systemctl):                          [  OK  ]
[root@sn02 ~]# ps -ef | grep conserver
root      27679      1  0 02:26 ?        00:00:00 /usr/sbin/conserver -o -O1 -d
root      27680  27679  0 02:26 ?        00:00:00 /usr/sbin/conserver -o -O1 -d
root      27756  26188  0 02:26 pts/1    00:00:00 grep --color=auto conserver
[root@sn02 ~]# chdef sn02 setupconserver=2
1 object definitions have been created or modified.
[root@sn02 ~]# service xcatd restart
Restarting xcatd (via systemctl):                          [  OK  ]
[root@sn02 ~]#
[root@sn02 ~]#
[root@sn02 ~]#
[root@sn02 ~]# ps -ef | grep conserver
root      27885      1  0 02:26 ?        00:00:00 /usr/bin/goconserver
root      27986  26188  0 02:33 pts/1    00:00:00 grep --color=auto conserver
```
2017-12-28 16:46:47 +08:00
2017-12-15 19:26:19 +08:00
2017-12-15 19:26:19 +08:00
2017-03-14 11:27:56 -04:00

xCAT
----

xCAT is a toolkit for the deployment and administration of clusters.

Documentation
-------------

xCAT documentation is available at: http://xcat-docs.readthedocs.io/en/latest/

|docs_latest| |docs_2138| |docs_2137| |docs_2136| |docs_2135| |docs_2134| |docs_2133| |docs_2132| |docs_2131| |docs_2130| |docs_212|

Open Source License
-------------------

xCAT is made available as open source software under the EPL license:
http://www.opensource.org/licenses/eclipse-1.0.php

Developers
----------

Developers and prospective contributors are encouraged to read the `Developers Guide <http://xcat-docs.readthedocs.io/en/latest/developers/>`_
In particular the `GitHub <http://xcat-docs.readthedocs.io/en/latest/developers/github/>`_ related subsection.

.. |docs_2138| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.8
    :alt: 2.13.8 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.8/

.. |docs_2137| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.7
    :alt: 2.13.7 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.7/
    
.. |docs_2136| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.6
    :alt: 2.13.6 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.6/

.. |docs_2135| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.5
    :alt: 2.13.5 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.5/

.. |docs_2134| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.4
    :alt: 2.13.4 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.4/

.. |docs_2133| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.3
    :alt: 2.13.3 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.3/
    
.. |docs_2132| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.2
    :alt: 2.13.2 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.2/

.. |docs_2131| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.1
    :alt: 2.13.1 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.1/

.. |docs_2130| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.0
    :alt: 2.13.0 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.0/
    
.. |docs_212| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.12
    :alt: 2.12 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.12/
        
.. |docs_211| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.11
    :alt: 2.11 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.11/
    
.. |docs_latest| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=latest
    :alt: Latest documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/latest/
Description
No description provided
Readme EPL-1.0 230 MiB
Languages
Perl 78.5%
Shell 11.4%
JavaScript 7.1%
Python 1.8%
PHP 0.4%
Other 0.4%