Compare commits
11 Commits
ddaad04640
...
04-02-a
Author | SHA1 | Date | |
---|---|---|---|
3a3f5bcd02 | |||
b24b3805df | |||
7717622db3 | |||
067d8161df | |||
4795c6fe84 | |||
5883a37050 | |||
b74256b7c7 | |||
a57aa472f7 | |||
2aead5c30d | |||
27afda6892 | |||
6fa74e2ae5 |
116
.NET/app-settings.md
Normal file
116
.NET/app-settings.md
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
# AppSettings
|
||||||
|
|
||||||
|
## User Secrets Initialization
|
||||||
|
|
||||||
|
- [app-secrets](https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-9.0&tabs=windows)
|
||||||
|
|
||||||
|
```bash 1733926424710 = 638695232247100000 = Wed Dec 11 2024 07:13:44 GMT-0700 (Mountain Standard Time)
|
||||||
|
dotnet user-secrets -p File-Folder-Helper.csproj init
|
||||||
|
```
|
||||||
|
|
||||||
|
- [app-secrets](https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-9.0&tabs=windows)
|
||||||
|
|
||||||
|
## User Secrets Add Entry
|
||||||
|
|
||||||
|
```bash 1733926491404 = 638695232914040000 = Wed Dec 11 2024 07:14:50 GMT-0700 (Mountain Standard Time)
|
||||||
|
dotnet user-secrets -p File-Folder-Helper.csproj set Name Value
|
||||||
|
```
|
||||||
|
|
||||||
|
## Optional Symbolic Link in Windows
|
||||||
|
|
||||||
|
- Similar to Linux command ```ln -s```
|
||||||
|
|
||||||
|
```bash 1733926521307 = 638695233213070000 = Wed Dec 11 2024 07:15:20 GMT-0700 (Mountain Standard Time)
|
||||||
|
mklink /J "L:\DevOps\Mesa_FI\File-Folder-Helper\.vscode\.UserSecrets" "C:\Users\phares\AppData\Roaming\Microsoft\UserSecrets\8da397d4-13ec-4576-9722-3c79cad25563"
|
||||||
|
```
|
||||||
|
|
||||||
|
## .NET Package Reference
|
||||||
|
|
||||||
|
```xml 1733926548840 = 638695233488400000 = Wed Dec 11 2024 07:15:48 GMT-0700 (Mountain Standard Time)
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
|
||||||
|
```
|
||||||
|
|
||||||
|
## Example Record (Class)
|
||||||
|
|
||||||
|
- ToString is optional for recursive debug and isn't used in code
|
||||||
|
- Verify method helps debug where project is looking for configuration entries
|
||||||
|
- ```configurationRoot.Get<AppSettings>();``` is builtin method to deserialize
|
||||||
|
- JsonSerializerContext is optional for using AOT builds
|
||||||
|
|
||||||
|
```csharp 1733926601507 = 638695234015070000 = Wed Dec 11 2024 07:16:41 GMT-0700 (Mountain Standard Time)
|
||||||
|
using Microsoft.Extensions.Configuration;
|
||||||
|
using System.Text.Json;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace File_Folder_Helper.Models;
|
||||||
|
|
||||||
|
public record AppSettings(string Company,
|
||||||
|
string DefaultNoteType,
|
||||||
|
string[] ExcludeDirectoryNames,
|
||||||
|
string[] ExcludeSchemes,
|
||||||
|
string PersonBirthdayFormat,
|
||||||
|
string[] ValidImageFormatExtensions,
|
||||||
|
string WorkingDirectoryName)
|
||||||
|
{
|
||||||
|
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
string result = JsonSerializer.Serialize(this, AppSettingsSourceGenerationContext.Default.AppSettings);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void Verify(IConfigurationRoot configurationRoot, AppSettings? appSettings)
|
||||||
|
{
|
||||||
|
if (appSettings?.Company is null || string.IsNullOrEmpty(appSettings.Company))
|
||||||
|
{
|
||||||
|
List<string> paths = [];
|
||||||
|
foreach (IConfigurationProvider configurationProvider in configurationRoot.Providers)
|
||||||
|
{
|
||||||
|
if (configurationProvider is not Microsoft.Extensions.Configuration.Json.JsonConfigurationProvider jsonConfigurationProvider)
|
||||||
|
continue;
|
||||||
|
if (jsonConfigurationProvider.Source.FileProvider is not Microsoft.Extensions.FileProviders.PhysicalFileProvider physicalFileProvider)
|
||||||
|
continue;
|
||||||
|
paths.Add(physicalFileProvider.Root);
|
||||||
|
}
|
||||||
|
throw new NotSupportedException($"Not found!{Environment.NewLine}{string.Join(Environment.NewLine, paths.Distinct())}");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static AppSettings Get(IConfigurationRoot configurationRoot)
|
||||||
|
{
|
||||||
|
AppSettings? result;
|
||||||
|
#pragma warning disable IL3050, IL2026
|
||||||
|
result = configurationRoot.Get<AppSettings>();
|
||||||
|
#pragma warning restore IL3050, IL2026
|
||||||
|
Verify(configurationRoot, result);
|
||||||
|
if (result is null)
|
||||||
|
throw new Exception("Not set!");
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||||
|
[JsonSerializable(typeof(AppSettings))]
|
||||||
|
internal partial class AppSettingsSourceGenerationContext : JsonSerializerContext
|
||||||
|
{
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## AddUserSecrets to Program.cs
|
||||||
|
|
||||||
|
```csharp 1733926619366 = 638695234193660000 = Wed Dec 11 2024 07:16:58 GMT-0700 (Mountain Standard Time)
|
||||||
|
builder.Configuration.AddUserSecrets<Program>();
|
||||||
|
```
|
||||||
|
|
||||||
|
## Get Instance of Record to Program.cs
|
||||||
|
|
||||||
|
```csharp 1733926659168 = 638695234591680000 = Wed Dec 11 2024 07:17:38 GMT-0700 (Mountain Standard Time)
|
||||||
|
AppSettings appSettings = AppSettings.Get(builder.Configuration);
|
||||||
|
```
|
||||||
|
|
||||||
|
## Add Instance to be Used as Dependency Injected Object
|
||||||
|
|
||||||
|
```csharp 1733926695948 = 638695234959480000 = Wed Dec 11 2024 07:18:15 GMT-0700 (Mountain Standard Time)
|
||||||
|
builder.Services.AddSingleton(appSettings);
|
||||||
|
```
|
138
.NET/vscode-ssh.md
Normal file
138
.NET/vscode-ssh.md
Normal file
@ -0,0 +1,138 @@
|
|||||||
|
# VSCode SSH
|
||||||
|
|
||||||
|
- Allows using VSCode to build code as if you were on remote machine.
|
||||||
|
- Remote machine will still need dotnet SDK
|
||||||
|
|
||||||
|
## Offline Installer
|
||||||
|
|
||||||
|
- Download and copy to servers that can't reach github.com
|
||||||
|
|
||||||
|
- [openssh-portable](https://github.com/PowerShell/openssh-portable)
|
||||||
|
|
||||||
|
## PowerShell Installer
|
||||||
|
|
||||||
|
- PowerShell Administrator
|
||||||
|
|
||||||
|
```PowerShell Administrator 1736187016914 = 638717838169140000 = Mon Jan 06 2025 11:10:16 GMT-0700 (Mountain Standard Time)
|
||||||
|
Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'
|
||||||
|
# Install the OpenSSH Client
|
||||||
|
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
|
||||||
|
# Install the OpenSSH Server
|
||||||
|
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
|
||||||
|
```
|
||||||
|
|
||||||
|
## Key Generation
|
||||||
|
|
||||||
|
- Run with any user
|
||||||
|
|
||||||
|
```PowerShell 1736187033768 = 638717838337680000 = Mon Jan 06 2025 11:10:33 GMT-0700 (Mountain Standard Time)
|
||||||
|
ssh-keygen -t ed25519
|
||||||
|
```
|
||||||
|
|
||||||
|
## Authentication via Public Key
|
||||||
|
|
||||||
|
- PowerShell Administrator
|
||||||
|
|
||||||
|
```PowerShell Administrator 1736187105777 = 638717839057770000 = Mon Jan 06 2025 11:11:45 GMT-0700 (Mountain Standard Time)
|
||||||
|
copy $env:USERPROFILE\.ssh\id_ed25519.pub C:\ProgramData\ssh\authorized_keys
|
||||||
|
copy $env:USERPROFILE\.ssh\id_ed25519.pub C:\ProgramData\ssh\administrators_authorized_keys
|
||||||
|
icacls.exe "C:\ProgramData\ssh\authorized_keys" /inheritance:r /grant "Administrators:F" /grant "SYSTEM:F"
|
||||||
|
icacls.exe "C:\ProgramData\ssh\administrators_authorized_keys" /inheritance:r /grant "Administrators:F" /grant "SYSTEM:F"
|
||||||
|
```
|
||||||
|
|
||||||
|
- Configuration allows for public key authentication
|
||||||
|
- Removes higher risk password authentication
|
||||||
|
|
||||||
|
```conf 1736187108739 = 638717839087390000 = Mon Jan 06 2025 11:11:48 GMT-0700 (Mountain Standard Time)
|
||||||
|
...
|
||||||
|
PubkeyAuthentication yes
|
||||||
|
...
|
||||||
|
PasswordAuthentication no
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
## Firewall
|
||||||
|
|
||||||
|
- Open Windows Firewall with Advanced Security GUI
|
||||||
|
- Add new Inbound Rule for port 22
|
||||||
|
- Change Profiles to only enable domain
|
||||||
|
- Change scope to remote ip for your machine
|
||||||
|
|
||||||
|
```bash 1736187743528 = 638717845435280000 = Mon Jan 06 2025 11:22:23 GMT-0700 (Mountain Standard Time)
|
||||||
|
wf.msc
|
||||||
|
```
|
||||||
|
|
||||||
|
- Exported list for the two inbound rules
|
||||||
|
|
||||||
|
```tsv 1736187853968 = 638717846539680000 = Mon Jan 06 2025 11:24:13 GMT-0700 (Mountain Standard Time)
|
||||||
|
Name Group Profile Enabled Action Override Program Local Address Remote Address Protocol Local Port Remote Port Authorized Users Authorized Computers Authorized Local Principals Local User Owner Application Package
|
||||||
|
OpenSSH SSH Server Preview (sshd) Private Yes Allow No C:\Program Files\OpenSSH\sshd.exe Any Any TCP 22 Any Any Any Any Any Any
|
||||||
|
SSH Domain Yes Allow No Any Any 10.64.233.125 TCP 22 Any Any Any Any Any Any
|
||||||
|
```
|
||||||
|
|
||||||
|
- Command line add inbound rule SSH
|
||||||
|
|
||||||
|
```bash 1736188562695 = 638717853626950000 = Mon Jan 06 2025 11:36:02 GMT-0700 (Mountain Standard Time)
|
||||||
|
netsh advfirewall firewall add rule name="SSH" dir=in action=allow enable=yes profile=domain remoteip=10.64.233.125 localport=22 protocol=TCP
|
||||||
|
```
|
||||||
|
|
||||||
|
- Command line to add remote IP
|
||||||
|
|
||||||
|
```bash 1736188289189 = 638717850891890000 = Mon Jan 06 2025 11:31:28 GMT-0700 (Mountain Standard Time)
|
||||||
|
netsh advfirewall firewall set rule name="SSH" new remoteip=10.64.233.125
|
||||||
|
```
|
||||||
|
|
||||||
|
- Command line to enable rule
|
||||||
|
|
||||||
|
```bash 1736188447588 = 638717852475880000 = Mon Jan 06 2025 11:34:07 GMT-0700 (Mountain Standard Time)
|
||||||
|
netsh advfirewall firewall set rule name="SSH" new enable=yes
|
||||||
|
```
|
||||||
|
|
||||||
|
## Local Key Generation
|
||||||
|
|
||||||
|
- Replace user
|
||||||
|
- Run on local machine
|
||||||
|
- Add output to remote machine
|
||||||
|
|
||||||
|
```PowerShell 1736190383218 = 638717871832180000 = Mon Jan 06 2025 12:06:22 GMT-0700 (Mountain Standard Time)
|
||||||
|
ssh-keygen -t ed25519
|
||||||
|
more "C:/Users/user/.ssh/id_ed25519.pub"
|
||||||
|
echo "C:\ProgramData\ssh\authorized_keys"
|
||||||
|
echo "C:\ProgramData\ssh\administrators_authorized_keys"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Test Connection
|
||||||
|
|
||||||
|
- Replace user and machine
|
||||||
|
|
||||||
|
```bash 1736187372778 = 638717841727780000 = Mon Jan 06 2025 11:16:12 GMT-0700 (Mountain Standard Time)
|
||||||
|
ssh user@machine.infineon.com -i C:/Users/user/.ssh/id_ed25519
|
||||||
|
```
|
||||||
|
|
||||||
|
## VSCode
|
||||||
|
|
||||||
|
- Install VSCode extension ms-vscode-remote.remote-ssh
|
||||||
|
- Add machine to VSCode Remote Explorer
|
||||||
|
- Example after adding machine to Remote Explorer "C:\Users\phares\.ssh\config"
|
||||||
|
|
||||||
|
```conf 1736189363973 = 638717861639730000 = Mon Jan 06 2025 11:49:23 GMT-0700 (Mountain Standard Time)
|
||||||
|
Host mestsa003.infineon.com
|
||||||
|
HostName mestsa003.infineon.com
|
||||||
|
User mesphares
|
||||||
|
IdentityFile C:/Users/phares/.ssh/id_ed25519
|
||||||
|
|
||||||
|
Host mestsa05ec.infineon.com
|
||||||
|
HostName mestsa05ec.infineon.com
|
||||||
|
User mesphares
|
||||||
|
IdentityFile C:/Users/phares/.ssh/id_ed25519
|
||||||
|
|
||||||
|
Host mestsa07ec.infineon.com
|
||||||
|
HostName mestsa07ec.infineon.com
|
||||||
|
User mesphares
|
||||||
|
IdentityFile C:/Users/phares/.ssh/id_ed25519
|
||||||
|
|
||||||
|
Host messa010ec.infineon.com
|
||||||
|
HostName messa010ec.infineon.com
|
||||||
|
User mesphares
|
||||||
|
IdentityFile C:/Users/phares/.ssh/id_ed25519
|
||||||
|
```
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
type: note
|
||||||
|
created: 2023-07-08T02:49:15.258Z
|
||||||
|
updated: 2023-07-08T03:55:16.503Z
|
||||||
|
---
|
||||||
|
|
||||||
|
# V 2 26 1 Development
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
C:\Users\Phares>
|
C:\Users\Phares>
|
||||||
D:
|
D:
|
||||||
@ -69,4 +77,4 @@ sc config "EAF Runtime Agent" displayname= "EAF Runtime Agent - v2.26.1"
|
|||||||
sc config "EAF Management Server" displayname= "EAF Management Server - v2.26.1"
|
sc config "EAF Management Server" displayname= "EAF Management Server - v2.26.1"
|
||||||
"D:\EAF\EAF Management Server\Bin\EAFManagementServer.exe" console
|
"D:\EAF\EAF Management Server\Bin\EAFManagementServer.exe" console
|
||||||
http://eaf-dev.mes.infineon.com:9003
|
http://eaf-dev.mes.infineon.com:9003
|
||||||
```
|
```
|
||||||
|
120
Applications/EAF/Management Install Logs/Development/v2.26.2.md
Normal file
120
Applications/EAF/Management Install Logs/Development/v2.26.2.md
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
---
|
||||||
|
type: "note"
|
||||||
|
created: "2023-07-08T02:49:15.258Z"
|
||||||
|
updated: "2023-07-08T03:55:16.503Z"
|
||||||
|
---
|
||||||
|
|
||||||
|
# V 2 26 2 Development
|
||||||
|
|
||||||
|
```bash
|
||||||
|
D:
|
||||||
|
mkdir "D:\EAF\drssdv702-eafdev-DeliveredPackages-EAF Management\v2.26.2"
|
||||||
|
robocopy "\\drssdv702.eu.infineon.com\eafdev\DeliveredPackages\EAF Management\v2.26.2\EAF\EAF Management Server" "D:\EAF\drssdv702-eafdev-DeliveredPackages-EAF Management\v2.26.2\EAF Management Server" /E
|
||||||
|
robocopy "\\drssdv702.eu.infineon.com\eafdev\DeliveredPackages\EAF Management\v2.26.2\EAF\EAF Runtime Agent" "D:\EAF\drssdv702-eafdev-DeliveredPackages-EAF Management\v2.26.2\EAF Runtime Agent" /E
|
||||||
|
robocopy "\\drssdv702.eu.infineon.com\eafdev\DeliveredPackages\EAF Management\v2.26.2" "D:\EAF\drssdv702-eafdev-DeliveredPackages-EAF Management\v2.26.2" EAF.zip
|
||||||
|
mkdir "D:\EAF\EAF Runtime Agent\v2.26.2"
|
||||||
|
mkdir "D:\EAF\EAF Management Server\v2.26.2"
|
||||||
|
robocopy "D:\EAF\drssdv702-eafdev-DeliveredPackages-EAF Management\v2.26.2\EAF Runtime Agent" "D:\EAF\EAF Runtime Agent\v2.26.2" /E
|
||||||
|
robocopy "D:\EAF\drssdv702-eafdev-DeliveredPackages-EAF Management\v2.26.2\EAF Management Server" "D:\EAF\EAF Management Server\v2.26.2" /E
|
||||||
|
robocopy "D:\EAF\drssdv702-eafdev-DeliveredPackages-EAF Management\PCL" "D:\EAF\drssdv702-eafdev-DeliveredPackages-EAF Management\v2.26.2\EAF Management Server\Bin"
|
||||||
|
mkdir "D:\EAF\EAF Management Server\v2.26.2\Build\v2.26.2"
|
||||||
|
mkdir "D:\EAF\EAF Management Server\v2.26.2\Configuration\v2.26.2"
|
||||||
|
mkdir "D:\EAF\EAF Management Server\v2.26.2\Documentation\v2.26.2"
|
||||||
|
mkdir "D:\EAF\EAF Management Server\v2.26.2\Health\v2.26.2"
|
||||||
|
mkdir "D:\EAF\EAF Management Server\v2.26.2\Logs\v2.26.2"
|
||||||
|
mkdir "D:\EAF\EAF Management Server\v2.26.2\StartedInstances\v2.26.2"
|
||||||
|
mkdir "D:\EAF\EAF Management Server\v2.26.2\Temp\v2.26.2"
|
||||||
|
mkdir "D:\EAF\EAF Management Server\v2.26.2\v2.26.2\Bin\v2.26.2"
|
||||||
|
mkdir "D:\EAF\EAF Runtime Agent\v2.26.2\Bin\v2.26.2"
|
||||||
|
mkdir "D:\EAF\EAF Runtime Agent\v2.26.2\Configuration\v2.26.2"
|
||||||
|
mkdir "D:\EAF\EAF Runtime Agent\v2.26.2\Logs\v2.26.2"
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
D:
|
||||||
|
mkdir "D:\EAF\EAF Compare Configurations"
|
||||||
|
cd "D:\EAF\EAF Compare Configurations"
|
||||||
|
mkdir "D:\EAF\EAF Compare Configurations\.vscode"
|
||||||
|
echo {"diffEditor.ignoreTrimWhitespace": true}>.vscode\settings.json
|
||||||
|
git config user.name Mike Phares
|
||||||
|
git config user.email mike.phares@infineon.com
|
||||||
|
mkdir "D:\EAF\EAF Compare Configurations\EAF Management Server"
|
||||||
|
mkdir "D:\EAF\EAF Compare Configurations\EAF Runtime Agent"
|
||||||
|
mklink /J "D:\EAF\EAF Compare Configurations\EAF Management Server\v2.25.0" "D:\EAF\EAF Management Server\v2.25.0\Configuration"
|
||||||
|
mklink /J "D:\EAF\EAF Compare Configurations\EAF Management Server\v2.26.2" "D:\EAF\EAF Management Server\v2.26.2\Configuration"
|
||||||
|
mklink /J "D:\EAF\EAF Compare Configurations\EAF Runtime Agent\v2.25.0" "D:\EAF\EAF Runtime Agent\v2.25.0\Configuration"
|
||||||
|
mklink /J "D:\EAF\EAF Compare Configurations\EAF Runtime Agent\v2.26.2" "D:\EAF\EAF Runtime Agent\v2.26.2\Configuration"
|
||||||
|
git add .
|
||||||
|
git commit -m init
|
||||||
|
git log -1
|
||||||
|
code .
|
||||||
|
```
|
||||||
|
|
||||||
|
- [x] Dif EAF Management Server to last version
|
||||||
|
- [x] Dif EAF Runtime Agent to last version
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git add .
|
||||||
|
git commit -m v2.26.2
|
||||||
|
git log -1
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
D:
|
||||||
|
"D:\EAF\EAF Management Server\v2.26.2\Bin\EAFManagementServer.exe" updatedb
|
||||||
|
```
|
||||||
|
|
||||||
|
```conf
|
||||||
|
Management Server Database Update Starting...
|
||||||
|
Initialization Complete - Update Executing...
|
||||||
|
Database update completed. No steps executed. System already up to date.
|
||||||
|
Click any key within 00:00:10 sec. time.
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
rmdir "D:\EAF\EAF Management Server\Bin"
|
||||||
|
rmdir "D:\EAF\EAF Management Server\Build"
|
||||||
|
rmdir "D:\EAF\EAF Management Server\Configuration"
|
||||||
|
rmdir "D:\EAF\EAF Management Server\Documentation"
|
||||||
|
rmdir "D:\EAF\EAF Management Server\Health"
|
||||||
|
rmdir "D:\EAF\EAF Management Server\Logs"
|
||||||
|
rmdir "D:\EAF\EAF Management Server\StartedInstances"
|
||||||
|
rmdir "D:\EAF\EAF Management Server\Temp"
|
||||||
|
rmdir "D:\EAF\EAF Runtime Agent\Bin"
|
||||||
|
rmdir "D:\EAF\EAF Runtime Agent\Configuration"
|
||||||
|
rmdir "D:\EAF\EAF Runtime Agent\Logs"
|
||||||
|
mklink /J "D:\EAF\EAF Management Server\Bin" "D:\EAF\EAF Management Server\v2.26.2\Bin"
|
||||||
|
mklink /J "D:\EAF\EAF Management Server\Build" "D:\EAF\EAF Management Server\v2.26.2\Build"
|
||||||
|
mklink /J "D:\EAF\EAF Management Server\Configuration" "D:\EAF\EAF Management Server\v2.26.2\Configuration"
|
||||||
|
mklink /J "D:\EAF\EAF Management Server\Documentation" "D:\EAF\EAF Management Server\v2.26.2\Documentation"
|
||||||
|
mklink /J "D:\EAF\EAF Management Server\Health" "D:\EAF\EAF Management Server\v2.26.2\Health"
|
||||||
|
mklink /J "D:\EAF\EAF Management Server\Logs" "D:\EAF\EAF Management Server\v2.26.2\Logs"
|
||||||
|
mklink /J "D:\EAF\EAF Management Server\StartedInstances" "D:\EAF\EAF Management Server\v2.26.2\StartedInstances"
|
||||||
|
mklink /J "D:\EAF\EAF Management Server\Temp" "D:\EAF\EAF Management Server\v2.26.2\Temp"
|
||||||
|
mklink /J "D:\EAF\EAF Runtime Agent\Bin" "D:\EAF\EAF Runtime Agent\v2.26.2\Bin"
|
||||||
|
mklink /J "D:\EAF\EAF Runtime Agent\Configuration" "D:\EAF\EAF Runtime Agent\v2.26.2\Configuration"
|
||||||
|
mklink /J "D:\EAF\EAF Runtime Agent\Logs" "D:\EAF\EAF Runtime Agent\v2.26.2\Logs"
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# sc delete "EAF Management Server"
|
||||||
|
# sc create "EAF Management Server" start= delayed-auto binPath= "D:\EAF\EAF Management Server\Bin\EAFManagementServer.exe" DisplayName= "EAF Management Server"
|
||||||
|
# sc delete "EAF Runtime Agent"
|
||||||
|
# sc create "EAF Runtime Agent" start= delayed-auto binPath= "D:\EAF\EAF Runtime Agent\Bin\EAFRuntimeAgent.exe" DisplayName= "EAF Runtime Agent"
|
||||||
|
sc stop "EAF Runtime Agent"
|
||||||
|
"D:\EAF\EAF Runtime Agent\Bin\EAFRuntimeAgent.exe" console
|
||||||
|
sc stop "EAF Management Server"
|
||||||
|
"D:\EAF\EAF Management Server\Bin\EAFManagementServer.exe" console
|
||||||
|
sc config "EAF Runtime Agent" displayname= "EAF Runtime Agent - v2.26.2"
|
||||||
|
sc config "EAF Management Server" displayname= "EAF Management Server - v2.26.2"
|
||||||
|
```
|
||||||
|
|
||||||
|
```conf
|
||||||
|
# Mango
|
||||||
|
# http://localhost:9003
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sc start "EAF Management Server"
|
||||||
|
sc start "EAF Runtime Agent"
|
||||||
|
```
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
type: note
|
||||||
|
created: 2023-07-08T02:49:15.266Z
|
||||||
|
updated: 2023-07-08T03:55:16.508Z
|
||||||
|
---
|
||||||
|
|
||||||
|
# V 2 26 1 Prod
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
C:\Users\Phares>
|
C:\Users\Phares>
|
||||||
D:
|
D:
|
||||||
@ -7573,4 +7581,4 @@ mklink /J "D:\EAF\EAF Management Server\Logs" "D:\EAF\EAF Management Server\v2.1
|
|||||||
mklink /J "D:\EAF\EAF Management Server\StartedInstances" "D:\EAF\EAF Management Server\v2.19.0\StartedInstances"
|
mklink /J "D:\EAF\EAF Management Server\StartedInstances" "D:\EAF\EAF Management Server\v2.19.0\StartedInstances"
|
||||||
mklink /J "D:\EAF\EAF Management Server\Temp" "D:\EAF\EAF Management Server\v2.19.0\Temp"
|
mklink /J "D:\EAF\EAF Management Server\Temp" "D:\EAF\EAF Management Server\v2.19.0\Temp"
|
||||||
-> sc config "EAF Management Server" displayname= "EAF Management Server - v2.26.1"
|
-> sc config "EAF Management Server" displayname= "EAF Management Server - v2.26.1"
|
||||||
```
|
```
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
type: note
|
||||||
|
created: 2023-07-08T02:49:15.269Z
|
||||||
|
updated: 2023-07-08T03:55:16.510Z
|
||||||
|
---
|
||||||
|
|
||||||
|
# V 2 26 1 Staging
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
C:\Users\Phares>
|
C:\Users\Phares>
|
||||||
D:
|
D:
|
||||||
@ -343,4 +351,4 @@ Click any key within 00:00:10 sec. time.
|
|||||||
# sc create "EAF Runtime Agent" start= delayed-auto binPath= "D:\EAF\EAF Runtime Agent\Bin\EAFRuntimeAgent.exe" DisplayName= "EAF Runtime Agent"
|
# sc create "EAF Runtime Agent" start= delayed-auto binPath= "D:\EAF\EAF Runtime Agent\Bin\EAFRuntimeAgent.exe" DisplayName= "EAF Runtime Agent"
|
||||||
sc config "EAF Runtime Agent" displayname= "EAF Runtime Agent - v2.26.1"
|
sc config "EAF Runtime Agent" displayname= "EAF Runtime Agent - v2.26.1"
|
||||||
sc config "EAF Management Server" displayname= "EAF Management Server - v2.26.1"
|
sc config "EAF Management Server" displayname= "EAF Management Server - v2.26.1"
|
||||||
```
|
```
|
||||||
|
@ -1,7 +1,13 @@
|
|||||||
# nPort List
|
---
|
||||||
|
type: note
|
||||||
|
created: 2023-07-08T02:49:15.272Z
|
||||||
|
updated: 2023-07-08T03:55:16.399Z
|
||||||
|
---
|
||||||
|
|
||||||
|
# N Port List
|
||||||
|
|
||||||
| Title | User Name | Password | URL | Notes | Creation Time | Last Modification Time |
|
| Title | User Name | Password | URL | Notes | Creation Time | Last Modification Time |
|
||||||
|-------------------------------|-------------------|----------|---------------------|------------------------|----------------------|------------------------|
|
| ----------------------------- | ----------------- | -------- | ------------------- | ---------------------- | -------------------- | ---------------------- |
|
||||||
| 01 - TENCOR1 | 00:90:E8:65:1F:2B | moxa | http://10.95.192.31 | | 7/23/2019 5:46:43 PM | 7/23/2019 5:51:01 PM |
|
| 01 - TENCOR1 | 00:90:E8:65:1F:2B | moxa | http://10.95.192.31 | | 7/23/2019 5:46:43 PM | 7/23/2019 5:51:01 PM |
|
||||||
| 02 - TENCOR2 | 00:90:E8:6E:3C:24 | moxa | http://10.95.192.32 | | 7/23/2019 5:50:17 PM | 7/23/2019 5:50:37 PM |
|
| 02 - TENCOR2 | 00:90:E8:6E:3C:24 | moxa | http://10.95.192.32 | | 7/23/2019 5:50:17 PM | 7/23/2019 5:50:37 PM |
|
||||||
| 03 - TENCOR3 | 00:90:E8:6E:3C:1E | moxa | http://10.95.192.33 | tcp://10.95.192.33:950 | 7/23/2019 5:51:02 PM | 2/6/2021 6:55:54 PM |
|
| 03 - TENCOR3 | 00:90:E8:6E:3C:1E | moxa | http://10.95.192.33 | tcp://10.95.192.33:950 | 7/23/2019 5:51:02 PM | 2/6/2021 6:55:54 PM |
|
||||||
@ -17,9 +23,8 @@
|
|||||||
| 18 - Spare #4 | 00:90:E8:6E:3C:1A | moxa | http://10.95.192.50 | | 7/23/2019 5:55:33 PM | 7/23/2019 5:55:50 PM |
|
| 18 - Spare #4 | 00:90:E8:6E:3C:1A | moxa | http://10.95.192.50 | | 7/23/2019 5:55:33 PM | 7/23/2019 5:55:50 PM |
|
||||||
| 19 - Spare #5 | 00:90:E8:6E:3C:36 | moxa | http://10.95.192.51 | | 7/23/2019 5:55:51 PM | 7/23/2019 5:56:06 PM |
|
| 19 - Spare #5 | 00:90:E8:6E:3C:36 | moxa | http://10.95.192.51 | | 7/23/2019 5:55:51 PM | 7/23/2019 5:56:06 PM |
|
||||||
|
|
||||||
|
|
||||||
| Title | User Name | Password | URL | Notes | Creation Time | Last Modification Time |
|
| Title | User Name | Password | URL | Notes | Creation Time | Last Modification Time |
|
||||||
|-----------------------------------------------------------|-------------------|----------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------|------------------------|
|
| --------------------------------------------------------- | ----------------- | -------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | ---------------------- |
|
||||||
| 10 - BIORAD4-Share | 1C:6F:65:C3:51:DB | moxa | tcp://10.95.154.10:#### | | 7/23/2019 5:53:56 PM | 11/1/2019 8:58:38 AM |
|
| 10 - BIORAD4-Share | 1C:6F:65:C3:51:DB | moxa | tcp://10.95.154.10:#### | | 7/23/2019 5:53:56 PM | 11/1/2019 8:58:38 AM |
|
||||||
| 11 - BIORAD5-Share | 00:30:48:43:DE:97 | moxa | tcp://10.95.154.11:#### | | 7/23/2019 5:54:08 PM | 11/1/2019 8:58:36 AM |
|
| 11 - BIORAD5-Share | 00:30:48:43:DE:97 | moxa | tcp://10.95.154.11:#### | | 7/23/2019 5:54:08 PM | 11/1/2019 8:58:36 AM |
|
||||||
| 12 - SP101-Share | 00:10:6F:00:D7:4E | moxa | tcp://10.95.154.12:#### | | 7/23/2019 5:54:37 PM | 11/1/2019 8:58:34 AM |
|
| 12 - SP101-Share | 00:10:6F:00:D7:4E | moxa | tcp://10.95.154.12:#### | | 7/23/2019 5:54:37 PM | 11/1/2019 8:58:34 AM |
|
||||||
@ -48,8 +53,8 @@
|
|||||||
|
|
||||||
# EC Advanced_IP_Scanner_2.5.3850 2023-05-31
|
# EC Advanced_IP_Scanner_2.5.3850 2023-05-31
|
||||||
|
|
||||||
| Status | Name | IP | NetBIOS group | Manufacturer | MAC address | Date | Comments |
|
| Status | Name | IP | NetBIOS group | Manufacturer | MAC address | Date | Comments |
|
||||||
|--------|----------------------------|--------------|---------------|----------------------------------------|-------------------|-------------------------------|---------------------------------------------------|
|
| ------ | -------------------------- | ------------ | ------------- | -------------------------------------- | ----------------- | ----------------------------- | ------------------------------------------------- |
|
||||||
| On | frederic-pc.na.ec.local | 10.95.154.9 | | | 00:00:00:00:00:00 | 2023-05-31 15:16:18 UTC±00:00 | nginx 1.20.1 |
|
| On | frederic-pc.na.ec.local | 10.95.154.9 | | | 00:00:00:00:00:00 | 2023-05-31 15:16:18 UTC±00:00 | nginx 1.20.1 |
|
||||||
| On | mesd1biorad4.ifxcep.net | 10.95.154.10 | IFXCEP | GIGA-BYTE TECHNOLOGY CO.,LTD. | 1C:6F:65:C3:51:DB | 2023-05-31 08:12:52 UTC-07:00 | Microsoft Terminal Service |
|
| On | mesd1biorad4.ifxcep.net | 10.95.154.10 | IFXCEP | GIGA-BYTE TECHNOLOGY CO.,LTD. | 1C:6F:65:C3:51:DB | 2023-05-31 08:12:52 UTC-07:00 | Microsoft Terminal Service |
|
||||||
| On | BIORAD-FTIR | 10.95.154.11 | WORKGROUP | DFI Inc. | 00:01:29:A9:13:7D | 2023-05-31 08:11:15 UTC-07:00 | Radmin: |
|
| On | BIORAD-FTIR | 10.95.154.11 | WORKGROUP | DFI Inc. | 00:01:29:A9:13:7D | 2023-05-31 08:11:15 UTC-07:00 | Radmin: |
|
||||||
@ -61,6 +66,6 @@
|
|||||||
| On | infineonepi230.na.ec.local | 10.95.154.20 | WORKGROUP | Advantech Technology (CHINA) Co., Ltd. | C4:00:AD:23:90:F5 | 2023-05-31 08:35:10 UTC-07:00 | Tunnel is Microsoft SChannel TLS: unknown service |
|
| On | infineonepi230.na.ec.local | 10.95.154.20 | WORKGROUP | Advantech Technology (CHINA) Co., Ltd. | C4:00:AD:23:90:F5 | 2023-05-31 08:35:10 UTC-07:00 | Tunnel is Microsoft SChannel TLS: unknown service |
|
||||||
| On | cde-resmap | 10.95.154.27 | | | 00:00:00:00:00:00 | 2023-05-31 15:07:24 UTC±00:00 | nginx 1.20.1 |
|
| On | cde-resmap | 10.95.154.27 | | | 00:00:00:00:00:00 | 2023-05-31 15:07:24 UTC±00:00 | nginx 1.20.1 |
|
||||||
| On | frederic-pc.na.ec.local | 10.95.154.29 | | | 00:00:00:00:00:00 | 2023-05-31 15:16:02 UTC±00:00 | nginx 1.20.1 |
|
| On | frederic-pc.na.ec.local | 10.95.154.29 | | | 00:00:00:00:00:00 | 2023-05-31 15:16:02 UTC±00:00 | nginx 1.20.1 |
|
||||||
| On | 10.95.154.31 | 10.95.154.31 | | | 00:00:00:00:00:00 | | pbox (box) |
|
| On | 10.95.154.31 | 10.95.154.31 | | | 00:00:00:00:00:00 | | pbox (box) |
|
||||||
| On | 10.95.154.32 | 10.95.154.32 | | | 00:00:00:00:00:00 | | pbox (box) |
|
| On | 10.95.154.32 | 10.95.154.32 | | | 00:00:00:00:00:00 | | pbox (box) |
|
||||||
| On | 10.95.154.54 | 10.95.154.54 | | | 00:00:00:00:00:00 | | Radmin: |
|
| On | 10.95.154.54 | 10.95.154.54 | | | 00:00:00:00:00:00 | | Radmin: |
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
type: note
|
||||||
|
created: 2023-07-08T02:49:15.271Z
|
||||||
|
updated: 2023-07-08T03:55:16.399Z
|
||||||
|
---
|
||||||
|
|
||||||
|
# Restart IFX Hosted N Port
|
||||||
|
|
||||||
# Navigate to https://goto.infineon.com/ucportal and under SelfCP - Auto CF call EAF/EDA, Metrology Viewer, Infinity QS SPC number
|
# Navigate to https://goto.infineon.com/ucportal and under SelfCP - Auto CF call EAF/EDA, Metrology Viewer, Infinity QS SPC number
|
||||||
|
|
||||||
From mestsa003.infineon.com(eaf-dev.mes.infineon.com) using your normal or MES account open the following application
|
From mestsa003.infineon.com(eaf-dev.mes.infineon.com) using your normal or MES account open the following application
|
||||||
@ -6,18 +14,19 @@ From mestsa003.infineon.com(eaf-dev.mes.infineon.com) using your normal or MES a
|
|||||||
|
|
||||||
Select Port Monitor - Right click anywhere in the right pane - select load configuration com port - press go button from top ribbon
|
Select Port Monitor - Right click anywhere in the right pane - select load configuration com port - press go button from top ribbon
|
||||||
|
|
||||||
Look at entries starting with IP 10.95.192.* for conn status not Connected and then
|
Look at entries starting with IP 10.95.192.\* for conn status not Connected and then
|
||||||
|
|
||||||
- Find entry with not connected under cond status
|
- Find entry with not connected under cond status
|
||||||
- Find matching EAF CI instance and verifying connection name "PCLDevice" with matching IP in connection settings example shown below
|
- Find matching EAF CI instance and verifying connection name "PCLDevice" with matching IP in connection settings example shown below
|
||||||
- Stop CI in EAF
|
- Stop CI in EAF
|
||||||
- Using browser (Edge) navigate to http matching ip (this will bring up Moxa website like a home router) password is in shared KeePass
|
- Using browser (Edge) navigate to http matching ip (this will bring up Moxa website like a home router) password is in shared KeePass
|
||||||
- Restart nPort device by using website
|
- Restart nPort device by using website
|
||||||
- Start EAF again
|
- Start EAF again
|
||||||
- If not on phone with user wait for data for about five minutes if nothing repeat one more time
|
- If not on phone with user wait for data for about five minutes if nothing repeat one more time
|
||||||
- If still no data stop EAF like above
|
- If still no data stop EAF like above
|
||||||
- Call lead and have them power cycle the nPort
|
- Call lead and have them power cycle the nPort
|
||||||
- Start EAF and check for data in file share \\messv02ecc1.ec.local\EC_Characterization_Si\RawData base on folder date modified
|
- Start EAF and check for data in file share \\messv02ecc1.ec.local\EC_Characterization_Si\RawData base on folder date modified
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
18
Applications/InfinityQS/creating-a-new-iqs-user.md
Normal file
18
Applications/InfinityQS/creating-a-new-iqs-user.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
type: note
|
||||||
|
created: 2023-07-08T02:49:15.275Z
|
||||||
|
updated: 2023-07-08T02:58:32.887Z
|
||||||
|
---
|
||||||
|
|
||||||
|
# Creating A New IQS User
|
||||||
|
|
||||||
|
1. Log onto MESSA04EC.EC.LOCAL
|
||||||
|
1. Open Infinity QS Database Manager
|
||||||
|
- C:\Program File (x86)\InfinityQS International\ProFicient\Applications\iidbm.exe
|
||||||
|
1. Log in to SPCEPIWORLD
|
||||||
|
1. Enter your Username and Password
|
||||||
|
1. Double click on Employee Information
|
||||||
|
1. Right click anywhere -> Add
|
||||||
|
1. Users need to be added to AD Group.
|
||||||
|
- EC-MES-PRJ-SPC-SI-C-L (Change group)
|
||||||
|
- EC-MES-PRJ-SPC-SI-R-L (Read group)
|
656
Applications/OpenInsight/API/OIWizard.postman_collection.json
Normal file
656
Applications/OpenInsight/API/OIWizard.postman_collection.json
Normal file
File diff suppressed because one or more lines are too long
@ -1,20 +1,32 @@
|
|||||||
|
---
|
||||||
|
type: note
|
||||||
|
created: 2023-07-08T02:49:15.278Z
|
||||||
|
updated: 2023-07-08T16:14:12.395Z
|
||||||
|
---
|
||||||
|
|
||||||
|
# Create New Open Insight User
|
||||||
|
|
||||||
1. From OpenInsight developer screen → Go to Database Manager
|
1. From OpenInsight developer screen → Go to Database Manager
|
||||||
- Database ->
|
- Database ->
|
||||||
- User Management ->
|
- User Management ->
|
||||||
- Insert New User name
|
- Insert New User name [WINDOWS LOGIN USERNAME]
|
||||||
- Click Add
|
- Click Add
|
||||||
|
- Password: [FIRST LETTER OF FIRST NAME][FISCAL YEAR][FIRST LETTER OF LAST NAME][FISCAL QUARTER]
|
||||||
- Select Password Never Expires
|
- Select Password Never Expires
|
||||||
- Save
|
- Save
|
||||||
2. From SRP → SRP Computer Solutions, Inc. → SRP Utilities → SRP_Editor add to APP_INFO -> AD_TO_LSL_USER_MAP in alphabetical order
|
2. From SRP → SRP Computer Solutions, Inc. → SRP Utilities → SRP_Editor add to APP_INFO -> AD_TO_LSL_USER_MAP in alphabetical order
|
||||||
- Field 2 - Enter in OI name(All Upercase, take note of second pos number
|
- Field 2 - Enter in OI name(All Uppercase, take note of second pos number
|
||||||
- Field 1- Enter in AD Name in same position
|
- Field 1- Enter in AD Name in same position
|
||||||
3. User Config in OI UI
|
3. User Config in OI UI
|
||||||
- Open new user account
|
- Open new user account
|
||||||
- Enter in their info
|
- Enter in their info
|
||||||
|
- Add user to a minimum of Data Entry, and Operator
|
||||||
|
- Fill in user shift
|
||||||
|
- Fill in user classification
|
||||||
4. Password First Initial-year-last initial-qtr#
|
4. Password First Initial-year-last initial-qtr#
|
||||||
5. Next go to AD Manager
|
5. Next go to AD Manager
|
||||||
- Add user to IFX-RDA-iApps-OpenInsight-MES
|
- Add user to IFX-RDA-iApps-OpenInsight-MES
|
||||||
- Add user to MES-APP-OpenInsight-Users
|
- Add user to MES-APP-OpenInsight-Users
|
||||||
- Link to AD Group Editor:
|
- Link to AD Group Editor:
|
||||||
|
|
||||||
https://idms-web.infineon.com/ADGroupEditor/ADGroups/SearchGroups
|
https://idms-web.infineon.com/ADGroupEditor/ADGroups/SearchGroups
|
@ -1,27 +0,0 @@
|
|||||||
# DNS Order
|
|
||||||
|
|
||||||
https://smptools.infineon.com/smptinyurl/orderable/?name=SSO-New%20DNS%20Entry%20%281%29
|
|
||||||
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
# Server Certificate (SSL/TLS) Order
|
|
||||||
|
|
||||||
https://smptools.infineon.com/smptinyurl/orderable/?name=SSO-Certificate%20Request
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd "C:\Program Files\Git\usr\bin"
|
|
||||||
openssl
|
|
||||||
req -x509 -nodes -days 365 -newkey rsa:2048 -keyout L:\Git\NGINX-Conf\conf\includes\localhost.key -out L:\Git\NGINX-Conf\conf\includes\localhost.crt -config L:\Git\NGINX-Conf\conf\includes\localhost.conf
|
|
||||||
req -newkey rsa:2048 -keyout L:\Git\NGINX-Conf\conf\includes\localhost.key -out L:\Git\NGINX-Conf\conf\includes\certificate-signing-request.csr -config L:\Git\NGINX-Conf\conf\includes\localhost.conf
|
|
||||||
```
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
```bash
|
|
||||||
# ssl_certificate "includes/localhost.crt";
|
|
||||||
# ssl_certificate_key "includes/localhost.key";
|
|
||||||
ssl_certificate "includes/eaf-dev-reporting.mes.infineon.com.cer";
|
|
||||||
ssl_password_file "includes/eaf-dev-reporting.mes.infineon.com.pass";
|
|
||||||
ssl_certificate_key "includes/eaf-dev-reporting.mes.infineon.com.key";
|
|
||||||
```
|
|
9
DevOps/add-administrator-to-agent-pool.md
Normal file
9
DevOps/add-administrator-to-agent-pool.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# How to add an administrator to an agent pool
|
||||||
|
1. Open 'Project settings' in lower left corner of screen
|
||||||
|
1. Click 'Agent Pools' under the Pipelines section
|
||||||
|
1. Click on the agent pool you would like to modify
|
||||||
|
1. Click on the security tab
|
||||||
|
1. Click the + button
|
||||||
|
1. Type the name of the user you would like to add and select them from the list
|
||||||
|
1. Change the role to 'Administrator'
|
||||||
|
1. Click 'Add'
|
46
DevOps/dns-and-ssl.md
Normal file
46
DevOps/dns-and-ssl.md
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
type: note
|
||||||
|
created: 2023-07-08T02:49:15.281Z
|
||||||
|
updated: 2023-07-08T03:32:53.694Z
|
||||||
|
---
|
||||||
|
|
||||||
|
# DNS Order and SSL Order
|
||||||
|
|
||||||
|
## DNS Order
|
||||||
|
|
||||||
|
- [dns-entry](https://smptools.infineon.com/smptinyurl/orderable/?name=SSO-New%20DNS%20Entry%20%281%29)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Self-signed Certificate
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd "C:\Program Files\Git\usr\bin"
|
||||||
|
openssl
|
||||||
|
req -x509 -nodes -days 365 -newkey rsa:2048 -keyout "L:\Git\NGINX-Conf\conf\includes\localhost.key" -out "L:\Git\NGINX-Conf\conf\includes\localhost.crt" -config "L:\Git\NGINX-Conf\conf\includes\localhost.conf"
|
||||||
|
```
|
||||||
|
|
||||||
|
```conf
|
||||||
|
ssl_certificate "includes/localhost.crt";
|
||||||
|
ssl_certificate_key "includes/localhost.key";
|
||||||
|
```
|
||||||
|
|
||||||
|
## Server Certificate (SSL/TLS) Order
|
||||||
|
|
||||||
|
- [certificate-request](https://smptools.infineon.com/smptinyurl/orderable/?name=SSO-Certificate%20Request)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Example for eaf-dev-reporting.mes.infineon.com
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd "C:\Program Files\Git\usr\bin"
|
||||||
|
openssl
|
||||||
|
req -newkey rsa:2048 -keyout "L:\Git\NGINX-Conf\conf\includes\eaf-dev-reporting.mes.infineon.com.key" -out "L:\Git\NGINX-Conf\conf\includes\certificate-signing-request.csr" -config "L:\Git\NGINX-Conf\conf\includes\eaf-dev-reporting.mes.infineon.com.conf"
|
||||||
|
```
|
||||||
|
|
||||||
|
```conf
|
||||||
|
ssl_certificate "includes/eaf-dev-reporting.mes.infineon.com.cer";
|
||||||
|
ssl_password_file "includes/eaf-dev-reporting.mes.infineon.com.pass";
|
||||||
|
ssl_certificate_key "includes/eaf-dev-reporting.mes.infineon.com.key";
|
||||||
|
```
|
8
DevOps/prod-v2-26-1.md
Normal file
8
DevOps/prod-v2-26-1.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
type: note
|
||||||
|
created: 2023-07-08T03:10:13.330Z
|
||||||
|
updated: 2023-07-08T03:54:40.316Z
|
||||||
|
---
|
||||||
|
|
||||||
|
# Prod V 2 26 1
|
||||||
|
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
type: note
|
||||||
|
created: 2023-07-08T02:49:15.283Z
|
||||||
|
updated: 2023-07-08T02:58:32.887Z
|
||||||
|
---
|
||||||
|
|
||||||
|
# Work Items
|
||||||
|
|
||||||
* Work Item "plan-track-work" https://learn.microsoft.com/en-us/azure/devops/boards/get-started/plan-track-work?view=azure-devops&tabs=agile-process
|
* Work Item "plan-track-work" https://learn.microsoft.com/en-us/azure/devops/boards/get-started/plan-track-work?view=azure-devops&tabs=agile-process
|
||||||
* Epic (Maybe Mesa FI Roadmap session Item)
|
* Epic (Maybe Mesa FI Roadmap session Item)
|
||||||
* Test Case (Checklist)
|
* Test Case (Checklist)
|
||||||
@ -47,4 +55,4 @@
|
|||||||
* Children
|
* Children
|
||||||
* To track sub tasks
|
* To track sub tasks
|
||||||
* Bug (Backlog record)
|
* Bug (Backlog record)
|
||||||
* same as User Story
|
* same as User Story
|
53
Fab/FabDisplay.md
Normal file
53
Fab/FabDisplay.md
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
---
|
||||||
|
type: note
|
||||||
|
created: 2023-11-10T02:49:15.285Z
|
||||||
|
updated: 2023-11-10T16:14:48.030Z
|
||||||
|
---
|
||||||
|
|
||||||
|
# Fab Display
|
||||||
|
|
||||||
|
I have determined a useful method to provisioning and managing fab display clients(slideshows).
|
||||||
|
One of the main struggles here is maintenance of the device. Such as remote access. For a non fab client, by default the logged in user has to verify connections. The second struggle is that the display turns off after a period of time.
|
||||||
|
## Configuring Auto Logon
|
||||||
|
<ul>
|
||||||
|
I have had an account setup in the INFINEON domain. This account can be used as it has a password that never expires. The password is stored in the Mesa FI password manager on IShare. [Available here](https://ishare.na.infineon.com/sites/MesaFI/FI%20Internal/KeePass/FICredentials.kdbx)</li>
|
||||||
|
<li>We need to configure auto logon. So using an account with admin rights we need to open Regedit. </li>
|
||||||
|
<li>Once we are in regedit we navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon</li>
|
||||||
|
<li>
|
||||||
|
Then we need to create and set three keys and their respective string values.
|
||||||
|
<ul>
|
||||||
|
<li>AutoAdminLogon - 1
|
||||||
|
<li>DefaultUserName - MesaDisplay
|
||||||
|
<li>DefaultPassword - See FI Keepass file.
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
##Configuring SlideShow at Startup
|
||||||
|
The slideshow I was wishing to display was on a website. So what I did was create a batch script that opened edge with the url to the slideshow as an argument.
|
||||||
|
See the batch script in the code block below. I then created a task to run at logon of any user to execute this script. Important to note. The default setting pushed via Group Policy will set the screen timeout. At the direction of local IT have decided to use an application called MouseJiggle to keep the screen on. That will need to be set in the batch script as well. The switches -j -z -m will ensure the application starts hidden.
|
||||||
|
```
|
||||||
|
start "edge" "c:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" "https://messa004.infineon.com/fabtime717/Home.html?SlideShowView=1&HomePageTab=Cleanroom_Slide_Show&HomePageUserID=3443&LinkerUserID=&CurrentChart=5&Width=1150&Height=620&CurrentChart=4&AutoPlay=30" --start-fullscreen
|
||||||
|
start C:\users\%USERNAME%\Desktop\MouseJiggle.exe -j -z -m
|
||||||
|
exit
|
||||||
|
```
|
||||||
|
|
||||||
|
## Configuring VNC for remote management
|
||||||
|
This is a bit of a workaround because again the VNC settings are pushed via Group policy.
|
||||||
|
|
||||||
|
1. First request and install RealVNC server to be installed via the IFX AppStore.
|
||||||
|
2. Once installed the Real VNC service needs to be set to automatic in Windows Services.
|
||||||
|
3. Now the workaround part comes into play. I have created registry files to make the neccesary changes to allow a user to connect without requesting permissions interactively.
|
||||||
|
|
||||||
|
```
|
||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\RealVNC\vncserver]
|
||||||
|
"QueryConnect"="0"
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
4. I then create a task to run immediately at logon and repeating every 30 minutes that runs the regedit.exe file. This must be run with highest permissions and with the local SYSTEM account.
|
||||||
|
5. Next RealVNC requires the user to be apart of a local group "Remote Control Users". I added the INFINEON\MesaDisplay account to this group.
|
||||||
|
6. Final step. Any client that wants to connect to the display needs to have REALVNC client installed. This is also available from the IFX App Store.
|
14
Fab/iApps.md
14
Fab/iApps.md
@ -1,13 +1,19 @@
|
|||||||
|
---
|
||||||
|
type: note
|
||||||
|
created: 2023-07-08T02:49:15.285Z
|
||||||
|
updated: 2023-07-08T16:14:48.030Z
|
||||||
|
---
|
||||||
|
|
||||||
# iApps
|
# iApps
|
||||||
|
|
||||||
### Please use the following articles to add / update your iApps resources
|
## Please use the following articles to add / update your iApps resources
|
||||||
- [122364](https://webnetprod.muc.infineon.com/EndUserFAQs/#/article/122364)
|
- [122364](https://webnetprod.muc.infineon.com/EndUserFAQs/#/article/122364)
|
||||||
- [125700](https://webnetprod.muc.infineon.com/enduserfaqs/#/article/125700)
|
- [125700](https://webnetprod.muc.infineon.com/enduserfaqs/#/article/125700)
|
||||||
|
|
||||||
### However we entered the following address instead of the address in the article
|
## However we entered the following address instead of the address in the article
|
||||||
- [WebFeed](https://webaccess.infineon.com/RDWeb/Feed/webfeed.aspx)
|
- [WebFeed](https://webaccess.infineon.com/RDWeb/Feed/webfeed.aspx)
|
||||||
|
|
||||||
### AD Group Editor Add user(s) to the following groups:
|
## AD Group Editor Add user(s) to the following groups:
|
||||||
- [AD Group Editor](https://goto.infineon.com/adgroupeditor)
|
- [AD Group Editor](https://goto.infineon.com/adgroupeditor)
|
||||||
- IFX-RDA-iApps-InfinityQS-MES
|
- IFX-RDA-iApps-InfinityQS-MES
|
||||||
- IFX-RDA-iApps-OpenInsight-MES
|
- IFX-RDA-iApps-OpenInsight-MES
|
||||||
|
Reference in New Issue
Block a user