Sunteți pe pagina 1din 9

HOW TO USE USB KEY FOR

DISASTER RECOVERY
AND
AUTO COPY

Introduction :
1YOU NEED TO HAVE A USB KEY FROM ALCATEL-LUCENT
OR
TRY ONE OF YOUR KEY IF IT IS WORKING
2YOU NEED TO HAVE FOR DISASTER RECOVERY A FOLDER LIKE THIS
9000/certified
With all img files
3YOU NEED TO HAVE FOR AUTO COPY A FOLDER LIKE THIS
9000/working
With all img files
4In root of this key you need to have a file which can be empty named:
aossignature
You have info with ls -r command about file system.
5You need to have a uboot version which support USB feature
See software release note for each devices model.

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2011.03.01 12:35:25 =~=~=~=~=~=~=~=~=~=~=~=


login : admin
password :
Welcome to the Alcatel-Lucent OmniSwitch 9000
Software Version 6.4.3.718.R01::soundars Service Release, February 14, 2011.
Copyright(c), 1994-2010 Alcatel-Lucent. All Rights reserved.
OmniSwitch(TM) is a trademark of Alcatel-Lucent registered
in the United States Patent and Trademark Office.
TEST-9800->> show chassis
Model Name:
Description:
Part Number:
Hardware Revision:
Serial Number:
Manufacture Date:
Admin Status:
Operational Status:
Free Slots:
Power Left:
MAC Address:

OS9800/OS7800,
Chassis,
902421-40,
B05,
H5070180,
FEB 29 2008,
POWER ON,
UP,
15,
514,
00:e0:b1:88:43:04,

You need to have a uboot version which support USB feature


TEST-9800->> show hardware info
CPU Type
Flash Manufacturer
Flash size
RAM Manufacturer
RAM size
NVRAM Battery OK ?
CPLD rev
FPGA major rev
FPGA minor rev
uboot Version
uboot-miniboot Version
Backplane type

:
:
:
:
:
:
:
:
:
:
:
:

Motorola MPC8541E ADS,


CF 128MB
131203072 bytes (125 MB),
0x2c000040 - Micron,
268435456 bytes (256 MB),
YES,
0x6,
0x2,
0x19,
6.4.3.479.R01,
6.4.3.479.R01,
Regular mode,

TEST-9800->> show microcode


Package
Release
Size
Description
-----------------+---------------+--------+----------------------------------Jbase.img
6.4.3.718.R01::soundar 22124637 Alcatel-Lucent Base Software
Jadvrout.img
6.4.3.717.R01
2876003 Alcatel-Lucent Advanced Routing
Jos.img
6.4.3.717.R01
2159674 Alcatel-Lucent OS
Jeni.img
6.4.3.717.R01
6540647 Alcatel-Lucent NI software
Jsecu.img
6.4.3.717.R01
587662 Alcatel-Lucent Security Management
Jencrypt.img
6.4.3.717.R01
3437 Alcatel-Lucent Encryption Management

TEST-9800->> show usb statistics


USB:
Disabled
USB auto-copy:
Enabled
USB disaster-recovery: Disabled
/uflash is not mounted
TEST-9800->> usb enable
TEST-9800->> show usb statistics
USB:
Enabled
USB auto-copy:
Enabled
USB disaster-recovery: Disabled
/uflash is not mounted
TEST-9800->> usb disaster-recovery enable
TEST-9800->> usb auto-copy disable
TEST-9800->> show usb statistics
USB:
Enabled

USB auto-copy:
Disabled
USB disaster-recovery: Enabled
/uflash is not mounted
Here I connect USB device
TEST-9800->>/uflash Bulk device is created
Node ID 0x3
LUN #0
Vendor Info
:
Product ID
: USB DISK Pro
Product Revision
: 1.13
Number of Blocks
: 250880
Bytes per Block
: 512
Total Capacity
: 128450560

FRI MAR 01 12:41:01 : SYSTEM (75) alert message:


+++ USB Bulk Device mounted at 480 Mbps.
TEST-9800->> show usb statistics
USB:
Enabled
USB auto-copy:
Disabled
USB disaster-recovery: Enabled
Node ID 0x3
LUN #0
Vendor Info
:
Product ID
: USB DISK Pro
Product Revision
: 1.13
Number of Blocks
: 250880
Bytes per Block
: 512
Total Capacity
: 128450560

