Requesting System Maintenance Mode
I just installed Solaris 10 on a SunFire v100 and patched the os. I added a second drive and mirrored it. Now I get this message 2 out of 3 times when I reboot the server.....
LOM event: +36d+22h57m55s host reset
Sun Fire V100 (UltraSPARC-IIe 548MHz), No Keyboard
OpenBoot 4.0, 1024 MB memory installed, Serial #57166297.
Ethernet address 0:3:ba:68:49:d9, Host ID: 836849d9.
Executing last command: boot
Boot device: rootdisk File and args:
SunOS Release 5.10 Version Generic_118822-27 64-bit
Copyright 1983-2005 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: gandalf
Jan 31 17:41:02 svc.startd[7]: svc:/system/boot-archive:default: Method "/lib/sv<br />
c/method/boot-archive" failed with exit status 1.
Jan 31 17:41:02 svc.startd[7]: svc:/system/boot-archive:default: Method "/lib/sv<br />
c/method/boot-archive" failed with exit status 1.
Jan 31 17:41:02 svc.startd[7]: svc:/system/boot-archive:default: Method "/lib/sv<br />
c/method/boot-archive" failed with exit status 1.
[ system/boot-archive:default failed (see 'svcs -x' for details) ]
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run
Root password for system maintenance (control-d to bypass):
Any clue on what I should do?
Thanks!
Chris Edwards
Hi,
Can you please check the below note
Solaris11 cannot boot and goes into maintenance ( svc:/system/early-manifest-import:default exited with status 1 ) (Doc ID 1526559.1)
It has the solution workaround. Kindly let us know in case issue is not fixed
Thanks,
Krishna
Similar Messages
-
Solaris10 stuck in maintenance mode
Hi
I was trying to mount a disk in by adding a line to the /etc/vfstab file but the disk did not exist.
When I rebooted, it went directly into maintenance mode and now when I try to roll back the change I can see an error saying the the file system is read only.
This is the output in teh console when I reboot:
The / file system (/dev/vx/rdsk/bootdg/rootvol) is being checked.
WARNING - Unable to repair the / filesystem. Run fsck
manually (fsck -F ufs /dev/vx/rdsk/bootdg/rootvol).
Nov 24 05:15:26 svc.startd[7]: svc:/system/filesystem/usr:default: Method "/lib/svc/method/fs-usr" failed with exit status 95.
Nov 24 05:15:26 svc.startd[7]: system/filesystem/usr:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)
Requesting System Maintenance Mode
Console login service(s) cannot run
After I have logged in I can see that the filesystem is not available:
bash-3.00# svcs -xv
svc:/system/filesystem/usr:default (read/write root file systems mounts)
State: maintenance since Mon Nov 24 05:15:26 2008
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: /etc/svc/volatile/system-filesystem-usr:default.log
Impact: 12 dependent services are not running:
svc:/system/filesystem/minimal:default
svc:/system/manifest-import:default
svc:/milestone/single-user:default
svc:/system/sysevent:default
svc:/system/device/fc-fabric:default
svc:/system/emcpower/powershift:default
svc:/milestone/devices:default
svc:/system/vxvm/vxvm-startup2:default
svc:/system/vxvm/vxvm-startvc:default
svc:/system/cryptosvc:default
svc:/system/device/local:default
svc:/system/keymap:default
bash-3.00#
Any help would be appreciatedIt appears that Solaris could not check your root filesystem.
Try running fsck on it yourself, with a command line like
"fsck -F ufs /dev/vx/rdsk/bootdg/rootvol". -
Warning: The system has not been taken off maintenance mode completely
After I enabled Maintenance mode using adadmin, I ran Compile Flexfields. Then I disabled Maintenance mode. But, on the 11i login page, I keep getting a warning message:
Warning
The system has not been taken off maintenance mode completely. Please contact your System Administrator.
I am sure I disabled the Maintenance mode in adadmin. Why I still get the warning? How to fix it? Thanks a lot.Thanks a lot. That is the fix.
One more question. After I ran "Compile Flexfields", I got
Number of successful descriptive flex compilations : 7520
Number of failed descriptive flex compilations : 1
How can I find the failed description flex? The log does not give info on this. And, how to fix it?
Thanks a lot for your help. -
Redirect users to page when we take system in maintenance mode.
I would like to redirect users to page when we take system in maintenance mode. We are on 12.1.3 application. please provide me document which have these details
Please see old threads which discuss the same topic.
http://forums.oracle.com/forums/search.jspa?threadID=&q=Redirect+AND+Maintenance&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
http://forums.oracle.com/forums/search.jspa?threadID=&q=Maintenance+AND+Message&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
http://forums.oracle.com/forums/search.jspa?threadID=&q=Outage+AND+Maintenance&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Please search the forum before posting similar questions.
Thanks,
Hussein -
Maintenance mode is cancelled for no reason by the system
Hi, very unusual and sporadic problem.
Let's say we put a URL monitor into maintenance mode for 4 hours.
After 2 hours we reboot the URL hosting server.
The maintenance mode has been cancelled and the URL will alert again while we continue to work on it.
Should this happen ? The version is SCOM 2012 SP1 UR6.
Thanks in anticipation.If there is lot of data, Then add this string and userid like '%User name who silenced the URL%'
so this will totally filter the report to only all the servers / items silenced by a specific user.
So it will come like this
USE OperationsManagerDW
SELECT ManagedEntity.DisplayName, MaintenanceModeHistory.*
FROM ManagedEntity WITH (NOLOCK)
INNER JOIN
MaintenanceMode ON ManagedEntity.ManagedEntityRowId = MaintenanceMode.ManagedEntityRowId
INNER JOIN
MaintenanceModeHistory ON MaintenanceMode.MaintenanceModeRowId = MaintenanceModeHistory.MaintenanceModeRowId
where DisplayName Like '%%' and userid like '%User name who silenced the URL%'
Gautam.75801 -
How to schedule Maintenance Mode in SCOM 2012?
Hi
How do I schedule Maintenance Mode in SCOM 2012? Do we have any tool for 2012 like we had with 2007?
Regards,
Akhilesh
Thanks, AkhileshYep - to add a calendar takes some extra steps:
E.g.
1) Create a database which includes a table to store information such as:
- target for maintenance mode
- scheduled time for maintenance mode
- Comments
- Duration
- Reason
2) The Service Request fires off an Orchestrator runbook that stores this information in the database
3) Another Runbook that runs frequently that checks the database to see if it should kick off maintenance mode.
It isn't any easy solution for maintenance mode. It works better for more simplistic scheduling e.g. we do implement this kind of logic for environment refreshes and backups where we use the SM Portal and Orchestrator to log a date and then have another
runbook that runs at 2am every day to check if it should execute a backup \ refresh.
Cheers
Graham
Regards Graham New System Center 2012 Blog! -
http://www.systemcentersolutions.co.uk
View OpsMgr tips and tricks at
http://systemcentersolutions.wordpress.com/ -
Found all the Servers that were restart without the maintenance mode were actived ?
Hi all
I was wondering if I can find a query about this request:
- Found all the Servers that were restart without the maintenance mode were actived ?
It's to make a Report To include in Reporting Services.
sorry for my English :)
Thank you very much and have a good dayHi, first if the maintenance mode is activated no events are collected, then, as example, in default rules you can see the following
Collection Rule for Windows Restarted Events that collects eventid=6005
with eventsourcename=eventlog from System
log which is enabled by default.
http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Windows+Operating+System&ProdVer=5.2&EvtID=6005&EvtSrc=EventLog&LCID=1033
So you can check Data warehouse DB for presence such event
select ComputerName, DateTime from Event.vEvent ev
inner join Event.vEventDetail evd on ev.eventoriginid = evd.eventoriginid
inner join Event.vEventParameter evp on ev.eventoriginid = evp.eventoriginid
inner join vEventLoggingComputer elc on elc.eventloggingcomputerrowid = ev.loggingcomputerrowid
where eventdisplaynumber = '6005' Order by ComputerName, Datetime
http://blogs.technet.com/b/kevinholman/archive/2007/10/18/useful-operations-manager-2007-sql-queries.aspx
So if you see this event it means the server was restarted and the maintenance mode was not activated.
Also keep in mind that there can be other event ids when computer is restarted, as example see the rule
Collection Rule for Windows Restart Events (restarted from bugcheck) -
Looking for a Powershell Script which can put the scom servers in maintenance mode
Looking for a Powershell Script which can put the scom servers in maintenance mode so that SCOM should not send an alert during planned task.
Rahul1. Provide list of servers line-by-line in C:\ServerList.txt, make sure you provide limited no. of servers, do not exceed 20 - 25 per batch
2. Save the script with suitable name (test.ps1)
3. Open PowerShell cmd prompt
4. Script accepts 3 params - TimeInMinutes, Reason and Comment
**** Please note, this script will work for SCOM 2012 R2
param([int32]$TimeMin, [string]$Reason, [string]$Comment)
try
$api = new-object -comObject 'MOM.ScriptAPI'
Import-Module operationsmanager
New-SCOMManagementGroupConnection
$Servers = Get-Content "C:\ServerList.txt"
$Time = (Get-Date).Addminutes($TimeMin)
Foreach ($Server in $Servers)
#Get Computer instance
$ComputerClass = Get-SCOMClass -Name Microsoft.Windows.Computer
$ComputerClassInstance = Get-SCOMClassInstance -Class $ComputerClass | Where {$_.DisplayName -eq $Server}
If ($ComputerClassInstance -ne $Null)
$HealthServiceWatcherClass = Get-SCOMClass -name:Microsoft.SystemCenter.HealthServiceWatcher
#Get Health Service Watcher Class instance of the server
$HSWClass = Get-SCOMClass -Name Microsoft.SystemCenter.HealthServiceWatcher
$HSWClassIns = Get-SCOMClassInstance -Class $HSWClass | Where {$_.DisplayName -eq $Server}
#Starting the maintenance mode
Start-SCOMMaintenanceMode -Instance $HSWClassIns -EndTime $Time -Reason $Reason -Comment $Comment
Start-SCOMMaintenanceMode -Instance $ComputerClassInstance -EndTime $Time -Reason $Reason -Comment $Comment
Write-Host "Health Service Watcher and Agent server "$Server " kept in maintenance mode" -foregroundcolor "green"
$api.LogScriptEvent('MaintenanceModeScript.ps1', 200, 0, "$Server kept in maintenance mode for $TimeMin minutes")
Else
Write-Host $Server" not found " -foregroundcolor "red"
$api.LogScriptEvent('MaintenanceModeScript.ps1', 201, 1, "$Server could not be found in domain")
Catch [system.exception]
$api.LogScriptEvent('MaintenanceModeScript.ps1', 201, 1, $_.Exception.Message)
Faizan -
'Update' maintenance mode in transaction PRAA
Hi,
We are trying to create an employee vendor using the transaction PRAA by selecting the 'Update' maintenance mode.
The issue is that the clerk's email address is being copied from the reference vendor if the personnel does not have an email address maintained in the HR records.
Please could you let me know if this is the standard functionality.
Thank you.Hello
Not sure that is a standard functionnality. You should check user-exit and BAdIs implemented in your system for PRAA... (there is 2 exit).
If not you should open an incident to SAP because it doesnt looks like very clean to me to copy the email from template. -
SQL Query for maintenance mode in SCOM
Hi all
I was wondering if I can find a query about this request:
- Found all the Servers that were restart without the maintenance mode were actived ?
It's to make a Report To include in Reporting Services.
sorry for my English :)
Thank you very much and have a good dayYour question seems related to SCOM. SCOM may use SQL Server, but to answer the question, I guess one needs to know SCOM, so maybe you should try a forum for that product? I found
http://social.technet.microsoft.com/Forums/systemcenter/en-US/home?forum=operationsmanagergeneral
Erland Sommarskog, SQL Server MVP, [email protected] -
Solaris 10 disk mirror partition goes in maintenance mode at reboot
Hello
I have got solaris 10 installed on a Sun machine with 2 disks mirrorred to each other. There also security toolkit 4.2 installed. Now every time the system reboots and I do a metastat the mirror partitions goes in maintenance mode and I have to individually metasync the mirrors after every reboot.
I guess this due to the security toolkit playing up. Would really appreciate any help to sort this out. The mirrors should automatically resync after system reboot.
Thanks in advance.
PioneerHi yes I did run the metaroot. If I manually metasync its all OK. My problem is the partition does not auto sync after the system boots.
I guess this is someting to do with the security toolkit 4.2 playing up not disabling some services at boot. Have any one faced this issue ?
Many Thanks
Pioneer -
Failed to get Monitor - Start Maintenance Mode
Hi,
Am struggling with a problem with Orchestrator R2 apparently not recognising output from a Monitor alert step in a run book. I have Orchestrator 2012R2 and SCOM 2012R2 configured. Orchestrator is co-located with VMM2012R2.
Operating system for all is Windows server 2012
I have installed and deployed the Orchestrator R2 Integration packs which in deployment manager state version 7.2
I have checked to ensure that both Orchestrator, SCOM and VMM are all R2 (They are)
I am looking to create a runbook that will start services as per the link here: (Thanks to Jakob for this)
http://blog.coretech.dk/jgs/sco-2012-scom-2012-best-practice-monitor-alert-and-restart-a-service/
I can test the connection to the SCOM server - fine
I create the monitor alert step and test - fine
I create the start maintenance mode step and get the following error:
Filed to get Monitor. The exception was "An object of class MonitoringObject with ID 00000000-0000-0000-0000-000000000000 was not found.".
I have used the runbook tester and the monitoringobjectfullname is present in the output for the start maintenance mode step.
However irrespective of the variable that I attempt to use in start maintenance mode step I continue to get the same error as above.
The monitor alert step completes with no issues, but everytime on the start maint mode step it fails.
I have validated the SCOM connection account has all the appropriate SCOM permissions. I have also provided it with full domain admin rights, but with no success.
Any ideas on how to troubleshoot this would be welcomed
Thanks in advanceHi Stefan,
A little extension of your approach as this is only usable if you want to set a Windows Server into Maintenance Mode - but not e.g. for Distributed Apps
I just required the "Start Maintenance Mode" Activity to set a distributed app and a websphere application server instance (which is not linked with the server itself). And I did not find any documentation how to fill the field - only for Windows
Computer.
So I'll post my result on how to get the value which needs to be entered within the "Monitor" field:
(PowerShell - Use "Activities > System > Run .Net Script > Type: Powershell)
Import-Module OperationsManager
$object= Get-SCOMMonitoringObject -displayname "<desired object displayname";
# or use the ID instead:
# $object = Get-SCOMMonitoringObject -ID "<ID of object>";
$name = $object.displayname;
$fullname = $object.fullname;
$monitor = $name + " : " + $fullname
Then put $monitor within "published data" and you can use it directly in the "Start Maintenance Mode" Activity.
This only works if the runbook is running on a SCOM management server as it requires the SCOM Powershell Module. But at least it somehow shows the syntax.
Best Regards
Klaus
Austria -
Host getting exit from Maintenance mode automatically
Hi all,
I have placed a ESXi 5.1 update 2 host into maintenance mode for host upgrade.
After sometime, the host got exit from maintenance mode automatically ( Exit maintenance mode initiated by System).
Have anyone faced this issue??
Any solution/fix for this ...
Please let me know.In order to uninstall a possibly unwanted extension, please do the following:
#From the Firefox window click the Firefox button at the top left and select ''Add-ons'', or, if the Firefox button is not shown, click the ''Tools'' menu and click ''Add-ons''.
#Once the Add-on Manager has opened in a new tab, click the ''Extensions'' button on the left side of the window.
#You should now see a list of your installed extensions on the right side together with buttons on the right side of each extension.
#To remove an extension from Firefox, simply click the ''Remove'' button. You should see a message that informs you about the successful removal of the add-on.
#Note that some add-ons require a Firefox restart to be removed completely. To perform a Firefox restart after the add-on removal, click the ''Restart now'' link in the message.
You can find further information about uninstalling extensions in the following articles:
[[Disable or remove Add-ons]]
[[Remove a toolbar that has taken over your Firefox search or home page]] -
Clarification on Maintenance mode
Hello,
Just want to know if we can turn the maintenance mode ON for specific agents in agent admin page. We have all the agents connected to our solman system & we have an outage in the Non-Prod landscape. Do we have an option to put the non-prod agents alone in maintenance mode?
Please clarify.Hi
Maintenance Mode is De-activated for Agent on CEN (on SolMan) only and this step ensures that the connected SMDAgent from Managed Systems are disconnected from SMDAgent of Solution Manager.
Otherwise, you need to stop on the respective Managed system.
Swami -
"Class instance is already in Maintenance Mode" - but it isn't
Hello,
we have a powershell script to set the servers managed by scom agent in maintenance mode (e.g. for windows updates and restart).
A colleague recognized an error during running this script. It says that instances of the server are still in maintenance mode. But if you check through SCOM it is not. And for resetting maintenance mode with 0 it says it is not in maintenance mode.
Is it possible to clear maintenance mode for all things wiht a sql statement?
Script:
#=============================================================================#
# Remote-MaintenanceModeV5.ps1 #
# Powershell Script to put a SCOM agent into maintenance mode. #
# Autor: Roman Strecker #
# Date: 14.12.2012 #
# Bekannte Fehler: Speicher auf dem Zielhost (SCOM) muss hoehergesetzt werden!#
# winrm set winrm/config/winrs `@`{MaxMemoryPerShellMB=`"512`"`} #
#=============================================================================#
param(
[Parameter(Mandatory = $false)][string]$ComputerName,
[Parameter(Mandatory = $false)][string]$Dauer
Function SetMaintenanceMode
$ok = Test-Connection 10.202.14.29 -Count 1 -Quiet
if (-not($ok)) {
$SCOMServer = "srv14v030"
else{
$SCOMServer = "srv14v029"
#Kleinster Zeitinterval bei SCOM sind 6 Minuten!
if ([int]$Dauer -eq '0') {
Write-Host "Löschen des Maintenance Modes wird durchgeführt!"
$DeleteMM = $true
else {
if ([int]$Dauer -lt '6') {
$Dauer = "6"
$startTime = [DateTime]::Now
$endTime = $startTime.AddMinutes($Dauer)
Write-Host "`nFolgende Parameter werden verwendet: `nServername: $ComputerName `nWartungs-Dauer: $Dauer Minuten `nWartungsmodus wird geprüft..."
#Get-ChildItem env:
#Erzeuge ein Credential-Objekt für die Verbindung zum SCOM:
$secpasswd = ConvertTo-SecureString "xxxxxx" -AsPlainText -Force
$Credential = New-Object System.Management.Automation.PSCredential ("SA_SCOM-ActionAcc", $secpasswd)
#Erzeuge eine Remote-Session zum SCOM:
#$Session = New-PSSession -ComputerName $SCOMServer -Authentication kerberos
$Session = New-PSSession -ComputerName $SCOMServer -Credential $Credential
$Session = get-pssession
Invoke-Command -Session $Session -ScriptBlock {
param($ComputerName, $endTime, $DeleteMM)
Import-Module OperationsManager
try {
$MonitoringObjects = Get-SCOMMonitoringObject | where {$_.DisplayName -like "$ComputerName*"}
$MObject.ViewName
catch {
Write-Host "Fehler beim Verbinden mit dem SCOM ist aufgetreten!`nBitte versuchen Sie es später noch ein Mal."
Write-Host "Vollständige Fehlermeldung: "$_.Exception.Message
if ($MonitoringObjects -eq $null) {
Write-Host "Servername konnte nicht gefunden werden: " $ComputerName
else {
foreach ($ComputerInstance in $MonitoringObjects) {
if ($ComputerInstance.InMaintenanceMode) {
if ($DeleteMM) {
#Wartung muss gelöscht werden
$ComputerInstance.StopMaintenanceMode([DateTime]::Now.ToUniversalTime(), "Recursive")
$Ausgabe = "Server aus dem Wartungsmodus entfernt."
else {
#Server ist Bereits im Wartungsmodus
$MMEntry = Get-SCOMMaintenanceMode -Instance $ComputerInstance
Set-SCOMMaintenanceMode -MaintenanceModeEntry $MMEntry -EndTime $EndTime -Comment "Wartungsmodus wird angepasst."
$Ausgabe = "Wartungsmodus für den Server " + $ComputerName + " ist angepasst bis " + ((Get-SCOMMaintenanceMode -Instance $ComputerInstance).ScheduledEndTime).ToLocalTime()
else {
if ($DeleteMM) {
#Server war nicht im Wartungsmodus und soll gelöscht werden
$Ausgabe = "Server war nicht im Wartungsmodus!"
else {
#Setzen des Servers in die Wartung
Start-SCOMMaintenanceMode -Instance $ComputerInstance -EndTime $endTime -Reason "PlannedOther" -Comment "Wartungsmodus wird gesetzt."
$Ausgabe = "Wartungsmodus für den Server " + $ComputerName + " ist gesetzt bis " + ((Get-SCOMMaintenanceMode -Instance $ComputerInstance).ScheduledEndTime).ToLocalTime()
#Ausgabe für die letzte Instanz:
Write-Host $Ausgabe
} -ArgumentList $ComputerName, $endTime, $DeleteMM
#Schliesse die Remote-Session
Remove-PSSession -Session $Session
#MAIN:
#Prüfung, ob die Parameter eingeben wurden:
if ($ComputerName -eq '') {
$ComputerName = Read-Host "Bitte den Servernamen eingeben"
$Dauer = Read-Host "Bitte die Dauer in Minuten eingeben (0 = Löschen des Wartungsfensters)"
#Wenn noch immer nichts gesetzt ist, dann abgebrochen:
if ($ComputerName -eq '' -OR $Dauer -eq '') {
Write-Host "Vorgang abgebrochen!"
else {
SetMaintenanceMode
Sleep 5
Regards.Hi also in this post :)
Thats a nice query - thank you. But the systems with the error are not listed.
Maybe there is an error in our script:
foreach ($ComputerInstance in $MonitoringObjects) {
if ($ComputerInstance.InMaintenanceMode) {....$MMEntry = Get-SCOMMaintenanceMode -Instance $ComputerInstance
Maybe you are looking for
-
Digital Editions on iRex Digital Reader 1000?
Hello, iRex Technologies has just released their second generation e-reader, the Digital Reader 1000 (DR1000), with a 10.2 inch diagonal screen. They have a framework called the Universal Document Shell that allows 3rd parties to write document viewe
-
How to Breake Column in Classic report.
Dear Friends i want to display Employee information so I have created classicreport using below sql query select EMP_ID, FIRST_NAME, MIDDLE_NAME, LAST_NAME, GENDER, BLOOD_GROUP, MARITAL_STATUS, ADDRESS_1, ADDRESS_2, CITY_NAME, PINCODE, PHONE_NO, MOBI
-
How do i get music from my iPhone on to a new iTunes library?
I have my iphone synced with an itunes library, but that laptop was recently died. completley. I want to sync my phone to my iMac now. how do I transfer all the stuff on my phone to the computer? i really dont want to lose anything!
-
Macbook Pro doesn't starts, turn off in progress bar (Yosemite)
My Macbook Pro (13-inch Mid 2012) doesn't start, I can submit my password but in progress bar the computer turn off. I all ready reset the PRAM but the problem insists What should i do?
-
I am considering to buy macbook or macbook pro, but i scare of alot of problem of apple's computer now, because some website in asia such as Thailand, they said that since apple produce macbook or macbook pro, the quality is bad because they have alo