×

Mensagem de aviso

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

ASR 5000 Procedimento de Upgrade de Software

Documento

sex, 12/30/2011 - 12:31
dez 30th, 2011
User Badges:
  • Cisco Employee,
  • Events Top Contributors,

    Cisco, 2014

•1. ASR 5000 Procedimento de Upgrade de Software

Para atualizar o software do ASR 5000, é necessário seguir o passo a passo descrito neste documento:

•1.1 Fazer upload da nova imagem através de FTP (em modo binário)

  • •1. Transfira o arquivo da nova versão de software obtido no site da CISCO para seu computador.

  • •2. Transfira o arquivo da nova versão de software de seu computador à placa flash do ASR5K via FTP, no diretório /flash.

•3. Verifique a versão do novo arquivo:

#show ver /flash/production.39936.asr5000.bin

Reading /flash/production.39936.asr5000.bin... done

OPERATIONAL_IMAGE Version : 12.0 (39936)

OPERATIONAL_IMAGE Description : ASR5000 Production Build <39936>

OPERATIONAL_IMAGE Date : Wednesday September 21 03:14:12 GMT 2011

OPERATIONAL_IMAGE Size : 170490368

OPERATIONAL_IMAGE Flags : None

OPERATIONAL_IMAGE Platform : ASR5000

•1.2 Reconfigurar opções de inicialização (“boot stack priorities”)

  • •1. Verifique a configuração atual:

#show boot

Monday September 26 23:35:20 CDT 2011

boot system priority 2 \

image /flash/production.39311.asr5000.bin \

config /flash/telcel_17_09_11.cfg

boot system priority 3 \

image /flash/production.39311.asr5000.bin \

config /flash/porgp4_39311_28_08_2011.cfg

boot system priority 5 \

image /flash/production.38113.st40.bin \

config /flash/R9portales_26_08_2011.cfg

-

-

-

boot system priority 15 \

image /flash/production.36000.st40.bin \

config /flash/17Jun2011.cfg

Existem até 10 prioridades de boot configuradas.

Efetue o backup da configuração existente:

#save conf /flash/Telcel26092011.cfg -noconfirm –redundant

  • •2. Sincronize as placas SMC 8 e SMC 9:

#filesystem synchronize all

Monday September 26 23:37:39 CDT 2011

3 to be updated on card 9

/flash/boot.sys

/flash/production.39936.asr5000.bin

/flash/telcel_17_09_11.tar

0 to be updated (but are newer) on card 9

1 to be deleted on card 9

/flash/telcel-portales-test-0614.cfg

Are you sure? [Yes|No]: yes

Monday September 26 23:38:05 CDT 2011

Updating /flash/boot.sys

********************************************************************************

Updating /flash/production.39936.asr5000.bin

********************************************************************************

Updating /flash/telcel_17_09_11.tar

********************************************************************************

3 updated on card 9

/flash/boot.sys

/flash/production.39936.asr5000.bin

/flash/telcel_17_09_11.tar

1 deleted on card 9

/flash/telcel-portales-test-0614.cfgs


  • •3. Elimine a prioridade de boot/inicialização que tenha o número mais alto e adicione uma (é possível utilizar o número de prioridade mais baixo – por exemplo 1):




config

Monday September 26 23:35:41 CDT 2011

(config)# no boot system priority 15

config

Monday September 26 23:38:53 CDT 2011

(config)# boot system priority 1 image /flash/production.39936.asr5000.bin config /flash/Telcel26092011.cfg

Monday September 26 23:39:16 CDT 2011

(config)# end


# sho boot

Monday September 26 23:39:21 CDT 2011

boot system priority 1 \

image /flash/production.39936.asr5000.bin \

config /flash/Telcel26092011.cfg

-

-

-

-


  • •4. Sincronize as placas SMC 8 e SMC 9:

# filesystem synchronize all

Monday September 26 23:39:27 CDT 2011

1 to be updated on card 9

/flash/boot.sys

0 to be updated (but are newer) on card 9

0 to be deleted on card 9

Are you sure? [Yes|No]: ye

Monday September 26 23:39:31 CDT 2011

Updating /flash/boot.sys

********************************************************************************

1 updated on card 9

/flash/boot.sys

0 deleted on card 9


•1.3 Bloqueio de tráfego e liberação de usuários

  • •1. A fim de evitar inconsistência nos CDRs, antes de reiniciar o sistema com o novo software as novas chamadas de assinantes devem ser bloqueadas, assim como a desconexão dos usuários ativos.

Verifique o número atual de usuários conectados:

# show session progress

Monday September 26 23:45:47 CDT 2011

991259 In-progress calls

991259 In-progress active calls

0 In-progress dormant calls

0 In-progress always-on calls

63 In-progress calls @ ARRIVED state

0 In-progress calls @ CSCF-CALL-ARRIVED state

-

-

-

