cloudstack/docs/it-IT/management-server-install-d...

347 lines
8.4 KiB
Plaintext

#Licensed to the Apache Software Foundation (ASF) under one
#or more contributor license agreements. See the NOTICE file
#distributed with this work for additional information
#regarding copyright ownership. The ASF licenses this file
#to you under the Apache License, Version 2.0 (the
#"License"); you may not use this file except in compliance
#with the License. You may obtain a copy of the License at
#http://www.apache.org/licenses/LICENSE-2.0
#Unless required by applicable law or agreed to in writing,
#software distributed under the License is distributed on an
#"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
#KIND, either express or implied. See the License for the
#specific language governing permissions and limitations
#under the License.
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: Apache CloudStack Docs\n"
"POT-Creation-Date: 2013-03-19T13:38:04\n"
"PO-Revision-Date: 2013-03-19 14:18+0000\n"
"Last-Translator: sebgoa <runseb@gmail.com>\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: it_IT\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. Tag: title
#, no-c-format
msgid "Install the Database on the Management Server Node"
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"This section describes how to install MySQL on the same machine with the "
"Management Server. This technique is intended for a simple deployment that "
"has a single Management Server node. If you have a multi-node Management "
"Server deployment, you will typically use a separate node for MySQL. See "
"<xref linkend=\"management-server-install-db-external\" />."
msgstr ""
#. Tag: para
#, no-c-format
msgid "Install MySQL from the package repository of your distribution:"
msgstr ""
#. Tag: para
#, no-c-format
msgid "On RHEL or CentOS:"
msgstr "Su RHEL o CentOS:"
#. Tag: programlisting
#, no-c-format
msgid "yum install mysql-server"
msgstr ""
#. Tag: para
#, no-c-format
msgid "On Ubuntu:"
msgstr "Su Ubuntu:"
#. Tag: programlisting
#, no-c-format
msgid "apt-get install mysql-server"
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"Open the MySQL configuration file. The configuration file is "
"<filename>/etc/my.cnf</filename> or <filename>/etc/mysql/my.cnf</filename>, "
"depending on your OS."
msgstr ""
#. Tag: para
#, no-c-format
msgid "Insert the following lines in the [mysqld] section."
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"You can put these lines below the datadir line. The max_connections "
"parameter should be set to 350 multiplied by the number of Management "
"Servers you are deploying. This example assumes one Management Server."
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"On Ubuntu, you can also create a file "
"<filename>/etc/mysql/conf.d/cloudstack.cnf</filename> and add these "
"directives there. Don't forget to add [mysqld] on the first line of the "
"file."
msgstr ""
#. Tag: programlisting
#, no-c-format
msgid ""
"innodb_rollback_on_timeout=1\n"
"innodb_lock_wait_timeout=600\n"
"max_connections=350\n"
"log-bin=mysql-bin\n"
"binlog-format = 'ROW'"
msgstr ""
#. Tag: para
#, no-c-format
msgid "Start or restart MySQL to put the new configuration into effect."
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"On RHEL/CentOS, MySQL doesn't automatically start after installation. Start "
"it manually."
msgstr ""
#. Tag: programlisting
#, no-c-format
msgid "service mysqld start"
msgstr ""
#. Tag: para
#, no-c-format
msgid "On Ubuntu, restart MySQL."
msgstr ""
#. Tag: programlisting
#, no-c-format
msgid "service mysqld restart"
msgstr ""
#. Tag: para
#, no-c-format
msgid "(CentOS and RHEL only; not required on Ubuntu)"
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"On RHEL and CentOS, MySQL does not set a root password by default. It is "
"very strongly recommended that you set a root password as a security "
"precaution."
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"Run the following command to secure your installation. You can answer \"Y\" "
"to all questions."
msgstr ""
#. Tag: programlisting
#, no-c-format
msgid "mysql_secure_installation"
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"&PRODUCT; can be blocked by security mechanisms, such as SELinux. Disable "
"SELinux to ensure + that the Agent has all the required permissions."
msgstr ""
#. Tag: para
#, no-c-format
msgid "Configure SELinux (RHEL and CentOS):"
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"Check whether SELinux is installed on your machine. If not, you can skip "
"this section."
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"In RHEL or CentOS, SELinux is installed and enabled by default. You can "
"verify this with:"
msgstr ""
#. Tag: programlisting
#, no-c-format
msgid "<command>$ rpm -qa | grep selinux</command>"
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"Set the SELINUX variable in <filename>/etc/selinux/config</filename> to "
"\"permissive\". This ensures that the permissive setting will be maintained "
"after a system reboot."
msgstr ""
#. Tag: para
#, no-c-format
msgid "In RHEL or CentOS:"
msgstr "In RHEL o CentOS:"
#. Tag: programlisting
#, no-c-format
msgid "vi /etc/selinux/config"
msgstr ""
#. Tag: para
#, no-c-format
msgid "Change the following line"
msgstr ""
#. Tag: programlisting
#, no-c-format
msgid "SELINUX=enforcing"
msgstr ""
#. Tag: para
#, no-c-format
msgid "to this:"
msgstr ""
#. Tag: programlisting
#, no-c-format
msgid "SELINUX=permissive"
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"Set SELinux to permissive starting immediately, without requiring a system "
"reboot."
msgstr ""
#. Tag: programlisting
#, no-c-format
msgid "<command>$ setenforce permissive</command>"
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"Set up the database. The following command creates the \"cloud\" user on the"
" database."
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"In dbpassword, specify the password to be assigned to the \"cloud\" user. "
"You can choose to provide no password although that is not recommended."
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"In deploy-as, specify the username and password of the user deploying the "
"database. In the following command, it is assumed the root user is deploying"
" the database and creating the \"cloud\" user."
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"(Optional) For encryption_type, use file or web to indicate the technique "
"used to pass in the database encryption password. Default: file. See <xref "
"linkend=\"about-password-encryption\" />."
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"(Optional) For management_server_key, substitute the default key that is "
"used to encrypt confidential parameters in the &PRODUCT; properties file. "
"Default: password. It is highly recommended that you replace this with a "
"more secure value. See <xref linkend=\"about-password-encryption\" />."
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"(Optional) For database_key, substitute the default key that is used to "
"encrypt confidential parameters in the &PRODUCT; database. Default: "
"password. It is highly recommended that you replace this with a more secure "
"value. See <xref linkend=\"about-password-encryption\" />."
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"(Optional) For management_server_ip, you may explicitly specify cluster "
"management server node IP. If not specified, the local IP address will be "
"used."
msgstr ""
#. Tag: programlisting
#, no-c-format
msgid ""
"cloud-setup-databases cloud:&lt;dbpassword&gt;@localhost \\\n"
"--deploy-as=root:&lt;password&gt; \\\n"
"-e &lt;encryption_type&gt; \\\n"
"-m &lt;management_server_key&gt; \\\n"
"-k &lt;database_key&gt; \\\n"
"-i &lt;management_server_ip&gt;"
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"When this script is finished, you should see a message like “Successfully "
"initialized the database.”"
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"If you are running the KVM hypervisor on the same machine with the "
"Management Server, edit /etc/sudoers and add the following line:"
msgstr ""
#. Tag: programlisting
#, no-c-format
msgid "Defaults:cloud !requiretty"
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"Now that the database is set up, you can finish configuring the OS for the "
"Management Server. This command will set up iptables, sudoers, and start the"
" Management Server."
msgstr ""
#. Tag: programlisting
#, no-c-format
msgid "<prompt>#</prompt> cloud-setup-management"
msgstr ""
#. Tag: para
#, no-c-format
msgid ""
"You should see the message “&PRODUCT; Management Server setup is done.”"
msgstr ""