AIR Wiki : VanGoghSysAdmin

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
VanGogh runs NIS (see VanGoghHostServices)

Regular updates


Run the commands listed below on vangogh0.

Run updates on vangogh1...vangogh8:
cfrun_nodes all -DSECURITY


Run updates on vangogh0:
apt-get update
apt-get upgrade


Details of cfengine scripts

cfrun_nodes operates as follows:

See vangogh0:/data/cfengine/vangogh/clients/cf_files/actions.cf at the bottom:

shellcommands:
	 SECURITY::
	      "$(SCRIPTS)/Upgrade"


This runs the script vangogh0:/data/cfengine/vangogh/clients/cf_files/scripts/Upgrade

This Upgrade script performs an apt-get update and and apt-get upgrade.

Create Users


See AddClusterUser

Add Packages


Run the command rpm -qa to list the packages that are installed at a host.

Search for packages with the command: apt-cache search <search_term>. Because the APT package cache is used there will be searched in the information of all available packages, not just the installed ones.

Install the packages at the nodes with the following steps at node vangogh0:
  1. Add to the Cfengine configuration file
    /data/cfengine/vangogh/purge/etc/cfengine/cf_files/change_management/packages.cf
    below the lines packages: and any:: the following lines to install the packages:
    packages:
    	    any::
    	            <package> [<package> [...]]
    	                    action=install
  2. Run the command: cfrun_nodes all -DCHANGE.
  3. Uncomment the <package> [<package> [...]] and action=install lines. Otherwise the install commands will be rerun.

Install the packages at vangogh0 with the command: apt-get install <package> [<package> [...]].

Categories
CategoryProcedures
CategorySysAdmin

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.0268 seconds