Service Desk Knowledgebase: Scratch space: Difference between revisions

From Computer Laboratory System Administration
Jump to navigationJump to search
(→‎Help Desk Scratch Space: tidy up for WiKi)
Line 1: Line 1:
=Help Desk Scratch Space=
=Help Desk Scratch Space=


==Special information for re-use of PCCL0xx machines for 2015/10==
There is a ticklist of steps to ensure a lab system is setup and documented correctly at http://www.wiki.cl.cam.ac.uk/rowiki/SysInfo/MachineSetup whose ToC can be used as an aide-memoire to check that everything has been done, or by going into the text itself, to see what needs to be done.


Due to unfortunate expected dates for new Intel CPUs and chipsets and Asus Motherboards, a number of 2015/10 arrivals will be given ex-SW11 PWF Dell machines to tide them over until the BMC version of the Asus motherboard is available and tested.


To aid with the setup of these machines, the ToC has been analysed and the expected required steps listed below.


gt19 has decided to treat them all the same, so just the one case.
There are two classes of users:
RSs should be allocated machine names 128.232.65.5[0-9].
# RSs should be allocated machine names 128.232.65.5[0-9].
Other 'misc pool' temporary use (e.g. short term visitors; people buying kit when they have settled in) should be allocated machine names 128.232.65.6[0-9].
# Other 'misc pool' temporary use (e.g. short term visitors; people buying kit when they have settled in) should be allocated machine names 128.232.65.6[0-9].


Here is the ticklist from http://www.wiki.cl.cam.ac.uk/rowiki/SysInfo/MachineSetup
HelpDesk needs to tell oper the DNS name (''$HOST'') to use, as well as the user and office+desk if known.
Items marked '-' do not apply, those marked 'D' have been done.
I believe HelpDesk needs to do those marked '*' and oper those marked '+'.
HelpDesk needs to tell oper the DNS name to use as well as the user and office+desk
When done, oper will tell Helpdesk the Inv# and 'old' name of the system used, so that 2.2 and 2.3 can be done.
When done, oper will tell Helpdesk the Inv# and 'old' name of the system used, so that 2.2 and 2.3 can be done.


 
* '''2.2 DNS - pre use if needed (e.g. Linux)''': update the TXT RR for the machine to note the PCCL0xx machine actually used
2 Pre install
* '''2.3 Inventory - pre use if using DHCP (Windows) <CLCO>''': Update the Inventory record for the PC: replace the name of the host; put the old name and the RT# in comment' set the user and office
D 2.1 Gather info - first thing
* '''3.4 keytab install (Linux)''': Ensure $HOST has a keytab. If the command below fails, create a new keytab (contact gt19 is necessary). On $HOST run:
* 2.2 DNS - pre use if needed (e.g. Linux)
cl-onserver --keytab
names and addresses assigned, but once 3.3 is done, update TXT RR
* '''4.1 User Admin - when running if needed (Linux)''': If oper were not told the 'assigned user', on $HOST run:
* 2.3 Inventory - pre use if using DHCP (Windows) <CLCO>
cl-asuser cl-hostid-fix --user $CRSID -a
once 3.3 is done, put RT# in comment, set user and office
* '''4.2 Arrivals - when done''': fix https://dbwebserver.ad.cl.cam.ac.uk/SCG/Equipment/PhDArrivals.aspx and update RT ticket to include machine name ($HOST) in ticket Subject:
- 2.4 DHCP - pre use if needed (Windows) LAN - any time (Linux on IPv6 VLAN)
* '''4.3 Tell the user - when done''': Send final 'std email' to user. Resolve RT ticket.
- 2.5 LDAP - pre use if needed (Linux - rarely)
* '''4.6 ssh_known_hosts - at leisure if needed (Linux)''': when the machine is running, on a '''different''' machine run
- 2.6 local user - before user login if needed (Linux in DMZ)
- 2.7 AD - pre use generate host keytab if needed (Linux)
 
3 Machine install
+ 3.1 Network setup <oper>
Need to setup and document UTP connection
- 3.2 BMC BIOS setup - if present <oper>
+ 3.3 OS install <oper>
unplug HDD SATA cable and put SSD loose in lower 3.5" HDD slot
Install OS
* 3.4 keytab install (Linux)
On $HOST: cl-onserver --keytab
If there is no keytab to install, create one and retry
 
4 Tidies
* 4.1 User Admin - when running if needed (Linux)
  If oper were not told the 'assigned user' for 3.3,
on $HOST: cl-asuser cl-hostid-fix --user $CRSID -a
* 4.2 Arrivals - when done
fix https://dbwebserver.ad.cl.cam.ac.uk/SCG/Equipment/PhDArrivals.aspx
Update RT ticket to include machine name in ticket Subject:
* 4.3 Tell the user - when done
Send user message
Resolve RT
- 4.4 Rack - at leisure if needed
- 4.5 hosts.props - at leisure
* 4.6 ssh_known_hosts - at leisure if needed (Linux)
when the machine is running, on *another* machine run
  /global/src/usr.bin/ssh/fetch-host-key scan $HOST
  /global/src/usr.bin/ssh/fetch-host-key scan $HOST
- 4.7 BMC ACL - when up if present
* '''4.8 ownfiles - at leisure if needed (Linux)''': to ensure that '''ownfiles''' data is collected, run
* 4.8 ownfiles - at leisure if needed (Linux)
  (umask 2; touch /usr/groups/linux/ownfiles/CKSUM/$HOST)
  run: (umask 2; touch /usr/groups/linux/ownfiles/CKSUM/$HOST)
