Scom 2012 r2 command line install

I want to pass the username and password as variable in the below command for datareader and datawriter accounts . The installation stops as its not able to validate the creds. Can some please help me correcting the script . If I hardcode the username and
password in the below script it works
$user = 'dpmain\me
$pass = 'passw'
Start-Process -FilePath C:\SCOM2012R2\setup.exe -ArgumentList '/install /InstallPath:"C:\Program Files\Microsoft System Center 2012 R2\Operations Manager" /components:OMServer,OMConsole /ManagementGroupName:OM2012SandBox /SqlServerInstance:. /DatabaseName:OperationsManager
/DWSqlServerInstance:. /DWDatabaseName:OperationsManagerDW /UseLocalSystemActionAccount /UseLocalSystemDASAccount /DatareaderUser: '$user' /DatareaderPasswod:'$pass' /DataWriterUser:'$user' /DatareadePassword:'$pass' /EnableErrorReporting:Never /SendCEIPReports:0
/UseMicrosoftUpdate:0 /AcceptEndUserLicenseAgreement:1 /silent'

The line below is taking care of the installation of you first management server. Change the parameters to first to your needs.
Start-Process-FilePathE:\setup.exe
-ArgumentList'/install /InstallPath:"C:\Program Files\Microsoft System Center 2012 R2\Operations Manager" /components:OMServer,OMConsole /ManagementGroupName:SCOMMgmt /SqlServerInstance:SQLSERVER\Instance /DatabaseName:OperationsManager
/DWSqlServerInstance:SQLSERVER\Instance /DWDatabaseName:OperationsManagerDW /ActionAccountUser:Contoso\Administrator /ActionAccountPassword:'XXXX' /DASAccountUser:contoso\Administrator /DASAccountPassword:'XXXX'
/DatareaderUser:domhome\Administrator /DatareaderPassword:'XXXX' /DataWriterUser:domhome\Administrator /DataWriterPassword:'XXXX' /EnableErrorReporting:Never /SendCEIPReports:0 /UseMicrosoftUpdate:0 /AcceptEndUserLicenseAgreement:1
/silent'
Also check below links
http://scug.be/christopher/2014/03/10/scom-2012-r2-unattended-installation-command-line/
http://technet.microsoft.com/en-us/library/hh416216.aspx
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
Mai Ali | My blog: Technical | Twitter:
Mai Ali

