# Checklist for installed Unix/Linux TS servers to be used # for sanity tests before hand-over to customer. # The HUB Site Configuration setup collection may be necessary # # Limitation: NO legacy environment, only Hubs # # Rev 0.1 2011-02-25 # Jonas Jerlin # Addition of Solaris # # Rev 0.2 2011-02-28 # Jonas Jerlin # List made shorter, only Solaris/Linux when it differs # # Rev 0.3 2011-03-18 # Jonas Jerlin # Added firmware and partitioning check # # Rev 0.4 2011-03-31 # Jonas Jerlin # Added comments # # Rev 0.5 2011-04-05 # Jonas Jerlin # Added openafs version for LMWP 3.0 # # Rev 0.6 2011-04-11 # Jonas Jerlin # Added check for WRITE_HOSTNAME_TO_HOSTS # and 127.0.0.2 in /etc/hosts # # Rev 0.7 2011-04-19 # Michael Tosch # replace 127.0.0.2 by fixed IP address # (otherwise bad apps need external resolver) # Rev 0.8 2011-05-02 # Jonas Jerlin # Added nxnode subscription test # Rev 0.8 2011-05-20 # Michael Tosch # Fixes: swap, nxnode/server,df,pkginfo,hpsa # Rev 0.9 2011-07-08 # Jonas Jerlin # Added check for Cache Size in disk controller # Todo: what is the lower limit ? # Rev 1.0 2011-07-27 # Michael Tosch # Cups, /root permission, nsswitch.conf # Rev 1.1 2011-08-18 # Jonas Jerlin # Additional checks for RUN_UPDATEDB and RUN_PARALLEL ############################################# ############################################# # Check kernel version uname -a # Check firmware version, Linux # BIOS MUST NOT be October version 2010, January 2011 or later is preferred. # MUST NOT be December version 2010, 12/01/2010 dmidecode -t bios | head -10 # iLO, login to ILO or if hponcfg is installed on commandline # At least 2.0 hponcfg # Smart-array driver, at least 3.0 cat /proc/driver/cciss/cciss0 # Find all slots used hpacucli ctrl all show # Check Cache size for the used slot hpacucli ctrl slot= show |grep "Cache Size" # Check local disk partitioning. # At least 25GB for / and at least 100MB for /boot df -lh | head # Check for /etc/rndrelease cat /etc/*release # Check if /etc/hpsa is present, # only present if installed by Opsware(=HPSA) cat /etc/hpsa # Linux # Check if enough swap space is allocated, long term formula RAM_GB^0.8 * 1.5 free -g # Linux , 20-30 GB swap -l # Solaris, 40-80,000,000 blocks # Check if DNS setup is ok cat /etc/resolv.conf # if it has Hub nameservers # Check NTP setup ntpq -p # Check timezone, and correct time date # Check automount of home-directories cat /etc/auto.master # has "/home ... auto.homehub", before an optional "+auto.master" df /home # is automount # Check if VAS is correctly setup domainname # is the same as the Hubsite NIS domain ypwhich # is localhost(VAS) /opt/quest/bin/vastool status # Check NIC redundancy setup ifconfig -a # Linux look for bond0 ifconfig -a # Solaris look for aggr1 # Check if WRITE_HOSTNAME_TO_HOSTS is set to "no" # Default in SLED11 but not in SLED 10. # If not there, add grep WRITE_HOSTNAME_TO_HOSTS /etc/sysconfig/network/dhcp # Check if RUN_UPDATEDB is set to "no" grep 'RUN_UPDATEDB=' /etc/sysconfig/locate # Check if RUN_PARALLEL is set to "no" grep RUN_PARALLEL /etc/sysconfig/boot # If there - replace by real IP address (from ifconfig -a or host `hostname`) grep 127.0.0.2 /etc/hosts # Check ClearCase version and that it is working # General recommendation if not stated other version 7.1.1.3 # For SLED 10 7.1.1.3 and 7.1.1.4 crash when restarted; 7.1.1.1 okay # SLED 11 SP1 needs 7.1.1.4 /usr/atria/bin/cleartool -ver /usr/atria/bin/cleartool lsview -short /usr/atria/bin/cleartool startview ... # Check AFS is working and AFS version >= 1.4.12.1-2 # LMWP 3.0 AFS version >= 1.4.11-4.1 ls -ld /app /env /etc/home pkginfo | grep -i afs | while read skip pkg skip; do pkginfo -x $pkg; done # Solaris rpm -qa | grep -i afs # Linux # Check ERM grep /etc/passwd login using your ERM account nsu # possible to become root ? # Check ESL (In production ?, outages ?, is ERM push working ) ### Check NX Start rpm -qa | grep -i nx # Check version of installed NX (not all components are always installed) # At least nxnode 3.4.0-16, nxserver 3.4.0-17, nxclient 3.4.0-7 # # NX server checks nxserver --nodelist # From server, is this a node or a server ? # Is the server a node in its cluster ? nxserver --subscription # (type of license, is it temporary? Is a license ordered ?) # NX node checks nxnode --subscription # (type of license, is it temporary? Is a license ordered ?) ### Check NX End ### Check Citrix Start pkginfo | grep -i ctx # Correct version of Citrix? showrev -p | grep PSE #Should return PSE400SOL063 (latest patch available 2011-02-24) , otherwise this server should be patched /opt/CTXSmf/sbin/ctxfarm -l (from any Citrix server, show farm members and master) echo list | /opt/CTXSmf/sbin/ctxlsdcfg (displays license configuration) ### Check Citrix End # Cups, /root permission, nsswitch.conf /app/adm/ts/lts_system_finish.sh # Linux /app/adm/ts/uts_system_finish.sh # Solaris