Sunday, September 28, 2008

Marimba Query Builder

I dont know how many of you have faced this problem.

Although Marimba is a very great Inventory mgt. tool; using it to gather out information is very very difficult.

A basic marimba query is some what similar to a SQL query, the first select is the first part of the query and the every other refine query is a nested in select query with it.

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.