Cisco Headend System Release 2.5 Installation Guide

Page of 51
78-4003191-01 Rev B 
The siteCmd Program 
A-7 
Options for the siteCmd Program,
 Continued 
Copy Files From the DNCS to the RNCS 
The /dvs/distFiles/Common directory on the DNCS is known as the common 
directory. Files that are to be loaded onto the RNCS are usually copied into the 
common directory of the DNCS first. The following series of commands 
demonstrates how to copy a file into the common directory of the DNCS and then 
distribute that file to each RNCS. 
Note:  In this example, the file someScript represents the file that needs to be 
distributed to each RNCS. 
 
  1.  To copy the file someScript into the common directory of the DNCS, type  
cp  someScript  /dvs/distFiles/Common and then press Enter
  2.  To distribute the someScript file to each RNCS, type  
siteCmd  -asC  /dvs/distFiles/someScript and then press Enter
Notes:   
• 
The –a option specifies that all RNCS sites are to receive the file. 
• 
The s option indicates synchronize. Synchronizing involves updating the 
RNCS with the contents of the common directory of the DNCS. 
• 
The C option specifies to the siteCmd program that the source directory 
of the DNCS is to be the common directory. 
• 
The /dvs/distFiles/someScript portion of the command specifies the 
destination of the copy operation, as well as the name of the file that is to 
be executed once the copying has taken place.