TEST-9800->> ls /uflash
Listing Directory /uflash:
-rw
drw

0 Mar
2048 Mar

1
1

2011 aossignature
2011 9000/

93859840 bytes free


TEST-9800->> cd /uflash
TEST-9800->> dir
Listing Directory /uflash:
-rw
drw

0 Mar
2048 Mar

1
1

2011 aossignature
2011 9000/

93859840 bytes free


TEST-9800->> mkdir certified
TEST-9800->> ls
Listing Directory /uflash/9000:
drw
drw
drw

2048 Mar
2048 Mar
2048 Mar

1 12:44 ./
1 12:44 ../
1 12:44 certified/

93857792 bytes free


TEST-9800->> mkdir working

TEST-9800->> dir
Listing Directory /uflash/9000:
drw
drw
drw
drw

2048
2048
2048
2048

Mar
Mar
Mar
Mar

1 12:44 ./
1 12:44 ../
1 2011 working/
1 12:44 certified/

93857792 bytes free


TEST-9800->> pwd
/uflash/9000
TEST-9800->> dir
Listing Directory /uflash/9000:
drw
drw
drw
drw

2048
2048
2048
2048

Mar
Mar
Mar
Mar

1 12:44 ./
1 12:44 ../
1 2011 working/
1 12:46 certified/

TEST-9800->> dir
Listing Directory /uflash/9000/certified:
drw
drw
-rw
-rw
-rw
-rw
-rw
-rw
-rw

2048
2048
2876003
22124637
3437
6540647
2159674
587662
760

Mar
Mar
Feb
Feb
Feb
Feb
Feb
Feb
Feb

1 12:46 ./
1 12:46 ../
14 2011 Jadvrout.img
23 2011 Jbase.img
14 2011 Jencrypt.img
14 2011 Jeni.img
14 2011 Jos.img
14 2011 Jsecu.img
14 2011 SOFTWARE.LSM

59557888 bytes free

TEST-9800->> cd /flash
TEST-9800->> pwd
/flash

TEST-9800->> ls -r /uflash
Listing Directory /uflash:
-rw
drw

0 Mar
2048 Mar

1 2011 aossignature
1 12:46 9000/

Listing Directory /uflash/9000:


drw
drw
drw
drw

2048
2048
2048
2048

Mar
Mar
Mar
Mar

1 12:46 ./
1 12:44 ../
1 12:46 certified/
1 2011 working/

Listing Directory /uflash/9000/certified:


drw
drw
-rw
-rw
-rw
-rw
-rw
-rw
-rw

2048
2048
2876003
22124637
3437
6540647
2159674
587662
760

Mar
Mar
Feb
Feb
Feb
Feb
Feb
Feb
Feb

1 12:46 ./
1 12:46 ../
14 2011 Jadvrout.img
23 2011 Jbase.img
14 2011 Jencrypt.img
14 2011 Jeni.img
14 2011 Jos.img
14 2011 Jsecu.img
14 2011 SOFTWARE.LSM

Listing Directory /uflash/9000/working:


drw
drw
-rw
-rw
-rw
-rw
-rw
-rw
-rw

2048
2048
2876003
22124637
3437
6540647
2159674
587662
760

Mar
Mar
Feb
Feb
Feb
Feb
Feb
Feb
Feb

1 2011 ./
1 12:46 ../
14 2011 Jadvrout.img
23 2011 Jbase.img
14 2011 Jencrypt.img
14 2011 Jeni.img
14 2011 Jos.img
14 2011 Jsecu.img
14 2011 SOFTWARE.LSM

59557888 bytes free


Here we will test disaster-recovery
For 9700/9800 jumper J5011 pin 1&2 must be set (closest pins to the front of the board)
TEST-9800->> reload working no rollback-timeout
Confirm Activate (Y/N) : y

U-Boot (6.4.3.479.R01) (for OS98 platforms) (Mar 19 2010 - 18:00:01)


