no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | en:sysadm-private:clusterciqus [2019/12/16 09:32] (current) – created fernando.guillen | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Cluster CIQUS ====== | ||
+ | === Localización en el CPD === | ||
+ | {{ : | ||
+ | ===== Cluster de Berta ===== | ||
+ | |||
+ | |||
+ | ==== Servidores ==== | ||
+ | |||
+ | ^ Nombre | ||
+ | | dell | 1BS314J | ||
+ | | dell1 | ||
+ | | dell2 | ||
+ | | dell3 | ||
+ | | dell4 | ||
+ | | dell5 | ||
+ | | dell6 | ||
+ | | dell7 | ||
+ | | dell8 | ||
+ | | dell9 | ||
+ | | dell10 | ||
+ | | dell11 | ||
+ | | dell12 | ||
+ | | dell13 | ||
+ | | dell14 | ||
+ | | dell15 | ||
+ | | dell16 | ||
+ | | dell17 | ||
+ | | dell18 | ||
+ | | dell19 | ||
+ | | dell20 | ||
+ | | dell21 | ||
+ | | dell22 | ||
+ | | dell23 | ||
+ | | dell24 | ||
+ | | dell25 | ||
+ | | dell26 | ||
+ | | dell27 | ||
+ | | dell28 | ||
+ | |||
+ | ==== Master ==== | ||
+ | El SO es Scientific Linux SL release 5.2 (Boron). \\ | ||
+ | La ip de acceso externa es la 172.16.247.180 en eth1 (en el CIQUS era la 172.16.249.180) tiene definido IP SNAT 193.144.81.138 (accesible 22/tcp (ssh), para todos). \\ | ||
+ | La red interna del cluster es la 192.168.0.0/ | ||
+ | La red 192.168.1.252 en eth0 debe ser un resto de otro cluster, no se usa para nada aunque hay referencia a un servidor dns en esa red en el resolv.conf. \\ | ||
+ | PARTICIONES: | ||
+ | < | ||
+ | Filesystem | ||
+ | / | ||
+ | / | ||
+ | tmpfs | ||
+ | </ | ||
+ | |||
+ | IPTABLES: | ||
+ | <code bash> | ||
+ | #*nat | ||
+ | #: | ||
+ | #: | ||
+ | #:OUTPUT ACCEPT [45392: | ||
+ | #-A POSTROUTING -s 192.168.0.0/ | ||
+ | # la regla anterior no funcionaba y la cambie por la siguiente | ||
+ | #-A POSTROUTING -j MASQUERADE | ||
+ | |||
+ | #COMMIT | ||
+ | *filter | ||
+ | :INPUT ACCEPT [0:0] | ||
+ | :FORWARD ACCEPT [0:0] | ||
+ | :OUTPUT ACCEPT [0:0] | ||
+ | : | ||
+ | -A INPUT -j RH-Firewall-1-INPUT | ||
+ | #-A FORWARD -j RH-Firewall-1-INPUT | ||
+ | # Red interna | ||
+ | -A RH-Firewall-1-INPUT -s 192.168.0.0/ | ||
+ | # Red BMC | ||
+ | -A RH-Firewall-1-INPUT -s 192.168.1.0/ | ||
+ | # qfqcpc06 | ||
+ | -A RH-Firewall-1-INPUT -s 193.144.87.45 -p tcp --dport 22 -j ACCEPT | ||
+ | # gdrqcluster | ||
+ | -A RH-Firewall-1-INPUT -s 193.144.87.51 -p tcp --dport 22 -j ACCEPT | ||
+ | # gdrqcluster32 | ||
+ | -A RH-Firewall-1-INPUT -s 193.144.87.53 -p tcp --dport 22 -j ACCEPT | ||
+ | # gdrqcluster64 | ||
+ | -A RH-Firewall-1-INPUT -s 193.144.87.52 -p tcp --dport 22 -j ACCEPT | ||
+ | # IP casa Javier | ||
+ | -A RH-Firewall-1-INPUT -s 83.165.109.52 -p tcp --dport 22 -j ACCEPT | ||
+ | # qfqcpc05 | ||
+ | -A RH-Firewall-1-INPUT -s 193.144.87.44 -p tcp --dport 22 -j ACCEPT | ||
+ | # pcsistema1.cesga.es | ||
+ | -A RH-Firewall-1-INPUT -s 193.144.44.144 -p tcp --dport 22 -j ACCEPT | ||
+ | # | ||
+ | # Proteccion contra ataques ssh | ||
+ | # | ||
+ | # Si el la conexion es nueva, se anade a la lista SSH_LIST. | ||
+ | -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 22 -m state --state NEW -m recent --set --name SSH_LIST --rsource | ||
+ | # Actualizamos la lista de conexiones nuevas, quedandonos sólo con las entradas de los últimos 60 seg. | ||
+ | # Si en esa lista hay alguna conexión que se haya intentado mas de 3 veces, hacemos DROP | ||
+ | -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 22 -m state --state NEW -m recent --update --seconds 60 --hitcount 3 --name SSH_LIST --rsource -j DROP | ||
+ | # | ||
+ | # Si no es un ataque aceptar ssh desde el exterior | ||
+ | -A RH-Firewall-1-INPUT -p tcp --dport 22 -j ACCEPT | ||
+ | # | ||
+ | -A RH-Firewall-1-INPUT -i lo -j ACCEPT | ||
+ | -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT | ||
+ | -A RH-Firewall-1-INPUT -m state --state ESTABLISHED, | ||
+ | # DEFAULT REJECT | ||
+ | -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited | ||
+ | </ | ||
+ | |||
+ | SELINUX desactivado. | ||
+ | TCP Wrappers activado: | ||
+ | <code bash / | ||
+ | sshd: 172.16.64.75 , 172.16.243. , 172.16.247. , 172.16.249. | ||
+ | </ | ||
+ | El hosts.deny esta lleno de ips porque hay un servicio llamado denyhosts que añade direcciones ip de forma dinamica para prevenir ataques. | ||
+ | |||
+ | |||
+ | <code bash / | ||
+ | 127.0.0.1 localhost localhost.localdomain | ||
+ | # For the nodes we need this !!!!!!!!!!!!!!!!!!! | ||
+ | # uncomment it for the nodes and comment the above line | ||
+ | #127.0.0.1 payne localhost | ||
+ | 192.168.0.1 max.cluster.org max | ||
+ | 192.168.0.6 payne5 | ||
+ | 192.168.0.7 payne6 | ||
+ | 192.168.0.8 payne7 | ||
+ | 192.168.0.9 payne8 | ||
+ | 192.168.0.10 payne9 | ||
+ | # for (( i=46; i<60; i++ )); do echo -e " | ||
+ | # Dell | ||
+ | # For the future: | ||
+ | |||
+ | # The new node to be installed | ||
+ | # | ||
+ | |||
+ | # Los ordenadores de Quimica | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # Los servidores que tienen Debian | ||
+ | 193.146.38.146 toxo.com.uvigo.es | ||
+ | 130.206.1.5 ftp.rediris.es | ||
+ | 194.109.137.218 security.debian.org | ||
+ | |||
+ | # El otro cluster | ||
+ | 193.144.87.51 cluster2 | ||
+ | |||
+ | # The following lines are desirable for IPv6 capable hosts | ||
+ | # (added automatically by netbase upgrade) | ||
+ | |||
+ | :: | ||
+ | fe00:: | ||
+ | ff00:: | ||
+ | ff02:: | ||
+ | ff02:: | ||
+ | ff02:: | ||
+ | 192.168.0.2 payne1 | ||
+ | 192.168.0.3 payne2 | ||
+ | 192.168.0.4 payne3 | ||
+ | 192.168.0.5 payne4 | ||
+ | 192.168.0.254 dell | ||
+ | 192.168.0.11 payne10 | ||
+ | 192.168.0.12 payne11 | ||
+ | 192.168.0.13 payne12 | ||
+ | 192.168.0.14 payne13 | ||
+ | 192.168.0.15 payne14 | ||
+ | 192.168.0.16 payne15 | ||
+ | 192.168.0.17 payne16 | ||
+ | 192.168.0.18 payne17 | ||
+ | 192.168.0.19 payne18 | ||
+ | 192.168.0.20 payne19 | ||
+ | 192.168.0.21 payne20 | ||
+ | 192.168.0.22 payne21 | ||
+ | 192.168.0.23 payne22 | ||
+ | 192.168.0.24 payne23 | ||
+ | 192.168.0.25 payne24 | ||
+ | 192.168.0.26 payne25 | ||
+ | 192.168.0.27 payne26 | ||
+ | 192.168.0.28 payne27 | ||
+ | 192.168.0.29 payne28 | ||
+ | 192.168.0.30 payne29 | ||
+ | 192.168.0.31 payne30 | ||
+ | 192.168.0.32 payne31 | ||
+ | 192.168.0.33 payne32 | ||
+ | 192.168.0.34 payne33 | ||
+ | 192.168.0.35 payne34 | ||
+ | 192.168.0.36 payne35 | ||
+ | 192.168.0.37 payne36 | ||
+ | 192.168.0.38 payne37 | ||
+ | 192.168.0.39 payne38 | ||
+ | 192.168.0.40 payne39 | ||
+ | 192.168.0.41 payne40 | ||
+ | 192.168.0.42 payne41 | ||
+ | 192.168.0.43 payne42 | ||
+ | 192.168.0.44 payne43 | ||
+ | 192.168.0.45 payne44 | ||
+ | 192.168.0.46 payne45 | ||
+ | 192.168.0.101 dell1 | ||
+ | 192.168.0.102 dell2 | ||
+ | 192.168.0.103 dell3 | ||
+ | 192.168.0.104 dell4 | ||
+ | 192.168.0.105 dell5 | ||
+ | 192.168.0.106 dell6 | ||
+ | 192.168.0.107 dell7 | ||
+ | 192.168.0.108 dell8 | ||
+ | 192.168.0.109 dell9 | ||
+ | 192.168.0.110 dell10 | ||
+ | 192.168.0.111 dell11 | ||
+ | 192.168.0.112 dell12 | ||
+ | 192.168.0.113 dell13 | ||
+ | 192.168.0.114 dell14 | ||
+ | 192.168.0.115 dell15 | ||
+ | 192.168.0.116 dell16 | ||
+ | 192.168.0.117 dell17 | ||
+ | 192.168.0.118 dell18 | ||
+ | 192.168.0.119 dell19 | ||
+ | 192.168.0.120 dell20 | ||
+ | 192.168.0.121 dell21 | ||
+ | 192.168.0.122 dell22 | ||
+ | 192.168.0.123 dell23 | ||
+ | 192.168.0.124 dell24 | ||
+ | 192.168.0.125 dell25 | ||
+ | 192.168.0.126 dell26 | ||
+ | 192.168.0.127 dell27 | ||
+ | 192.168.0.128 dell28 | ||
+ | 192.168.0.129 dell29 | ||
+ | 192.168.0.130 dell30 | ||
+ | 192.168.0.131 dell31 | ||
+ | 192.168.0.132 dell32 | ||
+ | 192.168.0.133 dell33 | ||
+ | 192.168.0.134 dell34 | ||
+ | 192.168.0.135 dell35 | ||
+ | 192.168.0.136 dell36 | ||
+ | 192.168.0.137 dell37 | ||
+ | 192.168.0.138 dell38 | ||
+ | 192.168.0.139 dell39 | ||
+ | 192.168.0.140 dell40 | ||
+ | 192.168.0.141 dell41 | ||
+ | 192.168.0.142 dell42 | ||
+ | 192.168.0.143 dell43 | ||
+ | 192.168.0.144 dell44 | ||
+ | 192.168.0.145 dell45 | ||
+ | 192.168.0.146 dell46 | ||
+ | 192.168.0.147 dell47 | ||
+ | 192.168.0.148 dell48 | ||
+ | 192.168.0.149 dell49 | ||
+ | </ | ||
+ | |||
+ | Usuarios: | ||
+ | < | ||
+ | javier: | ||
+ | uscqfjcf: | ||
+ | tbp: | ||
+ | berta: | ||
+ | domenico: | ||
+ | snfhko: | ||
+ | cristian: | ||
+ | jonathan: | ||
+ | alfredo: | ||
+ | ganglia: | ||
+ | siham: | ||
+ | stefan: | ||
+ | juanpablo: | ||
+ | silvia: | ||
+ | hubert: | ||
+ | angelika: | ||
+ | </ | ||
+ | |||
+ | REPOS: | ||
+ | < | ||
+ | / | ||
+ | name=Adobe Systems Incorporated | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=ATrpms rpms | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=ATrpms rpms | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=DAG rpms | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=DAG rpms | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=Extra Packages for Enterprise Linux 5 - $basearch | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=Extra Packages for Enterprise Linux 5 - $basearch - Debug | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=Extra Packages for Enterprise Linux 5 - $basearch - Source | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=Extra Packages for Enterprise Linux 5 - Testing - $basearch | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=Extra Packages for Enterprise Linux 5 - Testing - $basearch - Debug | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=Extra Packages for Enterprise Linux 5 - Testing - $basearch - Source | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=Scientific Linux 5 contrib area | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=Scientific Linux 5 debuginfo rpm's | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=SL 5 fastbugs area | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=SL 5 base | ||
+ | # | ||
+ | # | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=SL 5 base | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=SL 5 security updates | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=Scientific Linux 5 source rpm's (src.rpm) | ||
+ | baseurl=http:// | ||
+ | -- | ||
+ | / | ||
+ | name=Scientific Linux 5 testing area | ||
+ | baseurl=http:// | ||
+ | </ | ||
+ | |||
+ | La version de torque es la 2.0.0 y la de SGE 6.0u7. | ||
+ | |||
+ | ==== Servicios ==== | ||
+ | === DHCP === | ||
+ | Se sirven todas las direcciones de los nodos de la red 192.168.0.0/ | ||
+ | <code bash> | ||
+ | subnet 192.168.0.0 netmask 255.255.255.0 { | ||
+ | # default gateway | ||
+ | option routers 192.168.0.254; | ||
+ | option subnet-mask 255.255.255.0; | ||
+ | |||
+ | option domain-name " | ||
+ | option domain-name-servers 193.144.75.9, | ||
+ | |||
+ | # range dynamic-bootp 192.168.0.2 192.168.0.254; | ||
+ | range 192.168.0.201 192.168.0.250; | ||
+ | default-lease-time 600; | ||
+ | max-lease-time 7200; | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | y también está configurado para el PXE: | ||
+ | <code bash> | ||
+ | # Needed for PXE (taken from the RHEL-3 sysadmin-guide) | ||
+ | allow booting; | ||
+ | allow bootp; | ||
+ | class " | ||
+ | match if substring(option vendor-class-identifier, | ||
+ | | ||
+ | | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | === TFTP server === | ||
+ | Necesario para PXE | ||
+ | <code bash / | ||
+ | service tftp | ||
+ | { | ||
+ | socket_type | ||
+ | protocol | ||
+ | wait = yes | ||
+ | user = root | ||
+ | server | ||
+ | server_args | ||
+ | disable | ||
+ | per_source | ||
+ | cps = 100 2 | ||
+ | flags = IPv4 | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | === NFS === | ||
+ | <code bash / | ||
+ | /home 192.168.0.0/ | ||
+ | </ | ||
+ | En /home están los homes de los usuarios, en / | ||
+ | |||
+ | === NIS === | ||
+ | Hay un NIS server funcionando. | ||
+ | <code bash / | ||
+ | passwd: | ||
+ | shadow: | ||
+ | group: | ||
+ | hosts: | ||
+ | bootparams: nisplus [NOTFOUND=return] files | ||
+ | |||
+ | ethers: | ||
+ | netmasks: | ||
+ | networks: | ||
+ | protocols: | ||
+ | rpc: files | ||
+ | services: | ||
+ | |||
+ | netgroup: | ||
+ | |||
+ | publickey: | ||
+ | |||
+ | automount: | ||
+ | aliases: | ||
+ | |||
+ | sudoers: | ||
+ | </ | ||
+ | <code bash / | ||
+ | ypserver 192.168.0.254 | ||
+ | </ | ||
+ | <code bash / | ||
+ | # | ||
+ | # ypserv.conf In this file you can set certain options for the NIS server, | ||
+ | # and you can deny or restrict access to certain maps based | ||
+ | # on the originating host. | ||
+ | # | ||
+ | # See ypserv.conf(5) for a description of the syntax. | ||
+ | # | ||
+ | |||
+ | # Some options for ypserv. This things are all not needed, if | ||
+ | # you have a Linux net. | ||
+ | |||
+ | # Should we do DNS lookups for hosts not found in the hosts table ? | ||
+ | # This option is ignored in the moment. | ||
+ | dns: no | ||
+ | |||
+ | # How many map file handles should be cached ? | ||
+ | files: 30 | ||
+ | |||
+ | # Should we register ypserv with SLP ? | ||
+ | slp: no | ||
+ | # After how many seconds we should re-register ypserv with SLP ? | ||
+ | slp_timeout: | ||
+ | |||
+ | # xfr requests are only allowed from ports < 1024 | ||
+ | xfr_check_port: | ||
+ | |||
+ | # The following, when uncommented, | ||
+ | # Note that it will not work if you have slave NIS servers in your | ||
+ | # network that do not run the same server as you. | ||
+ | |||
+ | # Host : Domain | ||
+ | # | ||
+ | # * : * : passwd.byname | ||
+ | # * : * : passwd.byuid | ||
+ | |||
+ | # Not everybody should see the shadow passwords, not secure, since | ||
+ | # under MSDOG everbody is root and can access ports < 1024 !!! | ||
+ | * : * : shadow.byname | ||
+ | * : * : passwd.adjunct.byname : port | ||
+ | |||
+ | # If you comment out the next rule, ypserv and rpc.ypxfrd will | ||
+ | # look for YP_SECURE and YP_AUTHDES in the maps. This will make | ||
+ | # the security check a little bit slower, but you only have to | ||
+ | # change the keys on the master server, not the configuration files | ||
+ | # on each NIS server. | ||
+ | # If you have maps with YP_SECURE or YP_AUTHDES, you should create | ||
+ | # a rule for them above, that's much faster. | ||
+ | # * : * : * : none | ||
+ | </ | ||
+ | === FTP === | ||
+ | Hay un VSFTP funcionando.Parece que sirve | ||
+ | /var/ftp/ | ||
+ | * pub | ||
+ | * SL52 | ||
+ | * SL53 | ||
+ | * SL55 | ||
+ | |||
+ | <code bash / | ||
+ | anonymous_enable=YES | ||
+ | local_enable=YES | ||
+ | write_enable=YES | ||
+ | local_umask=022 | ||
+ | dirmessage_enable=YES | ||
+ | xferlog_enable=YES | ||
+ | connect_from_port_20=YES | ||
+ | xferlog_std_format=YES | ||
+ | listen=YES | ||
+ | |||
+ | pam_service_name=vsftpd | ||
+ | userlist_enable=YES | ||
+ | tcp_wrappers=YES | ||
+ | </ | ||
+ | |||
+ | === ntp === | ||
+ | <code bash / | ||
+ | # Hosts on local network are less restricted. | ||
+ | restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap | ||
+ | |||
+ | server hora.rediris.es | ||
+ | server 0.rhel.pool.ntp.org | ||
+ | server 1.rhel.pool.ntp.org | ||
+ | server 2.rhel.pool.ntp.org | ||
+ | </ | ||
+ | |||
+ | === httpd === | ||
+ | Solo está para ejecutar un script cgi que tiene algo que ver con el proceso de instalacion de pxe en /var/www ????? | ||
+ | |||
+ | === pbs y sge === | ||
+ | Se ejecutan ambos. | ||
+ | <code bash> | ||
+ | root 3667 0.0 0.0 102512 | ||
+ | root 3687 0.2 0.0 50032 4592 ? Sl | ||
+ | root 4086 0.0 0.0 | ||
+ | root 4099 0.0 0.0 | ||
+ | </ | ||
+ | El sge esta en: / | ||
+ | PBS en : / | ||
+ | |||
+ | |||
+ | === PGI workstation === | ||
+ | Se lanza un servidor de licencias para [[http:// | ||
+ | <code bash> | ||
+ | root 4268 0.0 0.0 16360 1428 ? S Mar12 0:00 / | ||
+ | root 4270 0.0 0.0 50544 2856 ? Ssl Mar12 0:01 pgroupd -T localhost 11.11 3 -c / | ||
+ | </ | ||
+ | |||
+ | |||
+ | === Añadidos posteriores === | ||
+ | Instalado [[ http:// | ||
+ | |||
+ | |||
+ | Un script que permite apagar y encender los nodos desde el master: | ||
+ | / | ||
+ | |||
+ | |||
+ | |||
+ | ==== Nodos ==== | ||
+ | Los nodos tienen todos Scientific Linux SL release 5.3 (Boron) | ||
+ | |||
+ | <code bash> | ||
+ | Filesystem | ||
+ | / | ||
+ | tmpfs | ||
+ | / | ||
+ | dell:/ | ||
+ | </ | ||
+ | /scratch está formateado en XFS | ||
+ | |||
+ | Eth0 está configurada con DHCP y Eth1 no tiene configuración porque no se usa. | ||
+ | |||
+ | No hay usuarios locales, se usa NIS: | ||
+ | <code bash / | ||
+ | passwd: | ||
+ | shadow: | ||
+ | group: | ||
+ | hosts: | ||
+ | bootparams: nisplus [NOTFOUND=return] files | ||
+ | |||
+ | ethers: | ||
+ | netmasks: | ||
+ | networks: | ||
+ | protocols: | ||
+ | rpc: files | ||
+ | services: | ||
+ | |||
+ | netgroup: | ||
+ | |||
+ | publickey: | ||
+ | |||
+ | automount: | ||
+ | aliases: | ||
+ | </ | ||
+ | |||
+ | Se ejecuta SGE: | ||
+ | <code bash> | ||
+ | root 3271 0.0 0.0 | ||
+ | </ | ||
+ | === Instalar nodo === | ||
+ | Añadir una entrada con la mac del nodo en el dhcpd.conf | ||
+ | |||
+ | Hay que crear un archivo de configuracion (copiando uno que ya este) en / | ||
+ | |||
+ | Hay que editar esta linea para que apunte a un archivo de configuracion valido: | ||
+ | | ||
+ | |||
+ | |||
+ | === Instalar SGE en nodo === | ||
+ | < | ||
+ | Hay que crear enlaces simbolicos en opt | ||
+ | <code bash> | ||
+ | cd /opt/ | ||
+ | ln -s / | ||
+ | ln -s / | ||
+ | </ | ||
+ | Hay que copiar el nsswitch.conf de otro nodo | ||
+ | |||
+ | Exportar variables de entorno: | ||
+ | <code bash> | ||
+ | export SGE_ROOT=/ | ||
+ | export PATH=$PATH:/ | ||
+ | export LD_LIBRARY_PATH=/ | ||
+ | </ | ||
+ | Añadir a / | ||
+ | <code bash> | ||
+ | sge_qmaster | ||
+ | sge_execd | ||
+ | </ | ||
+ | Instalar, todo por defecto. | ||
+ | <code bash> | ||
+ | cd / | ||
+ | ./ | ||
+ | </ | ||
+ | Añadir host y modificar colas en master: | ||
+ | <code bash> | ||
+ | qconf -ah dellx | ||
+ | qstat -f | ||
+ | qmod -mq nombre_de_cola | ||
+ | </ | ||
+ | Configurar las características del nodo en SGE: | ||
+ | <code bash> | ||
+ | qconf -me dellxx | ||
+ | |||
+ | complex_values | ||
+ | </ | ||
+ | Donde s_vmem es un soft limit de memoria (igual a la memoria física del host) y num_proc es el número total de nucleos |