Procedimiento de Creación Nueva Imagen STB_V3

Preview:

DESCRIPTION

Procedimiento de Creacion de imagen STB AMINO

Citation preview

Procedimiento de creacin nueva Imagen STB

Ttulo del DocumentoVersin

Creacin Imgenes STB

1.0

Proceso GlobalResponsable del Procedimiento Fecha Emisin:Pgina

O&M IPTVFrancisco Hormazbal M.02-Nov-20082 de 6

Procedimiento de creacin nueva Imagen STB

Se requiere un PC Linux con DHCP server instalado y con STBremoteconf instalado.Procedimiento:

En path: /usr/local/amino/Copiar imagen en binario comprimido: 0.15.3a4-A110-think20-110-minerva-euro-latens.tgz en path /usr/local/amino/releases/Ax4x (por ejemplo) 2- Ubicarse dentro de la carpeta donde se copio la imagen comprimida3. Descomprimir archivo coprimido de la imagen en /usr/local/amino/releases/A110 tar zxvf nombre archivo4- copiar archivos personalizados ( loading.gif, settings , splash.gif , upgrade.sh, vmpkid.ini, rootcert.pem toohot.gif, success.gif,network.gif )

en path /usr/local/amino/releases/Ax4x//upgradeimage/imagecomponentsejemplo

cp config.txt /usr/local/amino/releases/A110/0.15.19-A110-think40-55.Verimatrix2.2.1.4/upgradeimage/imagecomponents/5 parar el proceso mcastbootd[root@minerva upgrade]# ps -fea|grep mcast

root 20005 1 0 17:42 ? 00:00:00 /usr/local/bin/mcastbootd

root 7021 6626 0 22:26 pts/0 00:00:00 grep mcast

Te debe mostrar el ID: kill -9 9878

[root@minerva upgrade]# kill -9 20005

[root@minerva upgrade]# ps -fea|grep mcast

root 7119 6626 0 22:27 pts/0 00:00:00 grep mcast

5 integrar SSH en STB

Copiar archivos 'dropbear' and 'rc.ssh' en el directorio de imagecomponentsEditar el archivo flashcontents y agregar estas lineasR dropbear

R rc.ssh

W dbhost.rsa

R dbhost.dsa

R id_rsa.pub

R id_dsa.pubCopiar archivo ' id_rsa.pub ' en el directorio de imagecomponents cp SSH_Ax4x_2.9.0-Ax4x-dropbear/id_rsa.pub Ax4x.euro.5.6.0.65.R.3.3.0-Ax4x-think57-81-1.Verimatrix2.3.13.2-HW/upgradeimage/imagecomponents/6- copiar archivo mcastbootd.COMPILAR sobre mcastbootd.conf

[root@32itvmgr Ax3x]# cat /etc/mcastbootd.COMPILAR

# Configuration file: Wed Apr 28 14:01:22 2010

[Server]

LogLevel=4

[Image bootstrap.signed]

MulticastIPAddress=225.50.51.52

MulticastUDPPort=11111

FileName=bootstrap.signed

Description=Linux bootstrap image

ImageType=1

SerialNumber=1

PacketSize=1456

CycleTime=0

[Filesystem mc2]

MulticastIPAddress=225.50.51.53

MulticastUDPPort=11111

ImageName=mc2

Description=upgrade filesystem

SerialNumber=2

DirsPerCycle=128

DataRate=256

CycleTime=0Sino se muestra un error como: think.gz

usersettings.gz

xfresco.gz

Signed image written to 'mc2/etc/listfile.signed'

signed the image okay

Filesystem 'mc2' is not configured

4. Crear archivo mc2.mcfs

cd /usr/local/amino/releases//upgradeimage ejecutar pwd Ejemplo:

[root@32itvmgr Ax4x.euro.4.1.2.23.R.2.2.0-Ax4x-think40-66-1.NoCA]# pwd

