Cisco Headend System Release 2.7 설치 가이드
Options for the siteCmd Program
78-4021167-01 Rev D
73
Copy Files from the ISDS to the RNCS
The /dvs/distFiles/Common directory on the ISDS is known as the common
The /dvs/distFiles/Common directory on the ISDS is known as the common
directory. Files that are to be loaded onto the RNCS are usually copied into the
common directory of the ISDS first. The following series of commands demonstrates
how to copy a file into the common directory of the ISDS and distribute that file to
each RNCS.
Note: In this example, the file someScript represents the file that needs to be
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 ISDS, type
1 To copy the file someScript into the common directory of the ISDS, type
cp someScript /dvs/distFiles/Common and press Enter.
2 To distribute the someScript file to each RNCS, type
siteCmd -asC /dvs/distFiles/someScript and press Enter.
Notes:
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 ISDS.
The C option specifies to the siteCmd program that the source directory of
the ISDS 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.
Install a Package on the RNCS
This procedure provides instructions on using the siteCmd program to install a
This procedure provides instructions on using the siteCmd program to install a
package on the RNCS.
Note: This procedure assumes that a CD containing the package to be installed is
Note: This procedure assumes that a CD containing the package to be installed is
already inserted into the CD drive of the ISDS.
1 Follow these instructions to log onto an xterm window on the ISDS as root user.
1 Follow these instructions to log onto an xterm window on the ISDS as root user.
Note: You must be root user to install packages.
a Type su - and press Enter. The password prompt appears.
b Type the root password and press Enter.
a Type su - and press Enter. The password prompt appears.
b Type the root password and press Enter.
2 Type cd /cdrom/cdrom0 and press Enter. The /cdrom/cdrom0 directory of the
ISDS becomes the working directory.
3 Type find [package_name] | cpio -pudmv /dvs/distFiles/Common/packages
and press Enter. The system copies the files on the CD into the common
directory of the ISDS.
Example:
Example:
find SAImqam | cpio -pudmv /dvs/distFiles/Common/packages