Cisco Headend System Release 2.7 インストールガイド
Options for the siteCmd Program
4012763 Rev B
47
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:
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.
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 DNCS.
1 Follow these instructions to log onto an xterm window on the DNCS as root
1 Follow these instructions to log onto an xterm window on the DNCS as root
user.
Note: You must be root user to install packages.
a Type su - and then press Enter. The password prompt appears.
b Type the root password and then press Enter.
Note: You must be root user to install packages.
a Type su - and then press Enter. The password prompt appears.
b Type the root password and then press Enter.
2 Type cd /cdrom/cdrom0 and then press Enter. The /cdrom/cdrom0 directory of
the DNCS becomes the working directory.
3 Type find . –name <package_name> | cpio -pudmv
/dvs/distFiles/Common/packages and then press Enter. The system copies the
files on the CD into the common directory of the DNCS.
Example: find . -name SAImqam | cpio -pudmv
Example: find . -name SAImqam | cpio -pudmv
/dvs/distFiles/Common/packages
4 Type cd / and then press Enter. The root user home directory becomes the
working directory.
5 Type eject cdrom and then press Enter. The system ejects the CD.
6 Type siteCmd <site name> lionnStop and then press Enter. The processes on
6 Type siteCmd <site name> lionnStop and then press Enter. The processes on
the RNCS server are stopped.
Note: To stop processes on all sites, use the -a option.
Example: siteCmd -a lionnStop
Note: To stop processes on all sites, use the -a option.
Example: siteCmd -a lionnStop