DX NetOps

Expand all | Collapse all

Powershell and CA Spectrum

Jump to Best Answer
  • 1.  Powershell and CA Spectrum

    Posted 04-17-2018 05:56 AM

    Hello, 

    I have roughly about 9000 servers to manage and we are using CA Spectrum to either put them into Maintenance mode / Managed mode. Since we do maintenance on a regular base, sometimes people tend to forget to put it back into managed mode, which could cause outages. Is it possible through Powershell script to actually see which servers are still in maintenance mode, without having to go into CA Spectrum in order to find out? This way I can run the script in one go and have an overview of what is forgotten to be put back and would be able to easily put them back into managed without using the CA Spectrum GUI.

     

    Kind regards,

    Nick



  • 2.  Re: Powershell and CA Spectrum
    Best Answer

    Posted 04-17-2018 09:28 AM

    Hi Nick, 

      You can use the seek command to get a list of models that have ismanaged set to FALSE (in maintenance):

    $SPECROOT/vnmsh>

    ./connect

    ./seek attr=0x1295d,val=FALSE

     

    Cheers

    Jay



  • 3.  Re: Powershell and CA Spectrum

    Posted 04-17-2018 09:42 AM

    Or you could try using the Hibernation function, if your business case is fit for it. I don't know how you handle your Maintenance operations.