Service Desk Knowledgebase: Operator Tasks: Difference between revisions
Line 108: | Line 108: | ||
'''dev=<font color="red">sda2</font>''' | '''dev=<font color="red">sda2</font>''' | ||
'''cl-asuser blkid | grep /dev/$dev''' | '''cl-asuser blkid | grep /dev/$dev''' | ||
* If the device is listed as being | * If the device is listed as being available, and is 'spare' as it is '''NOT''' reported as in use by the "'''df /'''" command then run the following to zero the first 3 blocks: | ||
'''sudo dd if=/dev/zero bs=512 count=3 of=/dev/$dev''' | '''sudo dd if=/dev/zero bs=512 count=3 of=/dev/$dev''' | ||
* To do the reinstall run | * To do the reinstall run |
Revision as of 10:08, 2 September 2015
This is the Operator Tasks content page of the CL Wiki Service Desk Knowledgebase. Its purpose is to provide information to the Service Desk team on how to handle problems and requests about this CL service. If you are involved with the provision of this CL service please feel free to add to the knowledge about that it.
If CL staff need to tell the Service Desk team about problems with this service please email
sys-admin-aside@cl.cam.ac.uk.
Return to the Service Desk Knowledgebase SERVICE PORTFOLIO
Key Service Description & URLs
The operation processes are to install and move hardware and to install and update the operating system when a machine is re-deployed. In addition telephones and network connections are maintained. Unused equipment is to be reclaimed and unused wiring to be removed.
- SysInfo main page.
- SysInfo/Helpdesk page.
- CL Administration page.
- CL SCG Database page.
- Computer Lab RT
- Office plan page.
CL Customer Documentation
Further CL Sys-Admin Resources
- http://www.wiki.cl.cam.ac.uk/clwiki/SysInfo/HelpDesk/Documentation - OPenRoomMap (ORM)
Underpinning Services
- ??? - Any supporting or underpinning services
Customer-base for this Service
- All staff and students of the Computer Laboratory
Costs
- Free to all current staff and students of the Computer Laboratory
SLA
- N/A
Service Desk Call Handling Procedure
- RT tickets can be passed to the Operator team by changing the Queue as oper with the Owner set to Nobody and the Status set to new.
- RT tickets can be escalated to the sys-admin team by changing the Queue as sys-admin with the Owner set to Nobody and the Status set to new.
- RT tickets can be escalated to the experts by changing the Queue to backoffice with the Owner set to Nobody and the Status as new.
- RT tickets can be Taken from the oper queue by members of the oper team. When the work requested has been completed the ticket status should be set to new, the owner to nobody and the queue to sys-admin.
Contacts
Primary
- ???@cl.cam.ac.uk (Goes to ???)
- ???@lists.cam.ac.uk (Goes to ???)
- Tel: ???
Other
Availability
- Monday to Friday 9-5
Hints, Tips & Known Issues
Procedure for Patching
Graham Titmus (27/01/2015)
The patches are documented in the database. All physical cables on the patch panels should be documented. For patches for telephones only the patch should have a comment in it which has Telephone at the start. All other patches will also have a connection to a physical machine as well.
If a person is being moved from one room to another then the Staff List should be updated when the move is completed with the new office number, the desk they are at is found form the Office Plan any mistakes in that should be reported to Reception to be corrected.
Adding a patch
- Go to the floorbox page and enter the box name (somethings like WC2E-012 - the box number always ends with 3 digits pad with zeros if required) and press [Enter]
- If no connection shows up for the port you plan to use press the [Add Connection] button
- On the AddConnection page add in the port number (between 1 and 4, phones usually are in port 1) and the machine inventory number. Then click on create.
- You will be taken back to the floorbox page. Click on [Trace] by the connection you have just added.
- On the Cable Trace page you should see a single line for a connection in the floor box. Click on [Add Patch].
- You will then be on the Add Patch page. Enter the other end of the patch in the form HOST-012 (use 3 digits with preceding zeros for the last part of the host port). Click on [Create]. The wiring database is now completely updated.
- Put a comment on the RT ticket saying which HOST port the patch was added to.
- The VLAN now needs to be configured for that port by the operators following the following the Updating VLANs in the Cisco switches procedure.
Removing a patch
If the connection is shared with a telephone then the patch should not be removed but the CONnection for the machine does need to be removed.
With Phone
- Go to the floorbox page and enter the box name (somethings like WC2E-012 - the box number always ends with 3 digits pad with zeros if required) and press [Enter]
- Click on [Trace] by the connection you have just added.
- On the Cable trace page you should see a four line trace for a connection in the floor box. Click on the number to the left of the label [CON].
- On the next page click on Delete Connection
- Put a comment on the RT ticket saying which HOST port the patch was removed from.
- The VLAN now needs to be configured for that port by the operators following the Updating VLANs in the Cisco switches procedure .
Without phone
- Go to the floorbox page and enter the box name (somethings like WC2E-012 - the box number always ends with 3 digits pad with zeros if required) and press [Enter]
- Click on [Trace] by the connection you have just added.
- On the Cable trace page you should see a four line trace for a connection in the floor box. Click on [Delete All].
- Put a comment on the RT ticket saying which HOST port the patch was removed from.
- The VLAN now needs to be configured for that port by the operators following the Updating VLANs in the Cisco switches procedure .
Reinstall a machine
Graham Titmus (27/01/2015)
To reinstall a machine that is currently working you can do so by remotely copying a fresh image into a spare partition, while the machine is in use.
- Use SSH to login to the machine using your CL account
- Check to see which partitions are available with a 'ext' file systems on the partition with:
cl-asuser blkid | grep ext
- Check which partition is in use at present
df /
- Choose the device like /dev/sda2 that is not currently in use - the disc may show up as a UUID which you check against the 'blkid' listing (if /dev/sda2 is the current root then use dev=sda1 or dev=md2 etc instead)
dev=sda2 cl-asuser blkid | grep /dev/$dev
- If the device is listed as being available, and is 'spare' as it is NOT reported as in use by the "df /" command then run the following to zero the first 3 blocks:
sudo dd if=/dev/zero bs=512 count=3 of=/dev/$dev
- To do the reinstall run
sudo /a/misc-nosnap1/distros/ubuntu/clone/restore reinstall $dev
- If sudo says that the command is not permitted, someone with suitable privileges can add the cl-sudoers-d-uis-oper-reinstall package, and then anyone listed in /etc/sudoers.d/cl-90-uis-oper-reinstall will be able to use it, so can run restore with a first arguement of 'safe' i.e.:
sudo /a/misc-nosnap1/distros/ubuntu/clone/restore safe im=R reinstall $dev
- When the reinstall is completed, reboot the machine is there are no other users, or liaise with any active users.
- Once rebooted, check you can login
- If the machine is to be given to someone different from the previous owner, then ensure the database is up to date, and run, replacing $crsid with their actual CRSid i.e. gt19,
cl-asuser cl-hostid-fix --user $crsid -a
Install a new machine
Graham Titmus (27/01/2015)
The simplest option is to clone a master disc.
Linux Operating System Upgrades
Piete Brooks (27/04/2015) DRAFT based on RT#95410
This documents a straightforward case - does oper know how to do it? Basically:
cd /a/misc-nosnap1/distros/ubuntu/clone
head restore
and see the last two lines. In this case:
sudo dd if=/dev/zero of=/dev/sda1 bs=512 count=3
sudo ./restore reinstall sda1
press [Enter] a few times (or just wait), and on next reboot it will be 14.04. Best to reboot and test things while a CO is around 'just in case'.
Categorising Keywords
- Machine moves installation network patching telephones