Thursday, January 9, 2020

AWS Storage Volume iSCSI CHAP Authentication for Windows Server 2016 and VMware iSCSI Datastores

1. Create the VM on your VMware Platform for the AWS Storage Volume Gateway (YouTube: https://www.youtube.com/watch?v=_h_kPmXStWI)

2. What is not documented anywhere in AWS Documentation is that when you're configuring the ISCSI connection. You have to use the Initiator name that you typed when you configured your CHAP Authentication. Here's how you do it.


Open Notepad or whatever program you use to save notes and paste the Initiator Name and your password so you have it.

3. Go to your Windows Server 2016 box (This is the only OS I tested this on for now) and fire up iSCSI Initiator and then click on connect for the volume your working with.

(iSCSI Initiator Setup: https://amzn.to/36FJcWj or just YouTube it)

4. Add the Initiator Name next to Name under Enable Chap Log On (make sure this box is checked).



5. Format your drive in Disk Management for Windows Server and that's it folks.

6. This is also the same for VMware CHAP authentication for the Storage Adapter Authentication of ISCSI.




Share:

Saturday, January 4, 2020

Install Windows Remote Server Administration Tools on Windows 10 1909 (RSAT)

Microsoft has now included the Windows Server Remote Server Administration (RSAT) tools in Windows 10 release 1909 as a FOD (Feature on Demand).

Instead of playing around with the Windows UI.

Launch Powershell as an administrator and run this command

Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online

It will run for about 5-10 minutes.

It takes forever so you can just use this script from Martin Bengtsson: https://gallery.technet.microsoft.com/Install-RSAT-for-Windows-75f5f92f
Share:

Sunday, December 8, 2019

Free College and Trade Schools in the US?

$0 No fee Courses - Certificates or Recognition of Completion Requires a Fee

1. https://online-learning.harvard.edu/ (Harvard)

2. https://www.open.edu/openlearn/

3. https://www.futurelearn.com/courses/categories/tech-and-coding-courses

4. https://online.stanford.edu/

5. https://www.coursera.org/

6. http://oli.cmu.edu/independent-learner-courses/

7. https://ocw.mit.edu/index.htm

8. https://www.edx.org/

GUI Web & Mobile Development - "Low Code"

https://www.outsystems.com/

Tuition-Free US Colleges. Tuition-free does not mean $0.00 in college costs. It just means that you are not paying for tuition. You will still need money for other fees the college enrollment may charge for in providing services to students (e.g. books, meals, room and board if applicable, exams, etc). So...it's not a free ride. You also have to keep your academics up at all of these schools. Do not expect a free ride at these schools. You have to work and with a $0.00 tuition, you have no excuse not to succeed.

$0 Tuition Colleges (Regionally Accredited by US Department of Education)

Before attending any school in the US, make sure that they are listed here with Regional Accreditation or Accredited Distance Education (Bare Minimum): https://ope.ed.gov/dapip/#/home

Regional Accreditation Bodies within the USA as of 12/2019:
  1. Accrediting Commission for Community and Junior Colleges (ACCJC) Western Association of Schools and Colleges
  2. Higher Learning Commission (HLC)
  3. Middle States Commission on Higher Education (MSCHE)
  4. New England Commission of Higher Education (NECHE)
  5. Northwest Commission on Colleges and Universities (NWCCU)
  6. Southern Association of Colleges and Schools Commission on Colleges (SACSCOC)
  7. WASC Senior College and University Commission (WSCUC)
CHEA List of Accreditation Bodies (e.g. Regional and Professional): CHEA

1. https://www.berea.edu/give/no-tuition/ (KY) Students must work up to 10 hours per week on campus.

2. NYU Medical School (NY City) (As long as the student meets academic progress requirements: https://med.nyu.edu/education/md-degree/md-affordability-financial-aid/cost-attendance)

3. Alice Loyd College (KY): As long as you are from their service area (https://www.alc.edu/about-us/our-service-area/)

4. https://www.cofo.edu/ (MI): Don't expect a free ride. The college requires students to participate in up to 15 hours a week, plus two 40-hour weeks of on-campus work during the academic year for full-time students. Part-time students have to pay tuition.

5. https://www.usafa.af.mil/ (CO): Requires military service after graduation

6. https://www.usna.edu/Admissions/index.php US Naval Academy (MD): Requires military service after graduation. Requires a congressional letter for entrance and physical requirements for matriculation: https://www.usna.edu/Admissions/Candidate-Fitness-Assessment.php

7. https://www.usmma.edu/ US Merchant Marine Academy (NY)

8. https://westpoint.edu US Army Academy (WestPoint) (NY)

9. https://www.uscga.edu/ US Coast Guard Academy (CT)

11.

$0 Tuition College (Distance Education Accredited by US Department of Education)

1. https://www.uopeople.edu/tuition-free/what-is-tuition-free/

2. The Apprentice School (VA): https://www.as.edu/index.html (Well known and respected Trade School for Ship Building. Requires US Citizenship and to be able to pass a US Government security clearance check). Paid while in training and upon completion. An apprenticeship can last 4-5 years. Certificate upon completion.

Full Ride Scholarships or 100% Tuition Scholarship

1. Any US Regionally Accredited College (CIA Scholarship): https://www.cia.gov/careers/student-opportunities/undergraduate-scholarship-program.html

2. https://www.webb.edu/ (NY) Full Ride Scholarship for US Citizens and Permanent Residents + costs for room and board

3. Williamson College of the Trades (PA) Men Only. Full Tuition covered by Scholarship (Funded by Federal and State Grants. https://www.williamson.edu/admissions/financial-aid/cost-of-attendance/
Share:

Tuesday, December 3, 2019

Fix Veeam Backup Error VSSControl -2147212529

1. Login to the VM and run Powershell or CMD prompt from an administrator-level login.

2. Run vssadmin list providers

3. (FYI. This is for VMware or Nutanix Acropolis VM's, not Hyper-V)...

Anyway...you will see this a reference to Hyper-V:

"Hyper-V IC Software Shadow Copy Provider"

Open up regedit and delete the key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Providers\{74600e39-7dc5-4567-a03b-f091d6c7b092}]
@="Hyper-V IC Software Shadow Copy Provider"
"Type"=dword:00000002
"Version"="1.0.0.0"
"VersionId"="{c797fff9-2c3e-453c-a3e9-cc7673a6c732}"


4. Reboot the server.

5. Kick off the backup again and it will run. Thank you Micro$oft for buying your Hyper-V components into the OS so deeply...good grief.

Reference Article: https://www.veeam.com/kb1785
Share:

Check Problems on Multiple Windows Servers with PowerShell

1. On Linux create a file with vi and hit "i" on the keyboard and paste the data in. On Windows create a file and save it with "All Files" and put .ps1 as the extension. Powershell on Linux does not have the get-eventlog command.

2. Don't forget to change the hostname or point to the file with the list of hostnames:

$logs = get-eventlog system -ComputerName typemyservername -source Microsoft-Windows-Winlogon -After (Get-Date).AddDays(-7);
$res = @(); ForEach ($log in $logs) {if($log.instanceid -eq 7001) {$type = "Logon"} Elseif ($log.instanceid -eq 7002){$type="Logoff"} Else {Continue} $res += New-Object PSObject -Property @{Time = $log.TimeWritten; "Event" = $type; User = (New-Object System.Security.Principal.SecurityIdentifier $Log.ReplacementStrings[1]).Translate([System.Security.Principal.NTAccount])}};
$res

Reference:

https://www.codetwo.com/admins-blog/how-to-check-event-logs-with-powershell-get-eventlog/
Share:

Thursday, November 14, 2019

How to Install the Veeam Agent for Linux on Ubuntu Linux

1. You can run a test on an Ubuntu server VM on VMware Workstation or via Virtualbox.

2. Download the free edition for Veeam for Linux agent (Note: The agent relies on Veeam Snap, so you need to install both).
https://www.veeam.com/linux-backup-download.html

Public Repository: http://repository.veeam.com/.private/deb/ (RPM or Deb Package managers)

*Instructions: https://helpcenter.veeam.com/docs/agentforlinux/userguide/installation_offline.html?ver=30#deb

There is a depedency on dkms. Run which dkms on your server CLI to verify that it is installed. You will get a response /usr/sbin/dkms if it is installed.

If it is not installed run sudo apt-get install dkms - y

3. Create a folder for veeam under /opt

4. sudo wget http://repository.veeam.com/.private/deb/veeamsnap/veeamsnap_3.0.2.1185_all.deb
5. sudo wget http://repository.veeam.com/.private/deb/veeam/veeam_3.0.2.1185_i386.deb

FYI. If you use the links here https://www.veeam.com/linux-backup-free-download.html it will give you version 1.0 etc of the application. Grab the latest version directly from the repositories instead so you have the latest release.

6. sudo dpkg -i ./veeamsnap* && sudo dpkg -i ./veeam*

7. After installation run sudo veeam and then it will open the prompt for the location you want to store you backup.

8. Hit "C" on your keyboard to configure the backups.


9. After you click "C". Name your backup job and finish the configurations. FYI for you Windows dudes...there is no mouse. You have to use the keyboard tab key.


10. Finish the configurations. Identify your Veeam Repository or you can backup to a location of your choice.


11. After you finish identifying your location (AWS S3, Google Cloud Bucket, etc). Run your backup.

12. Recover your backup into AWS and Bam! Done.

13. Veeam CLI commands:

sudo veeam
sudo veeamconfig (shows a list of commands)

command reference on the man page. Run 'man veeamconfig'

check previous sessions: sudo veeamconfig session list

https://www.veeam.com/blog/operating-backup-restore-linux-with-command-line.html

Linux Agent Errors:
https://www.veeam.com/kb3024


Share:

Wednesday, November 13, 2019

Web URL Spaces

The following character set is for spaces in URL addresses since website URL addresses cannot have spaces by protocol.

%20 this is used in the case of a space of a web URL
Share: