Red Hat NETWORK 3.6 - Manual de usuario Pagina 20

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 51
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 19
Step 7: Add a manual host entry to the /etc/hosts file (on the Red Hat Enterprise Linux host) for the
RHEV-M server to enable vdsm and other services to connect properly to the host (if not
using DNS services).
10.0.0.1 server1.example.com rhev-manager.server1.example.com
For example:
172.30.40.147 host2-1.lab.mtl.com rhev-manager.host2-1.lab.mtl.com
Step 8: Open firewall ports.
The following commands will remove existing firewall rules and add the required ports by
RHEV-M to the iptables rules.
[root@host3]# iptables --flush
[root@host3]# iptables --append INPUT -m state --state ESTABLISHED,RELATED
-j ACCEPT
[root@host3]# iptables --append INPUT -p icmp -j ACCEPT
[root@host3]# iptables --append INPUT -i lo -j ACCEPT
[root@host3]# iptables --append INPUT -p tcp --dport 22 -j ACCEPT
[root@host3]# iptables --append INPUT -p tcp --dport 16514 -j ACCEPT
[root@host3]# iptables --append INPUT -p tcp --dport 54321 -j ACCEPT
[root@host3]# iptables --append INPUT -p tcp -m multiport --dports 5634:6166
-j ACCEPT
[root@host3]# iptables --append INPUT -p tcp -m multiport --dports
49152:49216 -j ACCEPT
[root@host3]# iptables --append INPUT -j REJECT --reject-with icmp-host-
prohibited
[root@host3]# iptables --append FORWARD -m physdev ! --physdev-is-bridged -j
REJECT --reject-with icmp-host-prohibited
[root@host3]# /etc/init.d/iptables save
[root@host3]# chkconfig iptables on
[root@host3]# service iptables restart
Step 9: RHEV-M makes use of sudo to perform operations as root on the host. The default
configuration stored in /etc/sudoers contains values to allow this. To configure sudo access,
add the following entry to /etc/sudoers.
root ALL=(ALL) ALL
Step 10: Enable SSH access for root user. Add the following entry in /etc/ssh/sshd_config.
[email protected] 13 www.redhat.com
Vista de pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 50 51

Comentarios a estos manuales

Sin comentarios