Personal tools

Difference between revisions of "VmMrtSrv06"

From MohidWiki

Jump to: navigation, search
Line 23: Line 23:
 
  VMMRTSRV06                          36    256  150
 
  VMMRTSRV06                          36    256  150
  
Enable sshd and httpd
+
Enable sshd
 
  > su
 
  > su
 
  > service sshd start
 
  > service sshd start
Line 29: Line 29:
 
  > chkconfig --level 345 sshd on
 
  > chkconfig --level 345 sshd on
 
  > chkconfig | grep sshd
 
  > chkconfig | grep sshd
 +
 +
and httpd
 +
> service httpd start
 +
> service httpd status
 
  > chkconfig --level 345 httpd on
 
  > chkconfig --level 345 httpd on
 
  > chkconfig | grep httpd
 
  > chkconfig | grep httpd
> service httpd start
 
> service httpd status
 
  
 
=== Maintenance ===
 
=== Maintenance ===

Revision as of 16:35, 2 February 2009

VmMrtSrv06 is a xen domain built in Maretec xen server composed of a 20GB LV and a temporarily device made of a dvd iso.

Objective/Function

This domain is meant to become a dedicated OpenDAP/Thredds/LAS and ftp server.

Logs

Creation

From the maretec user at the MrtXnSrv, 192.168.20.125:

> sudo lvcreate -n vmmrtsrv06 -L 20G dados01
> cd /home/maretec/xen_configs
/home/maretec/xen_configs> sudo /usr/sbin/xm new -F vmmrtsrv06-1.0.cfg
> sudo /usr/sbin/xm start vmmrtsrv06
> sudo /usr/sbin/xm sched-credit -d VMMMRTSRV06 -w 256 -c 150
> sudo /usr/sbin/xm sched-credit
sched-credit> Name                                ID Weight  Cap
Domain-0                             0    256    0
VMMRTSRV02                          17    256    0
VMMRTSRV03                                256    0
VMMRTSRV04                          19    256    0
VMMRTSRV05                          33    256    0
VMMRTSRV06                          36    256  150

Enable sshd

> su
> service sshd start
> service sshd status
> chkconfig --level 345 sshd on
> chkconfig | grep sshd

and httpd

> service httpd start
> service httpd status
> chkconfig --level 345 httpd on
> chkconfig | grep httpd

Maintenance