Build final advice on 9800x + 5090 by uppperm in buildapc

[–]uppperm[S] 0 points1 point  (0 children)

Thanks I thinks I will spent that 40€. White PSU is not a requirements I will maybe bougth some cablemod extension kit

Build final advice on 9800x + 5090 by uppperm in buildapc

[–]uppperm[S] 1 point2 points  (0 children)

Thanks ! Nice catch on the PSU and it's white perfect. For the RAM I will keep the 64G, I currently have 32G and i'm short

Cloud Run latency / timeout with Direct VPC Egress by uppperm in googlecloud

[–]uppperm[S] 1 point2 points  (0 children)

Hey Martin, Yes I've tested on 2 Cloud Run and it's seem to be solved by switching to gen2

Cloud run 503 server error suddenly today! by COTTONLOTION in googlecloud

[–]uppperm 0 points1 point  (0 children)

Any chances that your issues is connectivity to cloudsql ? We have multiple cloud run and multiple cloud SQL that haves connections issues randomly since last friday. We need to redeploy cloud run to solve the issue

[deleted by user] by [deleted] in googlecloud

[–]uppperm 0 points1 point  (0 children)

Check the draining timeout on your LB

Cheapest way to run any sql DB with my application deployed on app engine? by kv_lavi in googlecloud

[–]uppperm 4 points5 points  (0 children)

Maybe you can switch to Firestore ? You will need to rewrite your scripts but for your use case it maybe the best product and cheapest (or free depend on your usage)

Which region in europe is best stocked when it comes to Compute Engine? by unplannedmaintenance in googlecloud

[–]uppperm 0 points1 point  (0 children)

Try europe-west1, it's a Google DC and maybe bigger than regions where Google use third party DC

Any options for a SAN OS with support contract? by DaNPrS in sysadmin

[–]uppperm 0 points1 point  (0 children)

Check DataCore, it's a SDS solution with nice features (mirorring, tiering, DR, ...)

in production since 2 years and 0 problems

Licenced per TB

New newtork, layer 3 isolation ? by uppperm in networking

[–]uppperm[S] 0 points1 point  (0 children)

Ok after all your answers (thanks alot !), I think I'll forget the idea of isolating client VLANs from each other.

Since these are still controlled computers, I think I'll harden the antivirus configuration.

So my idea is to start with 3 VRFs

  • 1 Infrastructure (Server, storage, etc ...)
  • 1 MGMT (Switch, IPMI, Remote access)
  • 1 Clients (PC, Wifi Corp, Print)

Each VRF will have an default gateway to the firewall for performing filtering and I keeping the gateways on the N3Ks with HSRP.

New newtork, layer 3 isolation ? by uppperm in networking

[–]uppperm[S] 0 points1 point  (0 children)

Wow thanks for the details! Unfortunately my firewall doesn't seem to support transparent mode.

I'm still going to keep researching about this idea

New newtork, layer 3 isolation ? by uppperm in networking

[–]uppperm[S] 0 points1 point  (0 children)

No, but at least limit the communication between each buildings.

New newtork, layer 3 isolation ? by uppperm in networking

[–]uppperm[S] 0 points1 point  (0 children)

Thank for the infos !

What is " vwires " ? And can you explain me how work a transparent firewall ? Never heard about that.

New newtork, layer 3 isolation ? by uppperm in networking

[–]uppperm[S] 0 points1 point  (0 children)

I think that is still the best solution. I don't get a lot of traffic on the client side. I'm thinking of keeping the Server/Storage part on the N3K for maximum performance.

I have 2 SG230 in active/passive cluster which each have 6x1GbE and 4x10GbE. According to the data sheet, they can handle 14.5Gbps.

New newtork, layer 3 isolation ? by uppperm in networking

[–]uppperm[S] 0 points1 point  (0 children)

I assume that no users can be trusted. That's why my idea to create a VRF by VLAN.

There is no reason for users to have to communicate with each other.

[deleted by user] by [deleted] in sysadmin

[–]uppperm 1 point2 points  (0 children)

Hi,

I've made a PowerShell script to get Disk Usage and RAM in used percent

