Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change node name on sys$batch queue ?

 
SOLVED
Go to solution
berlioz
Regular Advisor

How to change node name on sys$batch queue ?

Hello,
using OpenVMS FAQ, i'm actually trying to change the node name of an openVms station.

I've got a problem with sys$batch queue.

I just don't know how to change the node name for that queue and put the new machine node name.

I need help
Thanks in advance for all
7 REPLIES
Robert_Boyd
Respected Contributor

Re: How to change node name on sys$batch queue ?

You will want to use the INITIALIZE command to change the nodename that the queue starts on.

Check the HELP INITIALIZE /QUEUE

and read the sections for /AUTOSTART_ON and /ON

Depending on how your queue is set up now you will need to use one or the other of those qualifiers.

Make sure the queue is stopped and then use the INIT /QUE command to change the destination nodename(s).

Robert
Master you were right about 1 thing -- the negotiations were SHORT!
Bojan Nemec
Honored Contributor

Re: How to change node name on sys$batch queue ?

Berlioz,

I dont understand quite good yours question. To change the batch queue execution node you can do:

$ START/QUE/ON=nodenam:: queuename

Bojan
berlioz
Regular Advisor

Re: How to change node name on sys$batch queue ?

after a machine crash, i've rebuilt an openvms station with a backup image of another similar station.

Then, i'm actually trying to change the machine node name with the right one.

The OpenVms FAQ mentionned that i've to modify the host name on the various queues in the queue database.

Actually :

show queue

Batch queue SYS$BATCH, stopped on PC1CA4::

the new node name is PC1CA6, but
init/queue/on=PC1CA6:: sys$batch give the following answer : %JBC-F-INCQUETYP inconsistent queue type

What can i do ?
labadie_1
Honored Contributor
Solution

Re: How to change node name on sys$batch queue ?

add /batch on the init/que... command ?
berlioz
Regular Advisor

Re: How to change node name on sys$batch queue ?

YESSS

thanks for all
Daniel Fernandez Illan
Trusted Contributor

Re: How to change node name on sys$batch queue ?

The best option is delete sys$batch queue
delete/que sys$batch
and recreate them with init/que/batch/on=new_node_name sys$batch
You can also recreate the queue manager and after purge:

SYS$QUEUE_MANAGER.QMAN$JOURNAL
SYS$QUEUE_MANAGER.QMAN$QUEUES

on sys$system directory

Saludos.
Daniel.
comarow
Trusted Contributor

Re: How to change node name on sys$batch queue ?

I think you need to delete the queue name,
and then add/que/batch sys$batch/on=node