You are on page 1of 6

8/16/2016

[Solaris]MemoryBlacklisting,DuplicateIPAddress&Recovery,GroupPackageInstallations,..(GiriMandalika'sRepository)

O racle

BlogsHome
Products&Services
Downloads
Support
Partners
Communities
About
Login
OracleBlog
GiriMandalika'sRepository
Somethingtoshare

Solaris:Identifying...|Main|[Solaris]Clock...

[Solaris]MemoryBlacklisting,DuplicateIPAddress&Recovery,GroupPackageInstallations,..
ByGiriMandalikaOracleonDec30,2015

1
Memoryblacklistoperation
TocheckifmemoryblacklistoperationbyLDomsManager(ldm)isinprogress,run:
echo"zeus::printazeus_tmem_blacklist_inprog"|mdbp`pgrepldmd`

Ifnoblacklistoperationisinprogress,theabovemayreturnoutputthatissimilarto:
<hexaddress>mem_blacklist_inprog=0(false)

Whenamemoryblacklistoperationisinprogress,theabovemayreturnoutputthatissimilarto:
<hexaddress>mem_blacklist_inprog=0x1(true)

Insuchasituation,anyattempttorunldmcommandsrelatedtomemorymanagementmayfailwitherror:
Amemoryblacklistoperationisbeingprocessed.Othermemoryoperationsaredisableduntilitcompletes

Sometimesapowercyclemaycleartheblacklistoperation.Innotsoluckysituations,theaffectedDIMM(s)mayhavetobeserviced.
(Credit:EuniceM.)

2
DuplicateIPAddress&Recovery
Iftwonodes[runningSolaris]onanetworksharethesameIPaddress,Solariskerneldetectstheduplicateaddress,marksitasduplicateandeventuallydisablesandturnsoffthe
IPinterfaceiftheproblempersists.Theseactionsaretypicallyrecordedinthesystemlogwithwarningssuchasthefollowing.
eg.,
Dec2316:46:18somehostip:[ID759807kern.warning]WARNING:net0hasduplicateaddressxx.xx.xx.xx(inuseby00:10:e0:5d:9c:83)disabled
Dec2316:46:18somehostin.routed[737]:[ID238047daemon.warning]interfacenet0toxx.xx.xx.xxturnedoff

WhentheIPinterfacewasdisabled/turnedoff,ipadmshowifshowsdownstateforthatinterface.
Oncetheproblemwasdiscoveredandfixed[bytheadministratororuser]toavoidduplicationofIPaddress,SolariskernelenablesandbringsuptheIPinterfacethatitturnedoff
earlierupondetectingaduplicateIPaddress.Thisactiontooisrecordedinthesystemlog.
Dec2316:51:18somehostip:[ID636139kern.notice]NOTICE:recoveredaddress::ffff:xx.xx.xx.xxonnet0

https://blogs.oracle.com/mandalika/entry/solaris_memory_blacklisting_duplicate_ip

1/6

8/16/2016

[Solaris]MemoryBlacklisting,DuplicateIPAddress&Recovery,GroupPackageInstallations,..(GiriMandalika'sRepository)

OncethesystemmarksaninterfacedownduetotheconflictingIPaddressinaremotesystem,thelocalsystemperiodicallycheckstoseeiftheconflictpersists.InSolaris11.3,the
timebetweenthechecksis300,000milliseconds(300secondsor5minutes).Howeverinsomecaseswaitingfor5minutesmightnotbedesirable.Insuchcases,thetimebetween
theduplicateIPaddresscheckscanbetunedbymodifyingtheIPtunableparameter,_dup_recovery,toappropriatevalue.
eg.,
Reducethe_dup_recoveryvalueto90seconds.
Temporarychange(nonpersistent)
#nddget/dev/ipip_dup_recovery
300000
#nddset/dev/ipip_dup_recovery90000
#nddget/dev/ipip_dup_recovery
90000

Permanentchange(persistentacrossreboots)
#ipadmshowpropp_dup_recoveryip
PROTOPROPERTYPERMCURRENTPERSISTENTDEFAULTPOSSIBLE
ip_dup_recoveryrw30000030000003600000
#ipadmsetpropp_dup_recovery=90000ip
#ipadmshowpropp_dup_recoveryip
PROTOPROPERTYPERMCURRENTPERSISTENTDEFAULTPOSSIBLE
ip_dup_recoveryrw900009000030000003600000

Noticetheslightdifferenceinparameternameswhennddandipadmwereusedtotunethesamevalue.

3
SolarisOS:WhatGroupPackagewasInstalled?
pkglistontargetsystemshowsthisinformation.

eg.,
#pkglist|grep"group/system/solaris"|grepserver
group/system/solarisminimalserver0.5.110.175.3.1.0.5.0i

Listallpackagesthatarepartofthegrouppackagethatwasinstalledbyrunning:
pkglistas`pkgcontentsrHofmritdependatype=group<grouppackage>`

ListavailablegrouppackagestoinstallSolarisserver:
#pkgsearchsolaris*server|awk'{print$3"\t"$4}'
VALUE

PACKAGE
solaris/group/system/solarislargeserverpkg:/group/system/solarislargeserver@0.5.110.175.3.1.0.5.0
solaris/group/system/solarisminimalserverpkg:/group/system/solarisminimalserver@0.5.110.175.3.1.0.5.0
solaris/group/system/solarissmallserverpkg:/group/system/solarissmallserver@0.5.110.175.3.1.0.5.0
solarislargeserverprovidesanOracleSolarislargeserverenvironmentthatcontainallofthecommonnetworkservicesthatanenterpriseservermustprovide.

HardwaredriversthatarerequiredforserverssuchasInfiniBanddriversarealsopartofthisgrouppackage.
solarissmallserverinstallsasmallersetofpackagesonaserverandprovidescommandlineenvironment
solarisminimalserverinstallsthesmallestpossiblesetofSolarispackageswhichprovidesaminimalcommandlineenvironment

Inadditiontotheabove,solaris/group/system/solarisdesktopgrouppackageprovidesSolarisdesktopenvironment.ThispackagecontainstheGNOMEdesktop
environmentthatincludesGUIapplicationssuchaswebbrowsersandmailclients,anddriversforgraphicsandaudiodevices.
Keepinmindthatsolarisdesktopgrouppackagehasalotmorepackagescomparedtotheotherthreegrouppackagesoutlinedabove.

4
SolarisOS:WhatAIManifestwasUsed?
https://blogs.oracle.com/mandalika/entry/solaris_memory_blacklisting_duplicate_ip

2/6

8/16/2016

[Solaris]MemoryBlacklisting,DuplicateIPAddress&Recovery,GroupPackageInstallations,..(GiriMandalika'sRepository)

Ontargetsystem,locatetheAImanifestfilethatwasusedtoperformtheSolarisinstallationat:
/var/log/install/ai.xml

Installationlogcanalsobefoundinthesamedirectory.

5
PackageHistory
pkghistoryshowscommandhistoryrelatedtoaspecificpackageorallpackagesinstalledonthesystem.Thisincludesinformationsuchaswhoinitiatedthepackageoperation,

thecompletecommand,howlongittooktocompletetheoperation,whetheranewbootenvironment(BE)wascreatedandtheerrorsencountered,ifany.
Refertopkg(1)manpagefortheoptionsanddescription.

PS:
Legibleversionofthispostwithfulloutputs@[Solaris]MemoryBlacklisting,DuplicateIPAddress&Recovery,GroupPackageInstallations,..

FancySeparatorCredit:jkneb
Category:Solaris
Tags:ldmpkgsolaristips
Permanentlinktothisentry
Solaris:Identifying...|Main|[Solaris]Clock...
Comments:
PostaComment:
Name: guest
EMail:
URL:
Notifymebyemailofnewcomments
RememberInformation?

YourComment:
HTMLSyntax:NOTallowed
Pleaseanswerthissimplemathquestion
2+5=
Preview

Post

About

Benchmarkannouncements,HOWTOs,TipsandTroubleshooting
Search

Entersearchterm:

Searchonlythisblog
RecentPosts

https://blogs.oracle.com/mandalika/entry/solaris_memory_blacklisting_duplicate_ip

3/6

8/16/2016

[Solaris]MemoryBlacklisting,DuplicateIPAddress&Recovery,GroupPackageInstallations,..(GiriMandalika'sRepository)

NewArticleonOTN:OracleSolarisToolsforLocalityObservability
ProgramminginC:FewTidbits#7
SolarisAPIforLocalityGroupObservability
Solaris11:FewRandomCommands
ProgramminginC:FewTidbits#6
[Solaris]ClockSynchronization,MaxUsernameLength,RemovableMedia
[Solaris]MemoryBlacklisting,DuplicateIPAddress&Recovery,GroupPackageInstallations,..
Solaris:IdentifyingEFIdisks
OracleDatabase:ProfilingPL/SQLCode
FewRandomSolarisCommands:intrstat,croinfo,dlstat,fmstat,..
TopTags

11.2
analysis
analytics
benchmark
best
bi
business
c
c++
certification
cmt
consolidation
crm
data
database
ebs
enterprise
f5100
flash
intelligence
java
locality+group
m4000
mysql
mysqlnd
nfs
opensolaris
oracle
payroll
peoplesoft
performance
php
practices
programming
rdbms
server
siebel
solaris
sparc
studio
sun
t4
t5440
tidbits
tips
troubleshooting
tuning
ultrasparc
ultrasparct2plus
virtualization
Categories

Benchmarks
BestPractices
CMT
Enterprise
Fix
Generic
HowTo
https://blogs.oracle.com/mandalika/entry/solaris_memory_blacklisting_duplicate_ip

4/6

8/16/2016

[Solaris]MemoryBlacklisting,DuplicateIPAddress&Recovery,GroupPackageInstallations,..(GiriMandalika'sRepository)

Java
MySQL
Oracle
Performance
Programming
Solaris
Sun
Tips
Tools
Troubleshooting
Workaround
Archives

August2016
SunMonTue WedThuFriSat
1
2 3
4 5 6
7 8
9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31



Today
Bookmarks

ISVEngineering
Javahome
MyExternalBlog
MySQLDevZone
OpenSolaris
SunDeveloperNetwork
Menu

BlogsHome
Weblog
Login
Feeds

RSS
All
/Benchmarks
/BestPractices
/CMT
/Enterprise
/Fix
/Generic
/HowTo
/Java
/MySQL
/Oracle
/Performance
/Programming
/Solaris
/Sun
/Tips
/Tools
/Troubleshooting
/Workaround
Comments
Atom
All
/Benchmarks
/BestPractices
/CMT
/Enterprise
/Fix
https://blogs.oracle.com/mandalika/entry/solaris_memory_blacklisting_duplicate_ip

5/6

8/16/2016

[Solaris]MemoryBlacklisting,DuplicateIPAddress&Recovery,GroupPackageInstallations,..(GiriMandalika'sRepository)

/Generic
/HowTo
/Java
/MySQL
/Oracle
/Performance
/Programming
/Solaris
/Sun
/Tips
/Tools
/Troubleshooting
/Workaround
Comments
TheviewsexpressedonthisblogarethoseoftheauthoranddonotnecessarilyreflecttheviewsofOracle.TermsofUse|YourPrivacyRights|CookiePreferences

https://blogs.oracle.com/mandalika/entry/solaris_memory_blacklisting_duplicate_ip

6/6