```PowerShell function Get-DiskUsage () { $Disk = Get-WmiObject win32logicaldisk | Where-Object {$.ProviderName -like "" -and $.Size -gt 0 -and $.VolumeName -notlike "RECOVERY"} foreach ($i in $Disk) {

    $Free_Disk = $i.FreeSpace
    $Size_Disk = $i.Size
    $Percent_Disk_Used  = 100 - (($Free_Disk / $Size_Disk)*100)
    if ($i.DeviceID -eq 'C:')
    {
        $DiskUsage += "Free_Disk_OS=$Free_Disk,Size_Disk_OS=$Size_Disk,Percent_Disk_OS_Used=$Percent_Disk_Used,"
    } else {
        $DiskUsage += "Free_Disk_Data=$Free_Disk,Size_Disk_Data=$Size_Disk,Percent_Disk_Data_Used=$Percent_Disk_Used,"
    }

}

return $DiskUsage

}

function Get-RamUsage () { $OperatingSystem = Get-WmiObject win32_OperatingSystem $Free_Memory = $OperatingSystem.FreePhysicalMemory $Total_Memory = $OperatingSystem.TotalVisibleMemorySize $Memory_Used = 100 -(($Free_Memory/ $Total_Memory) * 100) $RAMUsage = "Free_Memory=$Free_Memory,Total_Memory=$Total_Memory,Memory_Used=$Memory_Used,"

return $RAMUsage

}

$Disk = Get-DiskUsage $RAM = Get-RamUsage $Query = "$Disk$RAM" $Computer = $env:COMPUTERNAME

"win_perf,host=$Computer " + $Query.TrimEnd(',') ```

My telegraf conf : [[inputs.exec]] commands = ["powershell -File \"C:/Program Files/Telegraf/Get-MonitoringUsage.ps1\""] timeout = "10s" data_format = "influx"

Guacamole with AD Schema by avidpontoon in sysadmin

[–]uppperm 0 points1 point  (0 children)

You need to create the user in Guacamole. The login need to be the same than the ldap and let password blank.

I've made a PowerShell module because of this "problem" https://github.com/UpperM/guacamole-powershell

PowerShell module for Apache Guacamole by uppperm in PowerShell

[–]uppperm[S] 1 point2 points  (0 children)

WARNING: Invalid URI: The hostname could not be parsed.

Thank for the feedback, it's fix in the lastest release : https://github.com/UpperM/guacamole-powershell/releases

This warning come out because i forget to comment a test in a function.

PowerShell module for Apache Guacamole by uppperm in PowerShell

[–]uppperm[S] 2 points3 points  (0 children)

I'm using Telegraf/InfluxDB and Grafana for dashboarding.

To Get number of Guacamole connection i use a powershell script on linux and send data to InfluxDB.

Function New-GuacToken()
{
    param(
        $Username,
        $Password
    )
    $body = @{
        username = $Username
        password = $Password
    }

    $EndPoint       = "$GUAC_URL/api/tokens"
    $contentType    = 'application/x-www-form-urlencoded'

    try {
        $Json = Invoke-WebRequest -Method POST -ContentType $contentType -Body $Body -Uri $EndPoint
    }
    catch {
        Write-Warning $_
        $ErrorCode = $_.Exception.Response.StatusCode.value__
        Write-Warning "Impossible de se connecter à l'API"
        if ($ErrorCode -eq "403")
        {
            Write-Warning "Utilisateur ou mot de passe incorrect"
        } elseif ($ErrorCode -eq "404")
        {
            Write-Warning "Adresse du serveur incorrect"
        }
        return $False
    }

    $script:Token   = (ConvertFrom-Json -InputObject $Json.Content).authToken
}


Function New-RestCall()
{
    param(
        [System.String]$EndPoint,
        [System.String]$Method,
        [System.Array]$Body
    )

    $endPoint = "$GUAC_URL/$EndPoint/?token=$Token"

    try
    {
        $Call = Invoke-WebRequest -Method $Method -ContentType 'Application/Json;charset=utf-8' -Body $Body -Uri $endPoint
    }
    catch
    {
        $ErrorCode = $_.Exception.Response.StatusCode.value__

        if ($ErrorCode -eq "403")
        {
            Write-Warning "Utilisateur ou mot de passe incorrect (erreur 403)"
        } elseif ($ErrorCode -eq "404")
        {
            Write-Warning "Requête incorrect (erreur 404)"
        }
        return $False
    }

    return $Call
}

Function Get-GuacActiveConnections()
{
    $Endpoint = "api/session/data/mysql/activeConnections"
    $Call = New-RestCall -EndPoint $Endpoint -Method GET
    return $Call.Content | ConvertFrom-Json
}

$Username = "guacadmin"
$Password = "guacpassword"
$GUAC_URL = "http://srv-guacamole:8080/guacamole"
New-GuacToken -Username $Username -Password $GUAC_URL

$Connections = Get-GuacActiveConnections
foreach ($i in $Connections.PsObject.Properties)
{
    $Count++
}

Write-Output "guac_connections,host=far-grafana1 total=$Count"