cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3408
Views
1
Helpful
14
Replies

CUCM Data Export Failed

Djeten
Level 1
Level 1

Hello, 

I have installed a new CUCM v14 and want to import the configuration of an older cluster v11.5. 

I have installed the ciscocm.DataExport_v1.0.cop.sgn file on the old cucm publisher.

When I run the Utils system upgrade dataexport initiate command, the export starts but fails when CUCM wants to copy the file to the SFTP server. 

The DRS uses the same sftp server and user, and this works, so the config of the sftp server is ok.

In the install log of CUCM I see this:

11/20/2023 16:26:08 data_export|SFTP Directory=/, SFTP Server=192.168.x.x, SFTP Username=sftp-user, Destination host=EBOSLBE1-CUCM01, Destination ip=192.168.x.x|<LVL::Debug>
11/20/2023 16:26:17 data_export|Validating the remote directory which is required to copy the exported data|<LVL::Info>
11/20/2023 16:26:21 data_export|cluster-192.168.x.x does not exist under the given sftp directory. Since the node is publisher, we will create a folder cluster-192.168.x.x under the given sftp location.|<LVL::Info>

But also this:

Failed to copy the export data to remote server 192.168.x.x under the directory //cluster-192.168.x.x
Please check if the folder cluster-192.168.x.x under / exists. This folder would be created during export of publisher.

The folder is not created on the server. I have tried to create the folder manually, but I get the same errors.

In the logs of the SFTP server I see this:

Nov 20 16:35:18 EBOSLBE1-SFTP01 sshd[2177]: Accepted password for sftp-user from 192.168.x.x port 33789 ssh2
Nov 20 16:35:18 EBOSLBE1-SFTP01 sshd[2177]: pam_unix(sshd:session): session opened for user sftp-user by (uid=0)
Nov 20 16:35:18 EBOSLBE1-SFTP01 systemd[1]: Started Session 2167011 of user sftp-user.
Nov 20 16:35:18 EBOSLBE1-SFTP01 systemd-logind[717]: New session 2167011 of user sftp-user.
Nov 20 16:35:19 EBOSLBE1-SFTP01 sshd[2244]: Received disconnect from 192.168.x.x port 33789:11: disconnected by user
Nov 20 16:35:19 EBOSLBE1-SFTP01 sshd[2244]: Disconnected from user sftp-user 192.168.x.x port 33789
Nov 20 16:35:19 EBOSLBE1-SFTP01 sshd[2177]: pam_unix(sshd:session): session closed for user sftp-user

Any ideas what I'm missing or doing wrong?

 

1 Accepted Solution

Accepted Solutions

Ok.

So let's try with data export putting data on /home/sftp-user

Please let me know

 

Regards

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

View solution in original post

14 Replies 14

Data import can only be done while you are installing the nodes. Post installation you cannot import data.


I have installed a new CUCM v14 and want to import the configuration of an older cluster v11.5. 


Your issues is that CUCM node is not able to create the folder, apparently the folder must be created by CUCM node which export the data. I never tried manually creating a folder and not sure if that works. The name of the folder must be cluster-192.168.x.x. If you are creating the folder, make sure to keep this new folder inside the root folder and dont make the new folder as sftp root.  Else Try a different SFTP or  a path where CUCM can create a folder.



Response Signature


The sftp user has all the rights it needs to create a folder in the sftp folder:

Djeten_0-1700556183740.png

 

If you dont mind can you try a different SFTP,



Response Signature


Hi,

During dataexport dialog config you selected the root directory / instead of selecting /sftp

Should be 

Export Data Directory [/]: /sftp

 

HTH

 

Regards

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

Hello, 

I had already tried both... Same result.

Hi

Can you please do an ls -lart / on your server?

 

Thanks

 

Regards

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

Djeten_0-1700568189157.png

 

Can you please try to do a file get on the CUCM to the sftp folder as follows:

admin:file get tftp Ringlist.xml

SFTP server IP: x.x.x.x
SFTP server port [22]:
User ID: sftpuser
Password: **********

Download directory: /sftpuser

Please let me know the result

 

 

Thanks

 

Regards

 

Carlo

 

Please rate all helpful posts "The more you help the more you learn"

This works when I write the destination folder as ./sftp, but when I want to use this notation in the data export, this is not allowed.

Djeten_0-1700575023124.png

 

 

Ok.

So let's try with data export putting data on /home/sftp-user

Please let me know

 

Regards

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

Djeten
Level 1
Level 1

This worked! Thx for the help!

You are most welcome!

Glad that worked and thanks for nice rating!

Cheers

 

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

I have a cluster of 4 nodes (1 cucm Pub, 1 cucm sub, 1 cups and 1 cuc) 

  1. I'm running  solarwinds sftp server where I created the following 4 folders under the root path to store the export data of each node
  2. /pub > for cucm pub
  3. /sub > for cucm sub
  4. /cuc > for cuc
  5. /imp > for cups

I completed the exportation of the publisher sucessfully under /pub folder but any attempt to export the subscriber under /sub folder failed.

Do I need to export the remaining 3 applications in the same folder /pub as the publisher ?

Fine below the successfull exportation of the publisher

jac_tenke_0-1726682065618.png

 

Any answer will be appreciated.

Rgds,

 

You don’t need to place that under the PUB folder. You can keep them in the root folder. When you export, folders will be created for each node with the node IP (if I remember correctly). The data export takes time depending on the size of data it exports. I dont see any error on the PIC you shared and it says "Data export in progress"



Response Signature