Similar Messages

  • Mdt 2012 sp1 command line does not run from task sequence

    Hi,
    I am hoping I can explain this correctly.  I am using MDT 2012 and having an issue with running command lines, powershell and batch files that I setup.
    The task sequence is set to use an account called "MDTService".  it has rights to join the domain but is not in the local admin group of the reference image.  a domain GPO renames the local admin account CoAdmin.
    when running a command line to, for example, run xcopy a folder and subdirectories to the "program Files x86" directory, it does not copy.
    When I log on to the system and use an admin account to manually run the command I do not have an issue.  if I log onto the system with the MDTService user and run it, it fails.
    How do I get the commands to run from the MDT task sequence?  I do not want to make the MDTService user an admin.  I have tried the run as option in the task sequence but that did not work.  maybe is set it wrong.  I used a domain\Admin
    account which did not work.
    what can I clarify or logs can I post to provide more details.
    Thanks in advance.

    Any account that needs to add files under %ProgramFilesx86% must be granted administrative privileges.
    Keith Garner - keithga.wordpress.com

  • SCOM 2012 Reporting Fails During Install

    I am having issues installing the Reporting Module for SCOM 2012.  Here is my environment:
    Stand-alone SQL server with SQL 2012 (Default Instance and only is used for SCOM)
    Reporting Services Installed and I am able to browse to the URL
    Reader Account has access to both servers and both Report/OPM databases.
    Stand-alone Management Server
    Everything is running fine.
    When I go to install Reporting on the SQL Server it fails during the Configuring Security phase and here are the logs:
    Error:All retrys failed!!. Message:SetSRSSecurity Exception, now throwing:Cannot stop ReportServer service on computer '.'.
    Error: :SetSRSSecurity  failed: Threw Exception.Type: System.InvalidOperationException, Exception Error Code: 0x80131509, Exception.Message: Cannot stop ReportServer service on computer '.'.

    I also see this error:
    [12:50:50]: Error:
    :StackTrace:   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.EnterpriseManagement.OperationsManager.Setup.ReportingConfigurationHelper.ReportingConfiguration.ModifySRSServiceAccount(String userName, String userPassword, String sqlSRSServer, String srsServiceName, String sqlServerForSRSDatabase,
    String srsDBName)
    [12:50:50]: Warn:
    :Message:SetSRSSecurity Exception Exception: The specified @job_name ('F5DDC431-93E3-41CF-8913-00EDFD457F99') does not exist.
    The specified @job_name ('3AA30844-4417-479D-80EF-059C9CAAF84D') does not exist.
    The specified @job_name ('A65C33A6-DC11-44AA-B8AD-077A7D94213D') does not exist.
    The specified @job_name ('C9192EB7-87D8-475D-9826-100AF193F33F') does not exist.
    The specified @job_name ('410DA81B-318F-4BD8-AA5B-14AC61AC82C3') does not exist.
    The specified @job_name ('E26B57B7-72CE-449F-AA19-19B192CD10C0') does not exist.
    The specified @job_name ('FF9BC31C-E6F9-4987-ABBC-1C20D41E0A7D') does not exist.
    The specified @job_name ('BBE14DB5-E183-4F05-AC45-1CD147DD72BE') does not exist.
    The specified @job_name ('D69172E5-4FD6-4FF2-9F98-1FA57C98B6B5') does not exist.
    The specified @job_name ('566D3953-B305-43EC-9C08-2FA53CABA2FE') does not exist.
    The specified @job_name ('B3D9B9B3-9C8A-4109-884B-36899D560A9B') does not exist.
    The specified @job_name ('B47669F4-54A5-4F78-AEF4-40A9F40D9BC6') does not exist.
    The specified @job_name ('97FA149B-5275-4A4D-A3C8-4E69B20C0D92') does not exist.
    The specified @job_name ('86AEBFB5-CAA3-4D2A-859F-4E751B660257') does not exist.
    The specified @job_name ('FE970B3F-D021-46A2-8387-4E989590A86D') does not exist.
    The specified @job_name ('D6C2E45D-E677-4F2B-81AA-5103FB8E1B92') does not exist.
    The specified @job_name ('7412F626-CAD9-48BE-8211-5145A3F51085') does not exist.
    The specified @job_name ('17838236-691B-49D7-AD7C-553B1886AB58') does not exist.
    The specified @job_name ('5445E14F-A22C-4014-9EB8-55C8BAF5A061') does not exist.
    The specified @job_name ('C914C932-C350-404D-9CF4-575D108DDA82') does not exist.
    The specified @job_name ('CB87B0AD-069A-4F07-BB62-580FBEF5C31B') does not exist.
    The specified @job_name ('BC838396-DFE1-4BC5-8D24-58B194A7214E') does not exist.
    The specified @job_name ('D58C71E8-A821-4A73-A0A7-5F5080BC6730') does not exist.
    The specified @job_name ('49F42A35-15DA-4C9E-A95B-66F4040E139F') does not exist.
    The specified @job_name ('F4F9400D-1212-4DD6-AAFF-671192BF2B25') does not exist.
    The specified @job_name ('F0EFEFAA-F2D5-494E-B97E-6D075AC17F2F') does not exist.
    The specified @job_name ('0721E6DF-0209-4874-B473-70E5026E8FF2') does not exist.
    The specified @job_name ('B2AECE06-0F8F-4C5D-A04E-8148D8F6C255') does not exist.
    The specified @job_name ('A9813C14-FB76-4461-80B9-8350CBE9E5BB') does not exist.
    The specified @job_name ('71ABB496-3F2E-4D8D-8551-8650DBC45721') does not exist.
    The specified @job_name ('EF1AAD40-47DA-41A2-A9F6-87A6AE140BB3') does not exist.
    The specified @job_name ('B887666E-E580-427C-ADBA-8B605561E8E9') does not exist.
    The specified @job_name ('A19772C9-CA88-455C-9CA7-8E11F960BB84') does not exist.
    The specified @job_name ('CAFFEA4E-AE64-4B5F-9129-913272C5251D') does not exist.
    The specified @job_name ('826AF562-C9D2-461B-AEEB-91B64FF3003A') does not exist.
    The specified @job_name ('09458F97-C2ED-46B5-BB8E-91C4C54C22B4') does not exist.
    The specified @job_name ('021AA26B-62EA-4C38-8ACF-975CE6B33FAD') does not exist.
    The specified @job_name ('33EA5BB5-35A7-442F-8635-9FE560EDABBE') does not exist.
    The specified @job_name ('E7405185-56A5-4C46-87AB-A1FA9FA4271B') does not exist.
    The specified @job_name ('CEDDD21A-2E75-4BA6-BA99-A4E5B79073BC') does not exist.
    The specified @job_name ('8A6E115B-616F-46D6-9A94-A7C22C94D11C') does not exist.
    The specified @job_name ('30A0182B-0A70-4D33-A62F-AB277ABC4D63') does not exist.
    The specified @job_name ('5B252CA0-FCFF-49FA-8B40-AD6667B345A1') does not exist.
    The specified @job_name ('D0007E85-046E-4264-933A-AF662B8FECF7') does not exist.
    The specified @job_name ('D1835177-4454-44C0-8134-B080AFD99B52') does not exist.
    The specified @job_name ('B02F7A14-A658-420D-A2B0-B18577080FDD') does not exist.
    The specified @job_name ('7CD641D9-C2C3-4907-88F9-BAED4FA93AAF') does not exist.
    The specified @job_name ('23241CD1-4317-42EA-887E-C3F7441645D7') does not exist.
    The specified @job_name ('9AB583BC-94AA-49BB-B4E4-CACE094A2764') does not exist.
    The specified @job_name ('31EAC604-0DF5-4A9C-B510-CD6BEF72B608') does not exist.
    The specified @job_name ('8412C87D-CC61-4FA0-9804-CFC8528DB66E') does not exist.
    The specified @job_name ('314FBBDC-013B-4742-B65B-D122968AF014') does not exist.
    The specified @job_name ('002B780F-351F-4345-9D97-D3DD370E2317') does not exist.
    The specified @job_name ('F21C6C3D-5219-4917-BF29-D5AA1B315565') does not exist.
    The specified @job_name ('34FCE497-498B-47EE-9A8B-D8EC2CFEC3AA') does not exist.
    The specified @job_name ('1B356BC7-8300-4A6A-8E66-E036C1053C47') does not exist.
    The specified @job_name ('6C94A462-3025-46AC-BD67-E7575ABBA4D9') does not exist.
    The specified @job_name ('A79F3134-A3BC-470F-8D6C-F457C6114EBA') does not exist.

  • JRE Command Line Install - Error Opening File Java3BillDevices.jpg

    We are installing JRE using a command line script. We keep getting the following error. Is this a bug with the Installer package? Anyone know how to fix it?
    Error opening file C:\Users\USERID\AppData\LocalLow\Sun\Java\jre1.6.0_38\Java3BillDevices.jpg
    Error: 2
    JRE seems to install and work correctly, but the error is perplexing. We are of course installing with Administrative privileges. There are a bunch of posts on the interwebs about this, but nobody really seems to know how to fix it.
    OS: WIN7 64bit
    JRE: 1.6.0_38
    Install Command:
    C:\scripts\Java_JRE_1.6.0_38_32bit_W764\jre-6u38-windows-i586.exe /s INSTALLDIR=\C:\scripts\Java_JRE1.6.0_38_32bit_W764\" IEXPLORER=1 MOZILLA=1 STATIC=1 JAVAUPDATE=0 JU=0 UPDATECHECK=0 AUTOUPDATECHECK=0 /L C:\scripts\LOGS\Java_JRE1.6.0_38_32bit_W764_Install.txt

    On 30.12.2013 10:06, contentdevelopment wrote:
    >
    > Hi Laura,
    >
    > Thanks for your reply, I used to try this installer setupsp.exe, but it
    > prompted the following error:
    >
    > ---------------------------
    > Novell Client Support Pack Install
    > ---------------------------
    > Error: Unable to locate required Support Pack installation files.
    >
    > Attempted control INF: C:\491psp5_IR2\NLS\ENGLISH\SETUP2K.INF
    > Attempted install INF: C:\491psp5_IR2\NLS\ENGLISH\SETUP2K.INF
    > ---------------------------
    > OK
    > ---------------------------
    >
    > And there is no install.ini file in the 491psp5_IR2.zip.
    Please try the full client install:
    https://download.novell.com/Download...d=XBMCanfiNDY~
    CU,
    Massimo Rosen
    Novell Knowledge Partner
    No emails please!
    http://www.cfc-it.de

  • Scom 2012 R2 Convert Manually installed Agents to Remotely managed

    Hi
    Need to convert manually installed agents to remotely managed.
    Found this post :
    http://damatisystemcenter.com/2013/01/25/convert-manually-installed-agents-to-remotely-managed/
    The last Query converts one agent to remotely managed
    How do I do if I want ALL my agents to be converted to remotely ?

    Hi,
    Setting Agents as Remotely Manageable in SCOM 2012 R2
    http://daxsnippets.wordpress.com/2014/04/08/setting-agents-as-remotely-manageable-in-scom-2012-r2/
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • SCOM 2012 Powershell command to remove agent

    Hello,
    Has anyone had any luck removing agents via Powershell to mimic the delete agent from the console?
    Blogs don't turn up anything useful for this task.
    The 2012 Powershell covers how to approve agents, add proxy flag, and uninstall agent, but nothing to remove.  Used the SQL stored procedure previously in 2007R2 (and same procedure exists in 2012 SP1. 
    Anyone aware of Powershell automate agent removal?
    Thanks!
    SCOM Power Shell to add SCOM 2012 agent
    Get-SCOMPendingManagement | where {$_.AgentName -eq "ServernameFQDN"} | Approve-SCOMPendingManagement
    Enable Proxy on newly added agent
    Get-ScomAgent | where-object {$_.DisplayName -like "okcnmo*"} | where-object {$_.ProxyingEnabled.Value -eq $False} | Enable-SCOMAgentProxy
    SQL Query to remove
    http://social.technet.microsoft.com/Forums/en-US/operationsmanagergeneral/thread/e413c030-509b-45e4-bcd4-b4ae1a649c73
    Uninstall Agent
    http://technet.microsoft.com/library/hh545186.aspx
    Remove Unix agents
    http://social.technet.microsoft.com/Forums/en-US/operationsmanagerunixandlinux/thread/081f2801-7dfa-4db9-8c78-6adbc487a031/

    We actually have used the stored procedure for 2007 and 2012
    OperationsManager.dbo.p_TypedManagedEntityDelete
    If you want to use Invoke-Sqlcmd to run the query.
    Another way from SQL which can be put in PowerShell
    --Grab GUID for that health service
    select * from BaseManagedEntity
    where FullName like '%<servername>%'
    and IsDeleted = 1
    Look for FullName with Microsoft.SystemCenter.HealthService:servername
    -- Use this to test the entity delete for the healthservice GUID
    DECLARE @EntityId uniqueidentifier;
    DECLARE @TimeGenerated datetime;
    -- change "GUID" to the ID of the invalid entity
    SET @EntityId = '<GUID here>';
    SET @TimeGenerated = getutcdate();
    BEGIN TRANSACTION
    EXEC dbo.p_TypedManagedEntityDelete @EntityId, @TimeGenerated;
    COMMIT TRANSACTION
    --Check what is in deleted
    select * from BaseManagedEntity
    where IsDeleted = 1

  • Command line install of Xcode 2.5 on Mac OS 10.4 fails...

    I am attempting to install Xcode 2.5 on a remote 10.4 laptop via ssh but it keeps failing. Originally it was failing because it wouldn't mount the image because the connection tends to be poor during the day so I copied the image to the laptop itself and mounted it.
    When I attempt to install I get this:
    # sudo installer -verbose -pkg /private/tmp/amanda_install/tmp/XcodeTools.mpkg -target /
    installer: Error the package path specified was invalid: '/private/tmp/amanda_install/tmp/XcodeTools.mpkg'.
    Unlike later versions of the Xcode package, this is just a link to the
    Xcode Installer Launcher.app file.
    lrwxr-xr-x 1 unknown unknown 39 Oct 26 2007 XcodeTools.mpkg -> Installers/Xcode Installer Launcher.app
    Am a using the wrong tool for 10.4 (installer) or can this Xcode version only be installed from the GUI?

    You can post in the forum on that link. You can also use the ADC forums here:
    http://developer.apple.com/devforums/
    Carolyn

  • Command line install of Photoshop CS

    We have a volume license of Photoshop CS, and I need to reload all my computers that have it installed.  Is there a way I can make a batch file to install Photoshop CS with our serial number?

    Check the support pages. It's called silent install/ deployment and the steps as to which installer script files need to be modified should be laid out there.
    Mylenium

  • SCOM 2012 R2 Agent Deployment - Uninstall Old and Install New

    By chance anyone come up with a scripted method for removing an existing SCOM 2012 SP1 agent and installing a new 2012 R2 agent? While I've come across a few scripts I'm trying to kill a few birds with one stone. This is a cross-domain attempt where the
    SCOM servers sit in one domain and the member servers are scattered across multiple domains. Member servers range from Windows Server 2003, 2008, and 2012. In most cases the servers have the 2012 SP1 agent installed and in some cases there are multiple management
    groups from previous SCOM standups. In addition there's a separate DEV SCOM 2012 R2 environment to manage DEV/QA servers. Active Directory Integration is configured and I have the necessary security groups created. There is a group policy created which is
    filtered to just that security group. So the plan is to simply drop the servers into the correct group and have the agent installed via group policy start up script. ADI should have DEV servers appear in DEV SCOM and PROD in PROD SCOM.
    Although there are ways to facilitate agent deployment via the console I need to perform a staged migration against a ton of server so as to not impact the existing production environment. So I'd rather do this remotely to pre-selected servers. This process
    should involve removing the existing agent, installing the new one, and if possible removing any existing management groups. So far I've come up with the following:
    Uninstall SCOM Agent:
    %WinDir%\System32\msiexec.exe /x <path>\MOMAgent.msi /qb
    Install SCOM Agent:
    msiexec.exe /i \\path\Directory\MOMAgent.msi /qn /l*v \logs\MOMAgent_install.log USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=<MG_Name> MANAGEMENT_SERVER_DNS=<MSDNSName> ACTIONS_USE_COMPUTER_ACCOUNT=0 ACTIONSUSER=<AccountUser> ACTIONSDOMAIN=<AccountDomain>
    ACTIONSPASSWORD=<AccountPassword>
    Remove Management Group via Script
    http://gallery.technet.microsoft.com/Remove-a-Management-group-336c849a/view/Discussions#content
    I'm guessing this wheel has already been invented or maybe there's a better way. So I'm open to ideas or suggestions.
    Any responses appreciated.

    Wow! 4 days and no responses, not good Microsoft SCOM Community. So here's a status on this issue.
    As stated I have Active Directory Integration configured which means:
    I see the OperationsManager container in AD: dev_scom
    I see the HealthService SCP and separate OU's for each of my management servers.
    I have an ADI security group containing my management servers and scom action account.
    I have an Agent security group which will contain servers the scom agent will be deployed via group policy.
    I also have an AD LDAP query set to target the SCOM agent group.
    (&(objectCategory=group)(name=DSCOM_ADI))
    I finally get the script to install via the following steps:
    Reference:
    http://technet.microsoft.com/en-us/library/cc754995.aspx
    http://technet.microsoft.com/en-us/library/cc770556.aspx
    http://blog.coretech.dk/msk/install-a-scom-2012-agent-silent/
    1. Launch Notepad ++ and enter the following:
    msiexec /i
    \\server.yourdomain.com\opsmgragent\%Processor_Architecture%\MOMAgent.msi USE_SETTINGS_FROM_AD=1 MANAGEMENT_GROUP=DEV_SCOM MANAGEMENT_SERVER_DNS=YourSCOMsrvr1.yourdomain.com ACTIONS_USE_COMPUTER_ACCOUNT=0 USE_MANUALLY_SPECIFIED_SETTINGS=0 ACTIONSUSER=svc_dscom
    ACTIONSDOMAIN=yourdomain ACTIONSPASSWORD=YourPassword! AcceptEndUserLicenseAgreement=1 /qn /l*v c:\scom2012r2mmainstall.log
    2. Save the script to a name of your choice. For me it's installdopsmgragent.cmd. Watch the extensions as you may end up saving it as installdopsmgragent.cmd.txt.
    Note: Make note of this steps in the reference articles listed above:
    "In the Add a Script dialog box, do the following:
    In the Script Name box, type the path to the script, or click Browse to search for the script file in the Netlogon shared folder on the domain controller."
    It's been a while since having to use a startup script so it took me a minute to figure this out. "getting too old 'fer this..."
    3. Copy the script to the Netlogon folder which is located in the following directory on my Windows 2012 server: E:\SYSVOL\sysvol\yourdomain.com\scripts
    4. Launch the group policy management console, create a new policy, edit it, and navigate to the following location:
    Computer Configuration > Policies > Windows Settings > Scripts (Startup/Shutdown)
    5. Double-click Startup to open the Startup Properties window.
    6. Click Add and browse to the location of the script which you copied to the Netlogon share.
    7. Click OK to close the Startup Properties window.
    8. Close the Group Policy Management Editor.
    9. Link the policy to an OU containing the servers.
    10. Add the SCOM Agent group to the Security Filtering area of the group policy. I also remove Authenticated Users.
    Note: make sure you have a few test servers in your Agent security group.
    11. Drop to a command line and run gpupdate /force. You can also use gpupdate /force /sync but you will have to reboot the box you're running this from.
    12. Log into one of the servers you have slated to deploy the agent to, drop to a command line, and run the same gpupdate command.
    13. Follow this with a gpresult /r command to ensure that you see the policy applied in the Computer Settings area.
    14. Reboot the server and you should see the startup script run.
    15. Log into the server and launch the Control Panel.
    16. If all went well you'll see the "Microsoft Monitoring Agent" icon.
    17. Launch Event Viewer, navigate to the Operations Manager events node located under Applications and Services Logs and validate the logs.
    17. If all didn't go well check the error log located, for me, on the C:\scom2012r2mmainstall.log
    My issue: I don't see the management info in the Agent properties.
    I installed this last night and waited until the next day still no changes. Event logs show the following:
    Event ID: 2011 The Health Service did not find any policy in Active Directory
    Event ID: 2003 No management groups were started.  This may either be because no management groups are currently configured or a configured management group failed to start.  The Health Service will wait for policy from Active Directory configuring
    a management group to run.
    I see the HealthService is Running in Task Manager on this server and of course I don't see anything listed in the Management Groups registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\
    I don't want to manually add the management group info. Checking as I may have missed something in one of the switches. 
    Any responses appreciated.

  • Command line program install

    I need to install a program on several Macs that I manage. All Macs, save 1, are OSX 10.9
    I do not want to go visit each mac personally not to mention interrupt the user to install a quick support program. Does anyone know if it's possible to ssh and do a command line install for GoToAssist Unattended Client? This may be a G2A question rather than an OSX question, but I was wondering if anyone had any experience or advise for command line installing a program via SSH? This will allow me to do all the installs behind the scenes from my mac and not bother the users.
    Thank you all in advance!

    I was able to figure it out on my own and thought I would share in case anyone else needed the help later.
    $ sftp localuserAccount@IPaddress_or_DNSNAME
    password:(this will be your local user password)
    sftp> put /Users/myusername/Desktop/NewSoftware.pkg
    sftp>exit
    $ssh localuserAccount@IPaddress_or_DNSNAME
    password:
    $ sudo installer –store –pkg /Users/localuserAccount/NewSoftware.pkg
    password:
    Once the installation completes
    $exit
    In my case the remote computer that I installed the new software on needed to be rebooted but I will not always necessary.
    Cheers!

  • Recommendations for SCOM 2012 -- 2012 R2 migration

       Hello to all. I have a customer that has SCOM 2012 in its IT environment but uses it barely and does not have any documentation. I proposed to install a new Manament Group (MG) and "reboot" to a paralell SCOM 2012 R2 considering the
    use of new features present on 2012 R2. 
       Questions:
       1- Does SCOM support a side by side migration strategy , like SCCM 2007 R2 --> SCCM 2012 R2 that takes its main source objects and bring them to the new separated Management Group (the SCOM 2012 R2)?
       2- Considering that all regular member servers are monitored by SCOM 2012 (all have agents installed), what is the recommended way to to install SCOM 2012 R2 agents on them (multi homed deploy, deploy a new agent and it will upgrade/remove the
    already existing SCOM 2012, etc)?
      3- Does SCOM allows a approach to install a SCOM 2012 R2 on already existing SCOM 2012 MG and "migrate" its objects to new server and after that decomission SCOM 2012 (the old version)?
      Your inputs and references will be very welecomed.
      Regards, EEOC.

     1- Does SCOM support a side by side migration strategy , like SCCM 2007 R2 --> SCCM 2012 R2 that takes its main source objects and bring them to the new separated Management Group (the SCOM 2012 R2)?
       2- Considering that all regular member servers are monitored by SCOM 2012 (all have agents installed), what is the recommended way to to install SCOM 2012 R2 agents on them (multi homed deploy, deploy a new agent and it will upgrade/remove the
    already existing SCOM 2012, etc)?
    Yes. You can built SCOM 2012 R2 and do side-by-side migration.
    High Level View of System Center 2012 R2 Operations Manager Upgrade Steps – Upgrading 2012 SP1 Agents to 2012 R2 and Running Two Environments:
    1. Retain the original System Center 2012 Service Pack 1 (SP1), Operations Manager environment.
    2. Set up an additional, new System Center 2012 R2 Operations Manager environment with management servers, gateway, Operations Manager Database, Operations Manager Data Warehouse, console, web console, and reporting server.
    3. Upgrade the System Center 2012 Service Pack 1 (SP1), Operations Manager Agents to 2012 R2.
     a. Push-Install option
     b. Manual / Command Line option
      3- Does SCOM allows a approach to install a SCOM 2012 R2 on already existing SCOM 2012 MG and "migrate" its objects to new server and after that decomission SCOM 2012 (the old version)?
    The upgrade path is from SCOM 2012 --> SCOM 2012 SP1 --> SCOM 2012 R2
    High Level View of System Center 2012 R2 Operations Manager Upgrade Steps – Upgrading a Distributed Management Group
    1. Accomplish Pre-Upgrade Tasks
    2. Upgrade the initial management server and then additional management servers (each management server must be upgraded)
    3. Upgrade ACS (because the ACS server must be on same machine as a management server, we recommend you perform this step along with the upgrade of the management server on which ACS resides.)
    4. Upgrade Gateway(s)
    5. Upgrade Console
    6. Push Install to Agent(s) / Upgrading Manually Installed Agents
    7. Upgrade Web Console
    8. Upgrade Reporting Server
    9. Accomplish Post-Upgrade Tasks
    For detail, pls. refer to
    Upgrading System Center 2012 – Operations Manager to System Center 2012 SP1
    https://technet.microsoft.com/en-us/library/jj899854.aspx
    Upgrading System Center 2012 SP1 - Operations Manager to System Center 2012 R2
    https://technet.microsoft.com/en-us/library/dn249707.aspx
    Roger

  • Problem upgrading from SCOM 2012 SP1 to R2 (near impossible to uninstall SCOM agent from Management Server)

    I'm trying to upgrade our SCOM 2012 SP1 environment to R2, but I have a heck of a problem getting there.
    We currently have an test installation with SCOM 2012 SP1 with Management Server and Console on a single 2012 Standard server. The database are located on a remote server. The R2 setup stopped mid way through the setup, because the SCOM 2012 SP1 agent is
    installed. And I could NOT remove it my any normal means. I've tried "misexec.exe /x productcode", the setup, powershell uninstall and so on. Nothing works, because the management server installation is blocking the uninstall. The uninstall says
    I have to remove the management installation first. And that's not gonna happen.
    I had to follow this guide to finally getting through the setup: http://www.opsman.co.za/forcibly-removing-a-scom-agent-that-cannot-be-uninstalled-by-normal-means/
    In addition to searching for the agent msi install key in registry, and deleting everything. After I did this, the setup is working, and the SCOM management server, console and DB are up to date. However, the Microsoft Monitoring Agent are STILL there in
    Control Panel. And this can NOT be the most healthy way of getting through the setup.
    I'm about to upgrade to R2 in our production environment with 3 management servers, and I would hate to go through this sketchy process there as well. Just for the record, I have no idea why the agents are installed on our management servers.
    Any of you have tips as to how I can get rid of the agents more gracefully?

    Hi
    Thanks for the replay guys!
    None of those links touch my problem I'm afraid. I have followed the Upgrade guides you pointed to, step by step. But the setup does not Complete. There's problems during the actual software Upgrade of the management servers (3'rd step in the Upgrade page).
    I've dived into the Application logs and installation logs, and as far as I can tell, it stops because it has trouble upgrading while the server has the 2012 SP1 Agent installed. I do not remember the actual error text right now, but I can get it in a few
    days.
    Anyhow, the setup DID move on once I removed most of the registry information of the agent installation. So. that leaves me to the conclusion that the agent IS in fact stopping the setup. Either the agent are malfunctioning, or the setup do not expect the
    agent to be present on the management servers. I suspect the latter to be the the most plausible. At least until Yan Li told me this was normal.
    So, I'm not sure what to think. I'm pretty much forced to remove this agents, as this is the only thing allowing me to continue the setup. At least untill I'm told otherwise. But I hate to do it this way. It's so dirty. The registry is pretty much cleaned,
    but there's still Application files present, and the agent is still in the Control panel and can be started. It's not something I would like to do in our prodution environment.

  • Is it possible to deploy 2 SCOM 2012 R2 reporting in a SQL server which already has SCOM reporting of a different management group but with 2 different reporting instance.

    Hi Experts,
    I have a typical situation in the LAB environment. Hope some one helps. I have Installed a SCOM 2012 R2 with SQL 2012 SP1 in a single server (Management group 1). I have installed another management group on another server using this SQL server for its database
    so i have everything going fine.
    The first management group has its reporting installed in the SQL server. For the second i created a new named instance for that. But i cannot run the SCOM setup in the SQL server (Also holding the Management group 1 MS) as 1 st reporting is already there.
    When i run the setup it is asking me to repair it. I don't get the install option so i can install the reporting for management group 2 in the named instance.
    Default instance is being used by the 1st management group.
    Can any one figure a possibility for installing 2 SCOM reporting services for different management groups in a same SQL 2012 server please.
    Gautam.75801

    Hi Yan Li,
    Thank you for the reply. So as you are aware If i need to instal reporting, i need to run the SCOM 2012 R2 setup in the SQL server and select reporting and select the
    instance and then mention the management server there right. I am not getting that option there it is asking me to remove or repair the existing installation as there is already a SCOM entire setup including reporting there. As it is a lab there is no problem
    in testing. I have 2 reporting instances. Any suggestions for me on how to overcome this issue and deploy the second reporting in the new named instance ?
    Below is the screenshot of the error what i am talking about when i run SCOM 2012 R2 setup to install reporting in the SQL server
    When i click on add feature reporting is greyed out (As already 1st management groups reporting is installed)
    When i click on remove or repair it
    uninstalls the existing one. But i want both SCOM 2012 r2 reporting to be there(For both Management group). Is it possible ? If yes What is the trick to run the setup ?
    Gautam.75801

  • SCOM 2012 R2 installtion wizard not able to contact SQL server cluster

    Hi,
    This is about the error faced while installing SCOM 2012 R2.
    My customer has SQL 2012 SP1 cluster installed. I am trying to install the SCOM 2012 R2 with this installed SQL cluster. The SQL cluster is installed with default instance and with AAG (Always on Availability Group).
    The edition of SQL server is, SQL Server Enterprise edition with SP1
    After check services on both the SQL nodes found that SQL Full text is not installed (as the related SQL Full text service not present in the services.msc) on any of the SQL cluster node & SQL Browser service is not running.
    The running services for SQL are, SQL Server (MSSQLSERVER) & SQL Server Agent (MSSQLSERVER).
    When I started to install the SCOM 2012 R2, Within a SCOM 2012 wizard, On the Configure the Operational Database screen, entered only the name of SQL cluster & no instance as it is with default instance MSSQLSERVER.
    I faced error as, This SQL Server could not be found.
    After installed SQL full text, the service is showing in services.msc as "SQL Full-text Filter Daemon Launcher (MSSQLSERVER)".
    Now when I started to install the SCOM 2012 R2, Within a SCOM 2012 wizard, On the Configure the Operational Database screen, entered only the name of SQL cluster & no instance as it is with default instance MSSQLSERVER.
    I faced error as, The installed version of SQL Server could not be verified or is not supported. 
    Followings test carried out for the connectivity between SCOM 2012 MS &SQL Cluster
    Ping SQL Cluster successfully
    Telnet SQL Cluster for port 1433 successfully
    Tracert SQL Cluster – completed successfully with single hops.
    The windows firewall is off on both sides
    The SQL services running on the Active node 1 of the cluster are as follows:
    SQL Full Text Filter Daemon Launcher (MSSQLSERVER) -- Running & Manual
    SQL Server (MSSQLSERVER) -- Running & Automatic
    SQL Server Agent (MSSQLSERVER) -- Running & Automatic
    SQL serve Browser - Stopped & Manual
    SQL Server VSS Writer -- Running & Automatic
     The SQL services running on the Passive node 2 of the cluster are as follows:
    SQL Full Text Filter Daemon Launcher (MSSQLSERVER) -- Running & Manual
    SQL Server (MSSQLSERVER) -- Running & Automatic
    SQL Server Agent (MSSQLSERVER) -- Stopped & Automatic
    SQL serve Browser - Stopped & Manual
    SQL Server VSS Writer -- Running & Automatic
    The SQL Server Agent (MSSQLSERVER) service is not running on the second node. It is running only on first node which is active.
    The account used to install SCOM has the local admin privilege on the SQL server
    To ping the cluster use the cluster name & it solved the whole FQDN of cluster in ping result. When ping with IP address with -a it not resolve to name.
    Is any one can provide their valuable inputs.
    Regards,
    SandeepK

    Hi SandeepK,
    Before Installing Operations Manager on an availability group, please
    1. Make sure to use the Group listener Name and port when installing Operations Manager for the databases that are going to be added to the availability databases.
    2. The first management server will use the Group listener to get the primary SQL instance, and will install the databases on that instance.
    System Requirements: System Center 2012 R2 Operations Manager
    http://technet.microsoft.com/en-us/library/dn249696.aspx#BKMK_ClusterConfig
    Niki Han
    TechNet Community Support

  • How is called the Services "OpsMgr Health Service" in the SCOM 2012 and Client machine?

    Hi,
    Can anybody tell me how is called the Services of OpsMgr Health Service in the SCOM 2012?
    I have installed the agent of scom2012 on my client computer. But I dont find any agent called "OpsMgr Health Service" on the Client machine?
    Regards

    Hi
    If you look in the services.msc window then it is listed as the System Center Management Service. This is the display name.
    The actual service name is HealthService
    Cheers
    Graham
    Regards Graham New System Center 2012 Blog! -
    http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at
    http://systemcentersolutions.wordpress.com/
    The Ayman answer is god, It is called "Microsoft Monitoring Agent"

Maybe you are looking for