Freescale PowerPC
Core: E500, Version: 2.0, (0x80200020)
System: 8541, Version: 1.1, (0x807a0011)
Clocks: CPU: 825 MHz, CCB: 330 MHz, DDR: 165 MHz, LBC:
L1 D-cache 32KB, L1 I-cache 32KB enabled.
L1 D-cache 32KB, L1 I-cache 32KB enabled.
I2C:
ready
DRAM: 256 MB
Initializing PCI Devices
FLASH: 8 MB
L2 cache enabled: 256KB
No environment variables found, using defaults
In:
Out:
Err:

41 MHz

serial
serial
serial

Freescale ENET1: PHY is Marvell 88E1111 (1410cc2)


Freescale ENET0, Freescale ENET1, Freescale ENET2
IDE:
Bus 0: OK
Device 0: Model: CF 128MB Firm: 06/07/29 Ser#: GHS3ABPCF07092000001
Type: Removable Hard Disk
Capacity: 125.2 MB = 0.1 GB (256512 x 512)
USB:
scanning bus for devices... 2 USB Devices found
CMM Detected
Loading boot.params...
Boot Configuration Jumper Set
Hit any key to stop autoboot:
=>
=> run miniboot

## Booting image at ff800000 ...


Image Name:
miniboot-6.4.3.479.R01
Image Type:
PowerPC VxWorks Kernel Image (gzip compressed)
Data Size:
1107784 Bytes = 1.1 MB
Load Address: 004fffa0
Entry Point: 004fffa0
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Ethernet MAC address not copied to NV RAM
Loading .text @ 0x00500000 (1854508 bytes)
Loading .rodata @ 0x006c4c30 (373920 bytes)
Loading .data @ 0x007200d0 (158608 bytes)

Clearing .sbss @ 0x00746c60 (1700 bytes)


Clearing .bss @ 0x00748000 (1799188 bytes)
## Using bootline (@ 0x4200): tffs(1,0)cmm:default h=10.172.100.27
e=10.172.100.27:ffffff00 g=10.172.1.1 cb=9600 cp=none cs=1 cw=8 cm=modemControlOff
rd=certified f=0x0
## Starting vxWorks at 0x00500000 ...
memorySize[268435456]
USB2 Host Stack Initialized.
USB Hub Driver Initialized
USBD Wind River Systems, Inc. 562 Initialized
ISP1761 Initialized.
usbCbiUfiDevInit() returned OK
CBI Class Driver Successfully Initialized
0xffffde0 (tRootTask): usbBulkDevInit() returned OK
Adding 6057 symbols for standalone.
/flash/

- disk check in progress ...

dosChkLib : CLOCK_REALTIME is being reset to FRI MAR 01 12:54:48 2075


Value obtained from file system volume descriptor pointer: 0xfc25a00
The old setting was THU JAN 01 00:00:00 1970
Accepted system dates are greater than THU DEC 27 00:00:00 1990
/flash/

- Volume is OK

total # of clusters:63,924
# of free clusters:26,605
# of bad clusters:0
total free space:54,487,040
max contiguous free space: 19,593,216 bytes
# of files:66
# of folders:5
total bytes in files:76,338,011
# of lost chains:0
total bytes in lost chains: 0
Check Disk Running ...

/flash/

- Volume is OK

Boot parameters are:


'tffs(1,0)cmm:default h=10.172.100.27 e=10.172.100.27:ffffff00 g=10.172.1.1 cb=9600
cp=none cs=1 cw=8 cm=modemControlOff rd=certified f=0x0 '
VxWorks (for Motorola MPC8541E ADS) version VxWorks5.5.1
Copyright Wind River Systems, Inc., 1984-2002
CPU: Motorola MPC8541E ADS. Processor #0.
Memory Size: 0x10000000. BSP version 1.2/3.
AOS miniboot version: 6.4.3.479.R01

The current date and time is:


Coordinated Universal Time (UTC): TUE MAR 01 12:11:14 2011
Local time: TUE MAR 01 13:11:14 2011 CET

EMP: Speed not resolved


EMP setting Half Duplex
EMP setting 1000BT
Attaching network interface lo0... done.
Internal TFTP server: using /flash/certified
0xffffde0 (tRootTask): Attached TCP/IP interface to mottsec unit 1
Internal TFTP server: using addr 7f024101

