miércoles, 29 de octubre de 2008

Enable Relay MTA JES

Para habilitar el relay en JES hacer:

Editar el archivo:
vi /jes/bin/SUNWmsgsr/config/mappings

Buscar en "INTERNAL_IP".

$(200.21.190.164/24) $Y
$(190.254.0.106/32) $Y
$(190.254.0.117/32) $Y
$(190.254.0.109/32) $Y
$(10.192.32.6/32) $Y
$(10.192.32.4/32) $Y
127.0.0.1 $Y
* $N

Luego reiniciar el demonio:

cd /jes/bin/SUNWmsgr/sbin
./stop-msg mta ; ./start-msg mta

sábado, 25 de octubre de 2008

IPS OpenSolaris

marco@pegasus:~$ pfexec pkg set-authority -O http://pkg.sunfreeware.com:9000 sunfreeware

marco@pegasus:~$ pfexec pkg set-authority -O http://blastwave.network.com:10000 blastwave

marco@pegasus:~$ pfexec pkg authority -H
blastwave http://blastwave.network.com:10000/
sunfreeware http://pkg.sunfreeware.com:9000/
opensolaris.org (preferred) http://pkg.opensolaris.org:80/


marco@pegasus:~$

lunes, 13 de octubre de 2008

tftp solaris 10

Validar si esta el servicio creado:

svcs | grep tf

# Crear el servicio.

vi /var/tmp/tftpd.conf

# Adicionar la siguente linea:

tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot

mkdir /tftpboot
chown root /tftpboot
chmod 755 /tftpboot

Validar que el puerto este definido para el tftp:

grep tf /etc/services

Importar el Servicio.

/usr/sbin/inetconv -i /var/tmp/tftpd.conf

# Validar que el servicio este online:

svcs -a |grep tftp

sábado, 11 de octubre de 2008

zonecfg

create
set zonepath=/zonas/testing
set autoboot=true

add net
set address=172.28.46.1/24
set physical=e1000g0
end

add fs
set dir=/mnt
set special=/dev/dsk/c0t0d0s7
set raw=/dev/rdsk/c0t0d0s2
set type=ufs
add options [logging]
end

add inherit-pkg-dir
set dir=/usr/sfw
end

add device
set match=/dev/sound/*
end

add attr
set name=comment
set type=string
set value="The work zone."
end

remove inherit-pkg-dir dir=/lib
remove inherit-pkg-dir dir=/platform
remove inherit-pkg-dir dir=/sbin
remove inherit-pkg-dir dir=/usr

verify
commit

ipmp solaris 10 8/07

ifconfig ce0 plumb
ifconfig ce1 plumb


ifconfig ce0 10.57.1.61 netmask 255.255.0.0 broadcast + group service0 up
ifconfig ce1 deprecated group service0 -failover standby up

*****/etc/hostname.ce0******
pegasus netmask 255.255.0.0 broadcast + group service0 up

*****/etc/hostname.ce1******
deprecated group service0 -failover standby up