* '''4.9 WoL - at leisure''': to ensure that WoL is available, run:
* 4.9 WoL - at leisure
  /usr/groups/netmaint/boot_wol_file-add.pl $HOST
  run: /usr/groups/netmaint/boot_wol_file-add.pl $HOST
+ 4.10 Wiring database - once physically installed <oper>
document what was done in 3.1 if not already done
- 4.11 Snapshot - once system in service (VM)
- 4.12 UPS - once physically installed
- 4.13 INSTALLED - once system is FULLY installed (linux)
 


==Procedure To Be Tidied Up==
==Procedure To Be Tidied Up==

Revision as of 15:24, 10 September 2015

Help Desk Scratch Space

Special information for re-use of PCCL0xx machines for 2015/10

There is a ticklist of steps to ensure a lab system is setup and documented correctly at http://www.wiki.cl.cam.ac.uk/rowiki/SysInfo/MachineSetup whose ToC can be used as an aide-memoire to check that everything has been done, or by going into the text itself, to see what needs to be done.

Due to unfortunate expected dates for new Intel CPUs and chipsets and Asus Motherboards, a number of 2015/10 arrivals will be given ex-SW11 PWF Dell machines to tide them over until the BMC version of the Asus motherboard is available and tested.

To aid with the setup of these machines, the ToC has been analysed and the expected required steps listed below.

There are two classes of users:

  1. RSs should be allocated machine names 128.232.65.5[0-9].
  2. Other 'misc pool' temporary use (e.g. short term visitors; people buying kit when they have settled in) should be allocated machine names 128.232.65.6[0-9].

HelpDesk needs to tell oper the DNS name ($HOST) to use, as well as the user and office+desk if known. When done, oper will tell Helpdesk the Inv# and 'old' name of the system used, so that 2.2 and 2.3 can be done.

  • 2.2 DNS - pre use if needed (e.g. Linux): update the TXT RR for the machine to note the PCCL0xx machine actually used
  • 2.3 Inventory - pre use if using DHCP (Windows) <CLCO>: Update the Inventory record for the PC: replace the name of the host; put the old name and the RT# in comment' set the user and office
  • 3.4 keytab install (Linux): Ensure $HOST has a keytab. If the command below fails, create a new keytab (contact gt19 is necessary). On $HOST run:
cl-onserver --keytab
  • 4.1 User Admin - when running if needed (Linux): If oper were not told the 'assigned user', on $HOST run:
cl-asuser cl-hostid-fix --user $CRSID -a
  • 4.2 Arrivals - when done: fix https://dbwebserver.ad.cl.cam.ac.uk/SCG/Equipment/PhDArrivals.aspx and update RT ticket to include machine name ($HOST) in ticket Subject:
  • 4.3 Tell the user - when done: Send final 'std email' to user. Resolve RT ticket.
  • 4.6 ssh_known_hosts - at leisure if needed (Linux): when the machine is running, on a different machine run
/global/src/usr.bin/ssh/fetch-host-key scan $HOST
  • 4.8 ownfiles - at leisure if needed (Linux): to ensure that ownfiles data is collected, run
(umask 2; touch /usr/groups/linux/ownfiles/CKSUM/$HOST)
  • 4.9 WoL - at leisure: to ensure that WoL is available, run:
/usr/groups/netmaint/boot_wol_file-add.pl $HOST

Procedure To Be Tidied Up

So from https://rt.cl.cam.ac.uk/Ticket/Display.html?id=96922 this seems to boil down to the following for the Help Desk for the https://rt.cl.cam.ac.uk/Ticket/Display.html?id=96580 test case.

NOTE: There is ONLY now one case...


Machine install

keytab install (Linux)

On $HOST: cl-onserver --keytab
If there is no keytab to install, create one and retry

Tidies

  • 4.1 User Admin - when running if needed (Linux)
If oper were not told the 'assigned user' for 3.3,
on $HOST: cl-asuser cl-hostid-fix --user $CRSID -a
  • 4.2 Arrivals - when done
fix https://dbwebserver.ad.cl.cam.ac.uk/SCG/Equipment/PhDArrivals.aspx
Update RT ticket to include machine name in ticket Subject:
  • 4.3 Tell the user - when done
Send user message
Resolve RT
  • 4.6 ssh_known_hosts - at leisure if needed (Linux)
when the machine is running, on *another* machine run
/global/src/usr.bin/ssh/fetch-host-key scan $HOST
  • 4.8 ownfiles - at leisure if needed (Linux)
run: (umask 2; touch /usr/groups/linux/ownfiles/CKSUM/$HOST)
  • 4.9 WoL - at leisure
run: /usr/groups/netmaint/boot_wol_file-add.pl $HOST


HelpDesk needs to tell oper the DNS name to use as well as the user and office+desk When done, oper will tell Helpdesk the Inv# and 'old' name of the system used, so that 2.2 and 2.3 can be done.

Pre install

  • 2.2 DNS - pre use if needed (e.g. Linux)
names and addresses assigned, but once 3.3 is done, update TXT RR
  • 2.3 Inventory - pre use if using DHCP (Windows) <CLCO>
once 3.3 is done, put RT# in comment, set user and office