Attempting to load from the CERTIFIED directory...


Loading kernel from '/flash/certified/Jos.img'...
Cannot find component(alcatelNetworking_kernel.lnk) in package(/flash/certified/Jos.img)!
Unable to load kernel image from file '/flash/certified/Jos.img'.
Unable to boot from the CERTIFIED software release.
[Miniboot]->USB Disaster Recovery Activated
/uflash Bulk device is created
Bulk Device mounted at 480 Mbps. With 1 Logical Units at node 3
Initiate reformat of /flash
Destroy all data in /flash file system
Reinitializing flash file system. Please wait...
Disk with 256224 sectors of 512 bytes will be formatted with:
Volume Parameters: FAT type: FAT16, sectors per cluster 4
2 FAT copies, 63914 clusters, 251 sectors per FAT
Sectors reserved 1, hidden 32, FAT sectors 502
Root dir entries 512, sysId VXDOS16 , serial number db5125d5
Label:"NO NAME
" ...
.copying file /uflash/9000/certified/Jadvrout.img -> /flash/certified/Jadvrout.img
Copy OK: 2876003 bytes copied
copying file /uflash/9000/certified/Jbase.img -> /flash/certified/Jbase.img
Copy OK: 22124637 bytes copied
copying file /uflash/9000/certified/Jencrypt.img -> /flash/certified/Jencrypt.img
Copy OK: 3437 bytes copied
copying file /uflash/9000/certified/Jeni.img -> /flash/certified/Jeni.img
Copy OK: 6540647 bytes copied
copying file /uflash/9000/certified/Jos.img -> /flash/certified/Jos.img
Copy OK: 2159674 bytes copied
copying file /uflash/9000/certified/Jsecu.img -> /flash/certified/Jsecu.img
Copy OK: 587662 bytes copied
copying file /uflash/9000/certified/SOFTWARE.LSM -> /fl
Switch reboot by itself
U-Boot (6.4.3.479.R01) (for OS98 platforms) (Mar 19 2010 - 18:00:01)
Freescale PowerPC
Core: E500, Version: 2.0, (0x80200020)
System: 8541, Version: 1.1, (0x807a0011)
Clocks: CPU: 825 MHz, CCB: 330 MHz, DDR: 165 MHz, LBC:
L1 D-cache 32KB, L1 I-cache 32KB enabled.
L1 D-cache 32KB, L1 I-cache 32KB enabled.
I2C:
ready
DRAM: 256 MB
Initializing PCI Devices
FLASH: 8 MB
L2 cache enabled: 256KB
No environment variables found, using defaults

41 MHz

[output not show .... ]

login : admin
password :
-> show running-directory

CONFIGURATION STATUS
Running CMM
CMM Mode
Current CMM Slot
Running configuration
Certify/Restore Status

:
:
:
:
:

PRIMARY,
MONO CMM,
A,
CERTIFIED,
CERTIFY NEEDED

-> show microcode


Package
Release
Size
Description
-----------------+---------------+--------+----------------------------------Jbase.img
6.4.3.718.R01::soundar 22124637 Alcatel-Lucent Base Software
Jadvrout.img
6.4.3.717.R01
2876003 Alcatel-Lucent Advanced Routing
Jos.img
6.4.3.717.R01
2159674 Alcatel-Lucent OS

Jeni.img
Jsecu.img
Jencrypt.img

6.4.3.717.R01
6.4.3.717.R01
6.4.3.717.R01

6540647 Alcatel-Lucent NI software


587662 Alcatel-Lucent Security Management
3437 Alcatel-Lucent Encryption Management

-> show microcode


Package
Release
Size
Description
-----------------+---------------+--------+----------------------------------Jbase.img
6.4.3.718.R01::soundar 22124637 Alcatel-Lucent Base Software
Jadvrout.img
6.4.3.717.R01
2876003 Alcatel-Lucent Advanced Routing
Jos.img
6.4.3.717.R01
2159674 Alcatel-Lucent OS
Jeni.img
6.4.3.717.R01
6540647 Alcatel-Lucent NI software
Jsecu.img
6.4.3.717.R01
587662 Alcatel-Lucent Security Management
Jencrypt.img
6.4.3.717.R01
3437 Alcatel-Lucent Encryption Management