/usr/local/amino/releases/Ax4x/Ax4x.euro.4.1.2.23.R.2.2.0-Ax4x-think40-66-1.NoCA

Exportar las keys

export CUSTOMER_KEY=/usr/local/amino/releases/Ax4x/Ax4x.euro.4.1.2.23.R.2.3.2-Ax4x-think40-68-PRE-RELEASE/utils/keys/amino/KEY.private ir a la carpeta upgradeimages

[root@32itvmgr Ax4x.euro.4.1.2.23.R.2.2.0-Ax4x-think40-66-1.NoCA]# cd upgradeimage/

[root@32itvmgr upgradeimage]#

Generar el archivo: mc2.mcfs

[root@LGLASS-TVIP upgradeimage]# ./signupgradeimage -s 1280 Amino signupgradeimage Version : 1.44 $

Using DI of 1Please enter passphrase for /usr/local/amino/keys/amino/KEY.private: markskey8 Copiar imagen en path /images/[root@32itvmgr upgradeimage]# mkdir /images/Ax4x/Ax4x.euro.4.1.2.23.R.2.2.0-Ax4x-think40-66-1.NoCA_DI5

[root@32itvmgr upgradeimage]# cp mc2.mcfs /images/Ax4x/Ax4x.euro.4.1.2.23.R.2.2.0-Ax4x-think40-66-1.NoCA_DI5/

9 restaurar mcastbood.conf con el ultimo respaldo disponible. Para poder ejecutar correctamente el proceso mcastbootd10 distribucion de la nueva imagen generada, copiar el archivo mc2.mcfs al path /images/, con el nombre que corresponda segn mcastbootd.conf

ejemplo, para la siguiente seccion de mcastbootd.conf, el archivo debe llamarse mc.thinkAx4x.mcfs, como indica el parmetro ImageName[Filesystem mc.thinkAx4x]

MulticastIPAddress=225.60.60.60

MulticastUDPPort=11111

ImageName=mc.thinkAx4x

Description=mc2 filesystem

SerialNumber=849

DataRate=1024

[root@32itvmgr upgradeimage]#queda de esta manera en la carpeta images

[root@32itvmgr images]# ls -l

total 73692

drwxr-xr-x 18 root root 4096 Jan 28 10:22 A110

drwxr-xr-x 5 root root 4096 Apr 7 16:53 A125

drwxr-xr-x 3 root root 4096 Feb 21 16:32 A129

drwxr-xr-x 16 root root 4096 Nov 10 2010 A130

drwxr-xr-x 3 root root 4096 Nov 29 2010 A530

drwxr-xr-x 8 root root 4096 Apr 28 11:26 Ax3X

drwxr-xr-x 6 root root 4096 Jun 2 17:15 Ax4x

-rw-r--r-- 1 root root 1559186 Jan 28 10:25 bootstrap.110

-rw-r--r-- 1 root root 1792394 Apr 7 16:27 bootstrap.125

-rw-r--r-- 1 root root 3067346 Apr 28 11:29 bootstrap.130

-rw-r--r-- 1 root root 3067346 Apr 28 11:29 bootstrap.530

drwxr-xr-x 2 root root 4096 Dec 4 12:08 Fresco_prueba

-rw-r--r-- 1 root root 6953860 Jan 28 10:24 mc.think110.mcfs

-rw-r--r-- 1 root root 8901334 Apr 7 17:06 mc.think125.mcfs

-rw-r--r-- 1 root root 14301521 Apr 28 11:29 mc.think130.mcfs

-rw-r--r-- 1 root root 14301521 Apr 28 11:29 mc.think530.mcfs

-rw-r--r-- 1 root root 21345830 Jun 2 10:51 mc.thinkAx4x.mcfs

drwxr-xr-x 2 root root 4096 Dec 10 2009 STB_Fresco

drwxr-xr-x 5 root root 4096 Aug 10 2010 upgrade_minerva_4.1

[root@32itvmgr images]#

Recommended