![]() ![]() The Archipel client is written entirely in Javascript. If you do not have the xmlrpc module installed, the 8th test will continue to fail. $ ejabberdctl verify the correct operation, you can perform an advanced test:Īrchipel-testxmppserver -password=YOURPASSWORD If the launch was successful, our agent will be added to the list of connected jabber users: If the launch failed, you can start the agent manually using the command runarchipel, so errors will be visible.Īgent logs are stored in a file. Now you need to check the file /etc/archipel/nf, especially pay attention to the line xmpp_server, it should match your FQDN. ![]() Here admin and YOURPASSWORD need to be replaced with your data that was entered when creating the administrator account. Modern distribution with support for KVMĪptitude install python-libvirt libvirt-bin libvirt0 python-imaging python-numpy qemu-utils python-pip qemu-kvm python-sqlalchemy-extĪrchipel-tagnode -password=YOURPASSWORD -createĪrchipel-rolesnode -password=YOURPASSWORD -createĪrchipel-adminaccounts -password=YOURPASSWORD -create.The operation of the Archipel agent is meaningless without the virtualization tools and hypervisor that it will manage. We are done configuring ejabberd and now we are ready to install Archipel agent $ ejabberdctl register admin yourpassword The node is started with status: startedĬreate an administrator account (preferably use admin name): You can check the health using ejabberdctl: In this case, you need to clear the / var / lib / ejabberd / directory and restart the ejabbed service. There is also an error when changing hostname after the first start of ejabberd. If ejabberd does not start, check for the beam process in the list of running processes. Openssl rsa -in /etc/ejabberd/privkey.pem -out /etc/ejabberd/privkey.pemĬat /etc/ejabberd/privkey.pem > /etc/ejabberd/ejabberd.pem Openssl req -new -x509 -newkey rsa:1024 -days 3650 -keyout /etc/ejabberd/privkey.pem -out /etc/ejabberd/ejabberd.pem Be sure to include your FQDN in the Common Name request. Sed –i 's/FQDN//' /etc/ejabberd/ejabberd.cfgĬreate a new self-signed certificate for ejabberd. In the ejabberd.cfg file, change all the FQDN entries to your server address % timeout value for the BOSH, usefull for a large number of VM %% If you have compiled the ejabberd-xmlrpc, uncomment the following line %% loglevel: Verbosity of log files generated by ejabberd. The ejabberd.cfg file itself is reduced to the following form: Mv /etc/ejabberd/ejabberd.cfg /etc/ejabberd/ Save a copy of the ejabberd configuration file Make sure that the server is accessible at the specified address from the server and your computer. When installing, be sure to replace this address with the address of your server.Įcho > /etc/hostnameĪlso, do not forget to change / etc / hosts according to your address. To avoid further rakes, it is highly advisable to install it before configuring ejabberd and match the hostname.įor an example we will use FQDN. To work, you need to have the correct FQDN (fully qualified domain name). The mod_admin_extra module is already included in the package, so you do not need to install it separately.īy default, in debian / Ubuntu, ejabberd settings are tuned for a simple “chat server”, and they are not quite suitable for our tasks where a full-fledged XMPP server is required. We need to install ejabberd version no lower than 2.1.6 with the mod_admin_extra and ejabberd_xmlrpc modules enabled (optional). In more serious projects, all this can be spread across different servers. We will install Archipel in a single-server version on Ubuntu 12.04 LTS, in our case ejabberd, nginx and virtual machines will be located on the same server. ![]() $ easy_install archipel-agent & archipel-initinstallīut in order for everything to work, you need to make some preliminary settings.Īrchipel requires an installed and running XMPP server (ejabberd) and any web server for hosting Archipel Agent (UI). More information can be found on the project website.Īrchipel is a very simple application, just install Archipel allows you to conveniently manage both multiple virtual machines on one server, and hundreds of virtual machines located on dozens of servers in different data centers.Īrchipel uses XMPP as an exchange system between its subsystems. I want to share a convenient way to create and manage virtual machines in graphical mode for OS Linux.Īrchipel is a scalable solution for managing virtual machines and hypervisors using a graphical interface.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |