Difference between revisions of "Nanofab Staff Internal Pages"

From UCSB Nanofab Wiki
Jump to navigation Jump to search
Line 69: Line 69:
 
**Restore Backup
 
**Restore Backup
 
**#Login to nanofiles2
 
**#Login to nanofiles2
**#Get the list of the Snapshots restic -p /etc/restic-pwd --repo sftp:restic@datagrove:/srv/backup snapshots
+
**#Get the list of the Snapshots: restic -p /etc/restic-pwd --repo sftp:restic@datagrove:/srv/backup snapshots
**#To view files within a snapshot: 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]
+
**#To view files within a snapshot: restic -p /etc/restic-pwd --repo sftp:restic@datagrove:/srv/backup ls -l [snapshort-id] --target /srv/users/Staff/Incoming/tools/FluorineEtcher/logs | grep "[dir-path-to-search]"
**#To restore a single directory: restic -p /etc/restic-pwd --repo sftp:restic@datagrove:/srv/backup ls -l d616b3c9 --target /srv/users/Staff/Incoming/tools/FluorineEtcher/logs | grep "[dir-path-to-search]"
+
**#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'''
 
*'''NanoFab Wiki'''
 
**Restart
 
**Restart

Revision as of 12:37, 18 August 2023

Pages 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
      2. Replace a Device
    6. Generating New WireGard VPN Credentials
      1. Server-Side
        1. Commend for generating the keys cd /etc/wireguard wg genkey | tee privatekey_<<replace it with username>> | wg pubkey > publickey_<<replace it with username>>
        2. Add a new line in /etc/hostname.wg0 PublicKey = <<public_key_of_new_user>> AllowedIPs = 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] Address = 10.1.10.XXX/32 DNS = 10.1.1.1 PrivateKey = <<privatekey_of_new_user>>
          [Peer] PublicKey = hHngYmJZUxRfLAmCxhC00m80hjsNDKl4LKV4iDYN+TY= Endpoint = nanofiles1.ece.ucsb.edu:5900 AllowedIPs = 10.1.0.0/16 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] --target /srv/users/Staff/Incoming/tools/FluorineEtcher/logs | 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

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.