-> show usb statistics


USB:
Disabled
USB auto-copy:
Disabled
USB disaster-recovery: Enabled
/uflash is not mounted
Now we will show how to use auto copy

-> usb enable


-> /uflash Bulk device is created
Node ID 0x3
LUN #0
Vendor Info
:
Product ID
: USB DISK Pro
Product Revision
: 1.13
Number of Blocks
: 250880
Bytes per Block
: 512
Total Capacity
: 128450560

FRI MAR 01 13:14:14 : SYSTEM (75) alert message:


+++ USB Bulk Device mounted at 480 Mbps.
-> usb auto-copy enable
Insert USB device -> Switch update software from 9000/working to /flash/working
automatically
-> USB Auto-Copy Activated

CRC validation of images within /uflash/9000/working/


copying file /uflash/9000/working/Jadvrout.img -> /flash/working/Jadvrout.img
Copy OK: 2876003 bytes copied
copying file /uflash/9000/working/Jbase.img -> /flash/working/Jbase.img
Copy OK: 22124637 bytes copied
copying file /uflash/9000/working/Jencrypt.img -> /flash/working/Jencrypt.img
Copy OK: 3437 bytes copied
copying file /uflash/9000/working/Jeni.img -> /flash/working/Jeni.img
Copy OK: 6540647 bytes copied
copying file /uflash/9000/working/Jos.img -> /flash/working/Jos.img
Copy OK: 2159674 bytes copied
copying file /uflash/9000/working/Jsecu.img -> /flash/working/Jsecu.img
Copy OK: 587662 bytes copied
copying file /uflash/9000/working/SOFTWARE.LSM -> /flash/working/SOFTWARE.LSM
Copy OK: 760 bytes copied
CRC validation of images within /flash/working/
Disabling Auto-Copy
FRI MAR 01 13:15:29 : SYSTEM (75) alert message:
+++ Device /uflash removed and uninstalled from FS
FRI MAR 01 13:15:29 : CSM-CHASSIS (103) info message:

+++ == CSM == !!! ACTIVATING !!!


+++ == CSM == !!! REBOOT CMM !!!
+++ == CSM == CMM is to be reloaded
FRI MAR 01 13:15:30 : SYSTEM (75) info message:
+++ i2cNiBoardReset: task tCS_HSM slot 8 device 0x7e state 0 data 0xff
/uflash is Not mounted. Exiting.
When /uflash is mounted auto-copy will automatically reactivate

U-Boot (6.4.3.479.R01) (for OS98 platforms) (Mar 19 2010 - 18:00:01)


[output not show .... ]
login : admin
password :
Welcome to the Alcatel-Lucent OmniSwitch 9000
Software Version 6.4.3.718.R01::soundars Service Release, February 14, 2011.
Copyright(c), 1994-2010 Alcatel-Lucent. All Rights reserved.
OmniSwitch(TM) is a trademark of Alcatel-Lucent registered
in the United States Patent and Trademark Office.
-> show usb statistics
USB:
Disabled
USB auto-copy:
Disabled
USB disaster-recovery: Enabled
/uflash is not mounted

-> show running-directory


CONFIGURATION STATUS
Running CMM
CMM Mode
Current CMM Slot
Running configuration
Certify/Restore Status

:
:
:
:
:

PRIMARY,
MONO CMM,
A,
WORKING,
CERTIFIED

-> show microcode


Package
Release
Size
Description
-----------------+---------------+--------+----------------------------------Jbase.img
6.4.3.718.R01::soundar 22124637 Alcatel-Lucent Base Software
Jadvrout.img
6.4.3.717.R01
2876003 Alcatel-Lucent Advanced Routing
Jos.img
6.4.3.717.R01
2159674 Alcatel-Lucent OS
Jeni.img
6.4.3.717.R01
6540647 Alcatel-Lucent NI software
Jsecu.img
6.4.3.717.R01
587662 Alcatel-Lucent Security Management
Jencrypt.img
6.4.3.717.R01
3437 Alcatel-Lucent Encryption Management

S-ar putea să vă placă și