Block Storage

 View Only
  • 1.  The server tab is disabled after registering with OPS

    Posted 03-13-2025 13:18
    Edited by System 10-17-2025 15:02

    hello

    I have issue with customer in VSP one array management.  The server tab is disabled the moment the storage array is registered with Hitachi Ops Center Administration. The customer want it back to have. Is possible to return or make it enable or any way they can see in VSP one array?



    ------------------------------
    Glauk hoxha
    Virtuo Kosovo
    ------------------------------



  • 2.  RE: The server tab is disabled after registering with OPS

    Posted 03-14-2025 00:01
    Edited by System 10-17-2025 15:02

    Hi Glauk,

    This is a known problem in VSP One Block 20 series storage, just offboard the storage from the Administrator instance this will bring back the Server option in the VSP One Block Administrator GUI, if this does not work then there is another process in the Maintenance manual, but that must not be done by customer himself, for that a support ticket needs to be lodged. Hope this will help you.

    Regards

    Prasenjit



    ------------------------------
    Prasenjit Chatterjee
    Hitachi Vantara
    ------------------------------



  • 3.  RE: The server tab is disabled after registering with OPS

    This message was posted by a user wishing to remain anonymous
    Posted 03-14-2025 07:20
    Edited by Mark Perino 3 days ago
    This post was removed


  • 4.  RE: The server tab is disabled after registering with OPS

    Posted 12-15-2025 13:02

    I have tried with the controller IP and is still not showing up there.Also could you please share the MPC Procedure ?



    ------------------------------
    eiosan Support
    Equifax, Inc.
    ------------------------------



  • 5.  RE: The server tab is disabled after registering with OPS
    Best Answer

    Posted 12-16-2025 08:54
    Edited by William Jansen Van Nieuwenhuizen 12-16-2025 14:07

    Hello

    You can also enable it via the RestAPI. I've created a simple powershell script you can use to enable it too.

    # Hitachi Array - Enable Server Provisioning
    # Prompt for credentials
    $ip = Read-Host "Enter IP address"
    $username = Read-Host "Enter username"
    $password = Read-Host "Enter password" -AsSecureString
    $passwordPlain = [Runtime.InteropServices.Marshal]::PtrToStringAuto(
        [Runtime.InteropServices.Marshal]::SecureStringToBSTR($password)
    )
    
    # Ignore SSL certificate errors (self-signed certificates)
    if (-not ([System.Management.Automation.PSTypeName]'TrustAllCertsPolicy').Type) {
        add-type @"
            using System.Net;
            using System.Net.Security;
            using System.Security.Cryptography.X509Certificates;
            public class TrustAllCertsPolicy : ICertificatePolicy {
                public bool CheckValidationResult(
                    ServicePoint svcPt, X509Certificate cert,
                    WebRequest req, int problem) {
                    return true;
                }
            }
    "@
        [System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
    }
    
    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
    
    $url = "https://$ip/cgi-bin/easygui.cgi"
    
    # Step 1: Login
    Write-Host "Authenticating..." -ForegroundColor Cyan
    
    $authString = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("${username}:${passwordPlain}"))
    $loginPayload = '{"header":{"service":"Auth", "action":"login", "returnCode":""}, "body":{"userId": "' + $username + '","password": "' + $passwordPlain + '"}}'
    
    $loginHeaders = @{
        'Content-Type' = 'text/plain;charset=UTF-8'
        'Accept' = '*/*'
        'Accept-Language' = 'en-US,en;q=0.9,nl;q=0.8'
        'Authorization' = "Basic $authString"
    }
    
    try {
        $session = New-Object Microsoft.PowerShell.Commands.WebRequestSession
        
        $loginResponse = Invoke-WebRequest -Uri $url -Method POST -Headers $loginHeaders -Body $loginPayload -WebSession $session
        $sessionId = $loginResponse.Headers['Session-ID']
        
        if (-not $sessionId) {
            Write-Host "Failed to retrieve Session-ID" -ForegroundColor Red
            exit 1
        }
        
        Write-Host "Authentication successful" -ForegroundColor Green
        Write-Host "Session-ID: $sessionId`n" -ForegroundColor Gray
    
        # Step 2: Enable Server Provisioning
        Write-Host "Enabling server provisioning..." -ForegroundColor Cyan
        
        $provisionPayload = '{ "header": { "service": "System", "action": "setGUMOptionSetting", "returnCode": "" }, "body": { "options": {  "SAEProvisioningEnable": "1" }}}'
    
        $provisionHeaders = @{
            'Session-ID' = $sessionId
            'Content-Type' = 'text/plain;charset=UTF-8'
            'Accept' = '*/*'
            'Accept-Language' = 'en-US,en;q=0.9,nl;q=0.8'
        }
    
        $provisionResponse = Invoke-WebRequest -Uri $url -Method POST -Headers $provisionHeaders -Body $provisionPayload -WebSession $session
        
        Write-Host "Server provisioning enabled" -ForegroundColor Green
        Write-Host "`nResponse:" -ForegroundColor Gray
        Write-Host $provisionResponse.Content
    
    } catch {
        Write-Host "Error: $_" -ForegroundColor Red
        if ($_.Exception.Response) {
            $reader = New-Object System.IO.StreamReader($_.Exception.Response.GetResponseStream())
            $responseBody = $reader.ReadToEnd()
            Write-Host "Response body: $responseBody" -ForegroundColor Yellow
        }
        exit 1
    }


    Here is a snip of what it should look like. It's important that you use a user that has the right to change the system options like the maintenance user:


    If this helped you, consider marking it as the solution as it might help others too.

    ------------------------------
    William Jansen Van Nieuwenhuizen
    Hitachi Vantara
    ------------------------------



  • 6.  RE: The server tab is disabled after registering with OPS

    Posted 12-16-2025 13:06
    Edited by eiosan Support 12-16-2025 13:40

    Hello William,

    I ran the PowerShell script and is absolutely worked Though I have changed few settings to disable the Certificate check. You made my day. Thank You very Much.! Much appreciated.! Below is the snippet for reference.!


    ------------------------------



  • 7.  RE: The server tab is disabled after registering with OPS

    Posted 12-16-2025 13:21

    Thats very kind of you to share back to the community, thank you!



    ------------------------------
    William Jansen Van Nieuwenhuizen
    Hitachi Vantara
    ------------------------------



  • 8.  RE: The server tab is disabled after registering with OPS

    Posted 12-16-2025 13:39

    Though I am  Ex-Hitachi Vantaran . I am new to the community , and would like to know how to mark it as the solution 



    ------------------------------
    eiosan Support
    Equifax, Inc.
    ------------------------------



  • 9.  RE: The server tab is disabled after registering with OPS

    Posted 12-16-2025 14:08

    There should be a little drop down next to reply where the original poster can mark it as 'Best Answer'. I see you're not the original poster so that might be why you don't have the option. No problem. :-). I'm sure the post as it should help the next person to a solution.



    ------------------------------
    William Jansen Van Nieuwenhuizen
    Hitachi Vantara
    ------------------------------



  • 10.  RE: The server tab is disabled after registering with OPS

    Posted 03-16-2025 22:05
    Edited by System 10-17-2025 15:02

    Hi Glauk,

    The recommendation from Hitachi is to use Ops Center Administrator once you discover the Array in the Ops Center Administrator.  It was same with E-Series Storage Arrays as well. 

    ------------------------------
    Kiran Regidi
    Hitachi Vantara
    ------------------------------



    ------------------------------
    Kiran Kumar Regidi
    Hitachi Vantara
    ------------------------------