Nanofab Staff Internal Pages

From UCSB Nanofab Wiki
Revision as of 00:39, 7 November 2023 by Mehalana v (talk | contribs) (restic update)
Jump to navigation Jump to search

This page is intended for NanoFab Staff, internal.

Equipment Group

Process Group

NanoFab IT

Computers, Networks, FTP/File-Sync etc.

  • Instructions+Procedures can be found in gDrive > Facilities Group > Computer Systems
  • Unifi Network SDN
    1. Network Hardware Maintenance
      1. Add/Remover User for Unifi Network Controller
    2. Switch Maintenance
      1. Restart
      2. Reset
    3. Add/Replace new Switch visit store.ui.com/us/en we are using follow switch below
      1. switching-standard 48/24/16 ports
      2. switching-aggregation 8 Ports
      3. Flex Mini 5 Ports
    4. Add/ Replace Fail SFP Receiver When searching in the Maintenance Shop, locate the bin labeled SFP Receiver & look for 1000 BASE-LX 1310-nm SFP Receiver
    5. Add/ Replace Fail Fiber Cable When searching in the Maintenance Shop, locate the bin labeled Fiber LC to SC and search for the Optical Fiber Patch Cable.
    6. Add/Replace the Ethernet patch We have four length of the patch cable 3/5/10/15 ft located in the Tel/Data RM#1117 In both case please update the IT Hardware Log Sheet: Eth Ports, Endpoints
      1. Patch Pannel to Switch Label format : <<sw-name>>-<<port-number>>
      2. System to Wall Port Lable format : Nanofile-Network 10.1.1.1/16
  • Synology
    1. Active Backup for Business
      1. Add new device
      2. Add new server
      3. Restore a device
    2. Create a new Network Share Folder
    3. Add a Device to Apple Time Machine
    4. Server Maintenance
  • Nanofiles
    1. Failover (CARP)
    2. Restart
    3. Restore
    4. Add Device to Network
    5. Nanofile Sync
      1. Add a new Device
        1. Make sure Device is connected to Nanofiles
        2. Connect the Network drive \\nanofiles\staff
        3. Copy grsync directory from the network and paste it to c:\ drive
        4. Run the Init.bat in the grsync directory, press enter twice (make sure do not enter any password) besides remember the part of the stored SSH key
        5. open the sync.bat in notepad change
          1. SET MACHINE=[host-name]
          2. create a nanofiles - userdata directory in public folder Note : In case of Drive change use this syntax /cygdrive/[drive-letter]/
      2. Replace a Device
    6. Generating New WireGard VPN Credentials
      1. Server-Side
        1. Commend for generating the keys: cd /etc/wiregard wg genkey tee privatekey_<<replace it with username>> | wg pubkey > publickey_<<replace it with username>>
        2. Add a new line in /etc/hostname.wg0: wgpeer <<public_key_of_new_user>> wgaip 10.1.10.XXX/32
        3. Service Restart: sh /etc/netstart wg0
      2. Client-Side
        1. Generate the a new file with .conf extension [Interface] PrivateKey = <<privatekey_of_new_user>> Address = 10.1.10.XXX/32 DNS = 10.1.1.1 [Peer] PublicKey = hHngYmJZUxRfLAmCxhC00m80hjsNDKl4LKV4iDYN+TY=   AllowedIPs = 10.1.0.0/16 Endpoint = nanofiles1.ece.ucsb.edu:5900 PersistentKeepalive = 25
  • Signupmonkey
    • Failover
    • Restart
    • Restore
  • RechargeApp
    • Failover
    • Restart
    • Restore
  • Nanofabserver2
    • Restart
    • Restore
  • DataGrove
    • Restore Backup
      1. Login to nanofiles2
      2. Get the list of the Snapshots: restic -p /etc/restic-pwd --repo sftp:restic@datagrove:/srv/backup snapshots
      3. To view files within a snapshot: restic -p /etc/restic-pwd --repo sftp:restic@datagrove:/srv/backup ls -l [snapshort-id] | grep "[dir-path-to-search]"
      4. To restore a single directory: restic -p /etc/restic-pwd --repo sftp:restic@datagrove:/srv/backup restore [snapshort-id] --target [dir-path-save-restore-data] --include [dir-path-to-restore]
    • Note: Please replace all value in [square-bracket] as mention
  • NanoFab Wiki
    • Restart
    • Restore
  • NanoFab Server UPS
    • Battery Test
  • Utilities Software
    1. LogMeIn
      1. Add a new Device
      2. Add a new user
      3. Remove a External/Internal User

Administration

Useful UCSB Pages

  • Facilities Work Requests - Here's where you report facilities repair requests, like replacing light bulbs, building problems (doors, elevators) etc.

Old / Defunct

Old pages we don't use on the Wiki anymore, but are kept for possible utility later on.