Chg-ewx

From CHG-Wiki
Revision as of 11:28, 7 May 2015 by Libby (talk | contribs) (Note on ntpd stopped service issue re-occurrence.)
Jump to navigationJump to search

chg-ewx is a CentOS 6.5 VM created to host the new EWX. Previously the VM was installed as a Windows Server 2008 R2 VM, but was switched to Unix due to security issues.

General Info

System Name: chg-ewx.geog.ucsb.edu
IP: 128.111.234.190
Location: ubu
General Purpose: EWX development VM
Creation Date: December 14, 2014

System Configuration

  • OS Type: Unix
  • OS Version: CentOS 6.5
  • vCPUS: 6 allocated

Network

  • MAC Address: 52:54:00:4F:36:A7 (generated)

Storage

  • Memory: 128GB allocated
  • Size: 100GB allocated

Services

VM for hosting new EWX.

Notes

  • System should be fully gNIS integrated.
  • Created symbolic link in /usr/local/bin to point from python2.7 to python to address a script not running. Marty altered the files /etc/init.d/tomcat, /opt/tomcat/bin/startup.sh, and /opt/tomcat/bin/catalina.sh Libby 16:24, 24 February 2015 (PST)
  • For some reason, the ntpd service was stopped or not set up to start at startup, so hwclock and date were not sync. Should be resolved now. Libby 12:14, 25 February 2015 (PST)
    • ntpd service somehow got turned off again and 'date' was an hour off Libby 12:28, 7 May 2015 (PDT)
[root@chg-ewx ~]# service ntpd status
ntpd dead but pid file exists

To restart the service:

[root@chg-ewx ~]# service ntpd restart
Shutting down ntpd:                                        [FAILED]
Starting ntpd:                                             [  OK  ]

It may say that shutting down failed (if pid is still floating around out there) but you can check to see if it's running and that the clock is back to syncing with the following:

[root@chg-ewx ~]# service ntpd status
ntpd (pid  15430) is running...
[root@chg-ewx ~]# hwclock
Thu 07 May 2015 01:20:06 PM PDT  -0.102682 seconds
[root@chg-ewx ~]# date
Thu May  7 13:20:17 PDT 2015

virsh dominfo

[root@ubu ~]# virsh dominfo chg-ewx
Id:             1
Name:           chg-ewx
UUID:           dbf3a784-a35b-1fab-7fb0-003ee0b1eb97
OS Type:        hvm
State:          running
CPU(s):         6
CPU time:       169392.8s
Max memory:     134217728 KiB
Used memory:    134217728 KiB
Persistent:     yes
Autostart:      enable
Managed save:   no
Security model: selinux
Security DOI:   0
Security label: system_u:system_r:svirt_t:s0:c16,c27 (enforcing)