Write memory is not permitted

Post Reply
Dimskiy
Member
Posts: 1
Joined: 10 Nov 2011 03:17

Write memory is not permitted

Post by Dimskiy »

Hello,

We have this device and was tried to configure but when accept command "write memory" we have error:
-> write memory
ERROR: Write memory is not permitted when switch is running in certified mode

When we make save config through web then we can have a message:
"You will not be able to save configuration changes for this
switch because it is currently running the Certified software version.
Before making changes, you must reload the Working software version
to allow the changes to be saved" - and only button "ОК".

In web-interface in System>Sytem Mgmt>Images>Loaded Image Files:
We can see:
Directory Version Name Description Size Toggles table sort mode for field selection. Toggles sort direction for the table.
certified 7.2.1.353.R01 Tos.img Alcatel-Lucent OS 89295692

In web-interface in System>Sytem Mgmt>Images>Image Files In Flash:
We can see:
Directory Version Name Description Size Toggles table sort mode for field selection. Toggles sort direction for the table.
certified 7.2.1.353.R01 Tos.img Alcatel-Lucent OS 89295692
diags 7.2.1.R01_352:relman Tdiag.img Alcatel-Lucent Diag OS 23855100
working 7.2.1.353.R01 Tos.img Alcatel-Lucent OS 89295692

What we must do that we can use "write memory"?

Any idea?

Thanks.
one6f
Member
Posts: 366
Joined: 10 Mar 2009 09:58

Re: Write memory is not permitted

Post by one6f »

Hi,

edited at 11.22.2011 please note the following applies to SW v6.x only.

this may happen if certified and working was not identical. Switch or NIs reboot on issuing the "takeover" or "reload" commands or after power failure or a bug and after reboot, switch started in certified.
Verify the configuration status with "show configuration status" and "show running-directory" before executing a takeover/reload......
You can now execute

Code: Select all

copy certified working
then files from certified will be copied to working, so working=certified and you will be able to "write memory" (PS. if you're sure that in certified is already your working boot.cfg)
or

Code: Select all

reload working no rollback timeout
then the switch will reboot from working with boot.cfg from working
Last edited by one6f on 22 Nov 2011 07:37, edited 1 time in total.
devnull
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 976
Joined: 07 Sep 2010 10:16
Location: Germany

Re: Write memory is not permitted

Post by devnull »

On all my 6900 i had the problem, that on first boot the switch starts in certified.
Pretty nasty if you don't recognize and therefor start to do your 20 page config, and learn at writing that all will be gone.

You need to reboot in working with
"reload from working no rollback-timeout"
(It has changed a bit in AOS 7)
one6f
Member
Posts: 366
Joined: 10 Mar 2009 09:58

Re: Write memory is not permitted

Post by one6f »

devnull wrote: (It has changed a bit in AOS 7)
You're right, is a little different. The 7.x boots from certified like 6.x, but the software can't tell which directory to choose for comparison against the certified directory. The software keeps the current running directory as "certified". The user can remedy this at boot by using the "modify running-directory" CLI command.

Code: Select all

modify running-directory /flash/working
Tech-tip for this.
Lishtvoya
Member
Posts: 1
Joined: 06 Jun 2014 13:10

Re: Write memory is not permitted

Post by Lishtvoya »

It’s really great posts.
Enwary
Member
Posts: 27
Joined: 18 Jun 2018 05:35

Re: Write memory is not permitted

Post by Enwary »

Hi all,,
thanks all for the above useful posts, please give advise if write memory is enough to save configuration or it's essential to " copy running certified,
I notice the switch boot in certified mode, how can I force it to boot in working mode ..

-> modify running-directory working
Please wait...


-> write mem

File /flash/working/vcsetup.cfg replaced.

File /flash/working/vcboot.cfg replaced.

-> sh ru

CONFIGURATION STATUS
Running CMM : MASTER-PRIMARY,
CMM Mode : VIRTUAL-CHASSIS MONO CMM,
Current CMM Slot : CHASSIS-1 A,
Running configuration : WORKING,
Certify/Restore Status : CERTIFIED
SYNCHRONIZATION STATUS
Running Configuration : SYNCHRONIZED

-> sh conf st
File configuration: none scheduled
Error file limit: 2

Running configuration and saved configuration are identical

->

Regards,,
devnull
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 976
Joined: 07 Sep 2010 10:16
Location: Germany

Re: Write memory is not permitted

Post by devnull »

It should be all in the switch management guide.. chapter 4.

Write memory will write to running directory.
In case of reboot/powerloss running and certified will not be the same -> will boot from certified.
With copy running certified you will make certified and working the same -> should boot from running in this case.
In a Stack/VC you should use "copy running certified flash-synchro" to make secondary/further CMMs also get the correct data - this will be needed in case the master fails.
Enwary
Member
Posts: 27
Joined: 18 Jun 2018 05:35

Re: Write memory is not permitted

Post by Enwary »

many many thanks,,
Regards,,
escubi
Member
Posts: 2
Joined: 30 Jan 2019 04:45

Re: Write memory is not permitted

Post by escubi »

Hi all ¡

I have the same problem but I don't understand if it is because of the command that I enter. I have an alcatel OS6860. The VCBOOT file of my certificate and my working are the same. In both directories I have the same version 8 firmware.
The switch always boots from the certified when I put the reload all command:

SWITCH reload all
Only one reload may be active in VC mode, other scheduled reloads will be canceled
Confirm Reload All (Y/N) : Y


The status when the switch reloads is:
CONFIGURATION STATUS

CONFIGURATION STATUS
Running CMM : SLAVE-PRIMARY,
CMM Mode : VIRTUAL-CHASSIS MONO CMM,
Current CMM Slot : CHASSIS-1 A,
Running configuration : CERTIFIED,
Certify/Restore Status : CERTIFY NEEDED
SYNCHRONIZATION STATUS
Running Configuration : SYNCHRONIZED


I would like to load from working:

1) I put the command copy certified working make-running-directory and running configuration are in working etc.
CONFIGURATION STATUS
Running CMM : MASTER-PRIMARY,
CMM Mode : VIRTUAL-CHASSIS MONO CMM,
Current CMM Slot : CHASSIS-1 A,
Running configuration : WORKING,
Certify/Restore Status : CERTIFIED
SYNCHRONIZATION STATUS
Running Configuration : SYNCHRONIZED


Now 2 options:
a)reload all --> It runs from certified.
b)reload from working no rollback-timeout --> It runs from working.

Why doesn't it start from working with the reload all command? Maybe in this version you have to put the other command of option b?

Thanks ¡¡¡¡
User avatar
Gleylancer
Member
Posts: 154
Joined: 08 May 2013 03:14

Re: Write memory is not permitted

Post by Gleylancer »

After a regular reload all AOS8 Switches are in certified mode. This is a normal behavior.
Post Reply

Return to “OmniSwitch 6900”