how to modifie datacenter in calendar manger

Tools and several solutions to manage Control-M products
Post Reply
User avatar
dasson
Nouveau
Nouveau
Posts: 4
Joined: 30 Nov 2010 12:00

how to modifie datacenter in calendar manger

Post by dasson » 21 Feb 2011 11:26

Hi, i have export all calendar for import in another server, but the datacenter name is not good.

i would like to know how modifie datacenter name for calendar manger

Thank you

User avatar
spassvogel47
Nouveau
Nouveau
Posts: 4
Joined: 22 Feb 2011 12:00

Post by spassvogel47 » 22 Feb 2011 10:51

Hi Dasson,

which format is the export? Is that a csv or xml format?
if so you can open this file with an editor and substitute the old datacenter for a new one.

an other solution is to import the calendar on the new sever. after that you copy the calendar in the calendar manger. with the copy function you could change the datacenter.

User avatar
dasson
Nouveau
Nouveau
Posts: 4
Joined: 30 Nov 2010 12:00

Post by dasson » 23 Feb 2011 8:39

Hi
the format is xml but when i search the name of data center in the file
i can't find it .

So i Have proceed to a copy and paste in calendar manager
and now it's ok

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 03 Mar 2011 9:19

Is possible to export one calendar form a server and import in another server. Is a normal procedure when there in two or more CTM-servers in production, in this case the calendars must be aligned. Once decided wicht server in the leader, you export the calderds from this server and import them to others servers.
You can do this operation in batch mode, using the EM utilities and schedule a job that do this automatically.

Have a good day
MaurizioG

User avatar
dasson
Nouveau
Nouveau
Posts: 4
Joined: 30 Nov 2010 12:00

Post by dasson » 03 Mar 2011 9:22

Hi, thank you for your answer

but when i export the calendar in command line,
My new datacenter isn't the same name
by example

the old : CTM-TOTO
the new: CTM_TITI

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 03 Mar 2011 10:57

You do this operations:

1) if calendar is new: create a new empty one
2) if calendar can be modified on the server side (like in MVS environment happens): DOWNLOAD calendar on the EM db
3) At this point copy the calendar from one data center to destination data center with: copydefcal utility

short description from documentation:
"Calendars in one data center can be copied to a different data center and saved under the same or different names."

4) Now you must do the upload calendar action to the destination data center.

Note:
The DOWNLOAD and UPLOAD action are done with cli utility.
Have a good day

Post Reply