Monday, April 7, 2008

Printer Configuration Solaris

Edit /etc/printers.conf file to add all the printers whose queue will be managed by the server.

Eg:

/etc/printers.conf ::
<Printer-name>:\
:bsdaddr=<server-name>,<Printer-Destination>,Solaris:

To start the service use /etc/init.d/lp start

This starts the lpsched process. (For solaris 10 use svcadm enable print/server)

Saturday, March 22, 2008

NIS

DB folder:

/var/yp generally.
Makefile to decide such settings.

/usr/ccs/bin/make <map-name>
/usr/ccs/bin/yppush -v <map-name> #to push maps on desired yp servers.

Friday, March 21, 2008

RHN Registration.

rhn_register Command used to register the license of Linux used to RHN interactively.
rhnreg_ks command used to register non-interactively by using option ahead of command.
eg:
rhnreg_ks --profile=<FQDN> --username=<rhn-user> --password=<rhn-password> --email=<mail for guy who is registering>.


Note Before any RHN registeration use command:

rpm --import /usr/share/rhn/RPM-GPG-KEY.

FlexLM License Documentation

Common Commands used.

lmgrd -c <license_file_name> : To start the License.
lmdown -c <license_file_name> : Stop the Licenses.
lmreread -c <license_file_name> : To reread the License file and update running licenses as required without the need to shutdown the daemon.
lmstat -c <license_file_name> : To see the status of the running License.

PS: It is recommended to run Licenses from a user who doesnt has admin priviledges due to security concerns.