Hi everyone,
I'm looking for a way to automate routine operations with OXE such as assign a new name to user, change phone number, swap user's numbers, change device type and so on. Since there are almost 100 OXEs in the network (from 9.1 to 12.4) these operations are somewhat annoying to do on daily basis.
I tried automation by scripts for telnet/ssh clients, but this path of poorly controlled due lack of constant screen feedback in mgr.
Also, I consider doing modifications of tables with direct access to the database, but this is a completely unsafe option.
There are no O2G and 8770 options available for me.
Therefore, I am interested, maybe someone faced similar task and resolved (or at least simplified) it. Perhaps there are tools that could help to automate some operations with an appropriate level of control and reliability.
Many thanks in advance!
Automate routine operations
- frank
- Alcatel Unleashed Certified Guru

- Posts: 3386
- Joined: 06 Jul 2004 00:18
- Location: New York
- Contact:
Re: Automate routine operations
I tried ansible in the past, but as you say the lack of feedback in MGR does not make things easy.
Look into MGR options:
mtcl@cpua:~> mgr -h
-L : dictionary : load one more dictionary.
-O : output_file : output file; its use differs with the other options.
-l : tell mgr which language to use (GEA, FR0, ...).
-c : character_set : tell mgr which character set to use (LATIN1 or ASCII).
-X : command_file : check and execute the requests contained in a command file.
-x : command_file : check the syntax of a command file.
-XX : command_file : check and force the execution of the requests contained in a command file, even if errors occur.
-p : pipe_name : run mgr with a pipe; the given pipe name allows some clients to send some requests (in the command file syntax) to mgr.
-log : write the requests done by the user in a file (in command file format).
-m : tells to which pabx we want to talk (for sun only).
-a : authentification for the connection.
-F : allow to run mgr with a model object given in a compressed file (like the dbase.mgr).
-tty : tty.
-nodico : run mgr without any dictionary; therefore, the used strings are not translated.
-nohelp : run mgr without the help given for the attributes; the strings involved in the object model are still translated.
-notrans : ???
-C : compile definitions files (*.def); generally used with the -O option in order to generate a compressed object model file
-D : debug option.
-h : gives the options of mgr.
-line : run mgr in a command-line style.
-hierarchy : output the hierarchy of an object.
Basically, start mgr -log file_name then do your actions. Then exit MGR.
You will see in the file what MGR does exactly, and you can script that.
Then to call mgr and run automatically your script, you would do mgr -nodico -X file_name
Look into MGR options:
mtcl@cpua:~> mgr -h
-L : dictionary : load one more dictionary.
-O : output_file : output file; its use differs with the other options.
-l : tell mgr which language to use (GEA, FR0, ...).
-c : character_set : tell mgr which character set to use (LATIN1 or ASCII).
-X : command_file : check and execute the requests contained in a command file.
-x : command_file : check the syntax of a command file.
-XX : command_file : check and force the execution of the requests contained in a command file, even if errors occur.
-p : pipe_name : run mgr with a pipe; the given pipe name allows some clients to send some requests (in the command file syntax) to mgr.
-log : write the requests done by the user in a file (in command file format).
-m : tells to which pabx we want to talk (for sun only).
-a : authentification for the connection.
-F : allow to run mgr with a model object given in a compressed file (like the dbase.mgr).
-tty : tty.
-nodico : run mgr without any dictionary; therefore, the used strings are not translated.
-nohelp : run mgr without the help given for the attributes; the strings involved in the object model are still translated.
-notrans : ???
-C : compile definitions files (*.def); generally used with the -O option in order to generate a compressed object model file
-D : debug option.
-h : gives the options of mgr.
-line : run mgr in a command-line style.
-hierarchy : output the hierarchy of an object.
Basically, start mgr -log file_name then do your actions. Then exit MGR.
You will see in the file what MGR does exactly, and you can script that.
Then to call mgr and run automatically your script, you would do mgr -nodico -X file_name
Code Free Or Die