Para iniciar o bloqueio de novas chamadas:

# newcall policy ggsn-service all reject

Tuesday September 27 01:04:35 CDT 2011

#

Para desconectar os usuários conectados:

# clear subscribers all -noconfirm

Tuesday September 27 01:04:49 CDT 2011

Number of subscribers cleared: 942135

A desconexão de usuários levará um certo tempo até ser concluída. É possível acompanhar o andamento até que o contador chegue a zero:

[local]PORGP4# show session progress

Tuesday September 27 01:19:04 CDT 2011

23 In-progress calls

23 In-progress active calls

0 In-progress dormant calls

•1.4 Reiniciando o equipamento após o upgrade

  • •1. Após a desconexão de todos os usuários (contador igual a zero), o sistema deverá ser reiniciado:

[# reload -noconfirm

Tuesday September 27 01:19:09 CDT 2011.

  • •2. O processo de boot total leva em média 10 minutos.
  • •1. Quando o sistema estiver ativo após o boot, inicie um checkup.

•2. Checkup após o upgrade

  • •2. Versão de software:

# show ver

Tuesday September 27 01:30:51 CDT 2011

Active Software:

Image Version: 12.0 (39936)

Image Description: Production_Build

Image Date: Tue Sep 20 22:18:03 EDT 2011

Boot Image: /flash/production.39936.asr5000.bin

Status das placas:

# show card table

Tuesday September 27 01:25:10 CDT 2011

Slot Card Type Oper State SPOF Attach

----------- -------------------------------- ------------- ---- ------

1: PSC None - - - -

2: PSC Packet Services Card 2 Active No 18 34

3: PSC None - - - -

4: PSC Packet Services Card 2 Active No 20 36

5: PSC None - - - -

6: PSC Packet Services Card 2 Active No - -

7: PSC None - - - -

8: SMC System Management Card Active No 24 25

9: SMC System Management Card Standby - - -

10: PSC Packet Services Card 2 Standby - - -

11: PSC None - - - -

12: PSC None - - - -

13: PSC Packet Services Card 2 Active No 29 -

14: PSC Packet Services Card 2 Active No 30 -

15: PSC None - - - -

16: PSC None - - - -

40: RCC Redundancy Crossbar Card Standby -

41: RCC Redundancy Crossbar Card Standby -

# show linecard table

Tuesday September 27 01:25:17 CDT 2011

Slot Card Type # Ports Oper State SPOF Attach

-------- -------------------------------- ------- ------------- ---- ------

17: LC None - - - -

18: LC Quad 1000 Ethernet Line Card 4 Ports Standby - 2

19: LC None - - - -

20: LC Quad 1000 Ethernet Line Card 4 Ports Active No 4

21: LC None - - - -

22: LC None - - - -

23: LC None - - - -

24: SPIO Switch Processor I/O Card 4 Ports Active No 8

25: SPIO Switch Processor I/O Card 4 Ports Standby - 8

26: LC None - - - -

27: LC None - - - -

28: LC None - - - -

29: LC 10 Gig Ethernet Line Card 1 Port Active No 13

30: LC 10 Gig Ethernet Line Card 1 Port Standby - 14

31: LC None - - - -

32: LC None - - - -

33: LC None - - - -

34: LC Quad 1000 Ethernet Line Card 4 Ports Standby - 2

35: LC None - - - -

36: LC Quad 1000 Ethernet Line Card 4 Ports Standby - 4

37: LC None - - - -

38: LC None - - - -

39: LC None - - - -

42: LC None - - - -

43: LC None - - - -

44: LC None - - - -

45: LC None - - - -

46: LC None - - - -

47: LC None - - - -

48: LC None - - - -

Usuários attachados:

# show sess progress

Tuesday September 27 01:25:28 CDT 2011

3157 In-progress calls

3157 In-progress active calls

0 In-progress dormant calls

0 In-progress always-on calls

1016 In-progress calls @ ARRIVED state

0 In-progress calls @ CSCF-CALL-ARRIVED state

0 In-progress calls @ CSCF-REGISTERING state

-

-

-

Recursos do sessmgr:

[# show task resources facility sessmgr all|more

Tuesday September 27 01:25:43 CDT 2011

task cputime memory files sessions

cpu facility inst used allc used alloc used allc used allc S status

----------------------- --------- ------------- --------- ------------- ------

2/0 sessmgr 5000 1.8% 50% 68.9M 140.0M 34 500 -- -- S good

2/0 sessmgr 1 14% 100% 322.1M 1220M 55 500 2885 21120 I good

2/0 sessmgr 6 3.4% 100% 249.7M 1220M 54 500 187 21120 I good

2/0 sessmgr 11 0.5% 100% 149.3M 1220M 49 500 0 21120 I good

-

-

-

Para assegurar que o serviço de usuário pré-pago esteja funcionando, deve ser checada a comunicação entre o ASR 5000 e o servidor OCS.

Traces podem ser obtidos para verificar a resposta do OCS - garantir que ele esteja concedendo as cotas aos assinantes corretamente.

Procurar por mensagens como esta no trace:

[M] Multiple-Services-Credit-Control:

[M] Granted-Service-Unit:

[M] CC-Total-Octets: 1024000 ••ß Assigned quota

# monitor subscriber next-call

Tuesday September 27 01:26:05 CDT 2011

Waiting for next call to connect...

-

-

-

(Q)uit, <ESC> Prev Menu, <SPACE> Pause, <ENTER> Re-Display Options

*** Verbosity Level ( 2) ***

*** Verbosity Level ( 3) ***

----------------------------------------------------------------------

Incoming Call:

----------------------------------------------------------------------

MSID/IMSI : 334020306424398 Callid : 055da236

IMEI : 35662803318972 MSISDN : 524611340090

Username : 524611340090 SessionType : ggsn-pdp-type-ipv4

Status : Active Service Name: ggsn-1

Src Context : gn

----------------------------------------------------------------------

*** Verbosity Level ( 2) ***

*** Verbosity Level ( 3) ***

INBOUND>>>>> 01:27:24:600 Eventid:47000(3)

GTPC Rx PDU, from 201.144.195.67:34209 to 200.95.161.226:2123 (206)

TEID: 0x00000000, Message type: GTP_CREATE_PDP_CONTEXT_REQ_MSG (0x10)

Sequence Number:: 0xFC6E (64622)

GTP HEADER FOLLOWS:

Version number: 1

Protocol type: 1 (GTP C/U)

Extended header flag: Not present

Sequence number flag: Present

NPDU number flag: Not present

Message Type: 0x10 (GTP_CREATE_PDP_CONTEXT_REQ_MSG)

Message Length: 0x00C6 (198)

Tunnel ID: 0x00000000

Sequence Number: 0xFC6E (64622)

GTP HEADER ENDS.

-

-

-

-

INBOUND>>>>> 01:27:26:621 Eventid:81991(5)

Diameter message from 10.201.46.136:3870 to 10.233.4.70:54598

Base Header Information:

Version: 1

Message Length: 312

Command Flags: PXY (64)

Command Code: Credit-Control-Answer (272)

Application ID: Credit-Control (4)

Hop2Hop-ID: 0x0000039b

End2End-ID: 0xc52d5f00

AVP Information:

[M] Session-Id: 0019-sessmgr.porgp4Balancer;90022454;598291;4e816ccc-1302

[M] Result-Code: DIAMETER_SUCCESS (2001)

[M] Origin-Host: chargingmanager03B.hp.com

[M] Origin-Realm: chargingmanager.hp.com

[M] Auth-Application-Id: 4

[M] CC-Request-Type: UPDATE_REQUEST (2)

[M] CC-Request-Number: 1

[M] CC-Session-Failover: FAILOVER_NOT_SUPPORTED (0)

[M] Origin-State-Id: 1317104723

[M] Multiple-Services-Credit-Control:

[M] Granted-Service-Unit:

[M] CC-Total-Octets: 1024000

[M] Rating-Group: 5

[M] Result-Code: DIAMETER_SUCCESS (2001)

[V] 3GPP-Quota-Holding-Time: 3600

[M] Credit-Control-Failure-Handling: TERMINATE (0) Protocol type: 1 (GTP C/U)



Revisar a geração correta dos CDRs.

Os arquivos devem ser gerados (o número de sequência é reiniciado):

[local]PORGP4# dir /hd-raid/records/cdr/default4

Tuesday September 27 01:27:45 CDT 2011

-rw-rw-r-- 1 root root 2154846 Sep 26 13:26 PORGP4_09_26_2011_13_26_04_7602_file61804.p

-rw-rw-r-- 1 root root 2154881 Sep 26 13:26 PORGP4_09_26_2011_13_26_13_7608_file61805.p

-rw-rw-r-- 1 root root 2154286 Sep 26 13:26 PORGP4_09_26_2011_13_26_23_7553_file61806.p

-rw-rw-r-- 1 root root 2155692 Sep 26 13:26 PORGP4_09_26_2011_13_26_31_7578_file61807.p

-

-

-

-rw-rw-r-- 1 root root 2159346 Sep 27 01:17 PORGP4_09_27_2011_01_17_33_6866_file66651.p

-rw-rw-r-- 1 root root 2158985 Sep 27 01:17 PORGP4_09_27_2011_01_17_49_7005_file66652.p

-rw-rw-r-- 1 root root 2140744 Sep 27 01:26 PORGP4_09_27_2011_01_26_03_8760_file1.p

-rw-rw-r-- 1 root root 2142237 Sep 27 01:27 PORGP4_09_27_2011_01_27_05_8082_file2.p

-

Loading.

Ações

This Document