You are on page 1of 5

4/8/2015

CreatingIPSrepositoryonSolaris11~TheInfraDiary

The Infra Diary


The complete reference of IT.

HOME

SOLARIS - LINUX

CHAPTER WISE

VERITAS

VM WARE

STORAGE

Creating IPS repository on Solaris 11


8:31 AM

INTERVIEW PANEL

GENERAL ARTICLE

ABOUT ME

SOCIAL PROFILES

Solaris11

Oraclehascompletelychangedpatchingandpackaging
systemonSolaris11,nowit'scallasa(IPS)Image
packagingsystem,wecaninstall,updateandsearch
packagesfromrepositorylocallyorremotely.

Search
Popular

Wecandesignourrepositoryoneofthefollowing

2.RemoterepositoryinInternalnetwork(withinour
localnetwork)

Using Solaris Live Upgrade (LU) to


patch CPU patch cluster. Generally
CPU OS patch cluster will take more
time to complete the patch...

3.Internet(online)repository(http://pkg.oracle.com/solaris/release/)

VXVM Disk group import failed


I have recently encounter DG import
failed issue on one of my
environment and finally resolved as
below. While reboot the server I ...

SomeofthekeyadvantagesofIPSImagepackagingsystem:
1.Itwillcheckandpickupdependencypackageautomaticallywhileinstallingany
packages

How to enable SAR (System Activity


Reporter) on Solaris 10

2.Itwillcreatesautomaticallybackupbootenvironmentwhendemand
3.Itwillallowsyoutoeasilygreptheinformationaboutpackageslikequery,list,update,
install,uninstallthesoftwarepackages.
Let'sdescribethestepstosetuplocalrepository:

This artical about to enable SAR


(System Activity Reporter) on Solaris
10, here I am providing step by step
details to enable it. Some o...
Creating IPS repository on Solaris 11
Oracle has completely changed
patching and packaging system on
Solaris 11, now it's call as a
(IPS)Image packaging system, we can

1)Downloadlatestrepofromoraclewebsite
2)UsuallyitistwopartsISOimage,wehavetocombineittogether
SettingupaLocalIPSrepository:
Combinebothdownloadedrepofilestogether:

root@infravm:/hgfs/Solaris#catsol11_1repofull.isoasol11_1repofu
ll.isob>sol11_1repofull.iso
root@infravm:/hgfs/Solaris#
MounttheISOimageasa/mnt:

root@infravm:/#mountFhsfs/mnt/hgfs/Solaris/sol11repofull.iso/mnt
root@infravm:/#dfh/mnt
FilesystemSizeUsedAvailableCapacityMountedon
/mnt/hgfs/Solaris/sol11_1repofull.iso
6.8G6.8G0K100%/mnt
root@infravm:/#
HereactuallyIdidnotcreateddedicatedfilessystembutifyoucreateseparatepool/FS
itwillgiveyouthegoodperformanceandspaceutilization.

http://theinfradiary.blogspot.in/2014/04/creatingipsrepositoryonsolaris11.html

BlogArchives

Solaris 10 OS patching using LU


(Live upgrade method)

method:
1.Localrepository(serveritself)

Tags

in...
How to Add / Change / Delete route
in solaris10 on different methods
This article will explain about to add
type of routes in Solaris10 . Static
and Dynamic routes: The static
routes are adde...
How to fix network subnet mask aka
netmask issue on solaris
Here I am explaining what I
encounter network issues in my
environment about network subnet
mask aka netmask. I have faced issue with n...
Install / Enable GUI desktop on
Solaris 11 x86 platform
By default, the soalris11 text based
installation will not install complete
package. It will install minimum /
default packages. If you...

1/5

4/8/2015

CreatingIPSrepositoryonSolaris11~TheInfraDiary

Copyallthefilesfrom/mnt/repo/toourlocaldirectory/solrepo/:

root@infravm:/#mkdir/solrepo
root@infravm:/#rsyncaP/mnt/repo//solrepo/
sendingincrementalfilelist
createddirectory/solrepo
./
pkg5.repository
242100%0.00kB/s0:00:00
242100%0.00kB/s0:00:00(xfer#1,tocheck=1464/1466)
publisher/
publisher/solaris/
publisher/solaris/catalog/
publisher/solaris/catalog/catalog.attrs
606100%295.90kB/s0:00:00
606100%295.90kB/s0:00:00(xfer#2,tocheck=1455/1466)
publisher/solaris/catalog/catalog.base.C
327685%1.95MB/s0:00:00
619178100%16.87MB/s0:00:00(xfer#3,tocheck=1454/1466)
publisher/solaris/catalog/catalog.dependency.C
327681%711.11kB/s0:00:03
2581594100%17.22MB/s0:00:00(xfer#4,tocheck=1453/1466)
publisher/solaris/catalog/catalog.summary.C
327681%209.15kB/s0:00:07
1698356100%7.57MB/s0:00:00(xfer#5,tocheck=1452/1466)
publisher/solaris/tmp/lock
0100%0.00kB/s0:00:00(xfer#315831,tocheck=0/320497)
publisher/solaris/trans/
sent6932390502bytesreceived6019468bytes6636451.43bytes/sec
totalsizeis6903440144speedupis0.99
root@infravm:/#
UmountISOimagefile/mnt:

root@infravm:/#umount/mnt
root@infravm:/#

Fail-back plan for solaris OS patching


with VCS/SVM Environment.
If the patching activity failed due to
some unexpected reason
(unfortunately ).Then we have to
perform below task to bring the server ...
How to fix a corrupted wtmpx file on
solaris
If the wtmpx files is corrupted then
we could not able to get login
details , like who all are logged in
earlier . To fix this is...
Getting error when adding disk to
existing diskgroup (VxVM vxdg
ERROR V-5-1-10128 Configuration
daemon error 441)
The actual my activity is to increase
one of the file system size which is part of VXVM
mirror volume, when I try to add disks toexis...

BLOG ARCHIVE
2014 ( 27 )
November ( 5 )
August ( 2 )
July ( 1 )
April ( 2 )
Creating IPS repository on Solaris 11
Install / Enable GUI desktop on Solaris 11 x86
pla...
March ( 13 )
February ( 4 )

Checktherepo/publisherstatus:

root@infravm:/#pkgpublisher
PUBLISHERTYPESTATUSPLOCATION
solarisoriginonlineFhttp://pkg.oracle.com/solaris/release/
root@infravm:/#
Unsetupthedefaultpublisher/repo:

root@infravm:/#pkgunsetpublishersolaris
root@infravm:/#
Checktherepo/publisherstatus:

root@infravm:/#pkgpublisher
PUBLISHERTYPESTATUSPLOCATION
root@infravm:/#
Setuplocalrepo/publisher:

root@infravm:/#pkgsetpublishergfile:///solrepo/solaris
Refreshingcatalog1/1solaris

http://theinfradiary.blogspot.in/2014/04/creatingipsrepositoryonsolaris11.html

2/5

4/8/2015

CreatingIPSrepositoryonSolaris11~TheInfraDiary

Refreshingcatalog1/1solaris
Refreshingcatalog1/1solaris
Cachingcatalogs...
root@infravm:/#
Checkthelocalrepo/publisherstatus:

root@infravm:/#pkgpublisher
PUBLISHERTYPESTATUSPLOCATION
solarisoriginonlineFfile:///solrepo/
root@infravm:/#
Checkthestatusofthelocalrepo:

root@infravm:/#pkgrepoinfos/solrepo
PUBLISHERPACKAGESSTATUSUPDATED
solaris4401online20120927T22:22:59.530981Z
root@infravm:/#
Toseeallthepackagesintherepository:

root@infravm:/#pkgsearchpsfile:///solrepo/'*'
PACKAGE
PUBLISHER
pkg:/BRCMbnx@0.5.110.133solaris
pkg:/BRCMbnxe@0.5.110.133solaris
pkg:/CPQary3@0.5.110.133solaris
pkg:/FSWfontconfigdeveldocs@0.5.110.130solaris
pkg:/FSWxorgclientdocs@0.5.110.130solaris
pkg:/FSWxorgclientprograms@0.5.110.130solaris
pkg:/FSWxorgclientlibs@0.5.110.130solaris
pkg:/FSWxorgdata@0.5.110.130solaris
root@infravm:/#
Toseeparticularpackagesintherepository:

root@infravm:/#pkgsearchsfile:///solreposolarisdesktop
INDEXACTIONVALUEPACKAGE
pkg.fmrisetsolaris/group/system/solarisdesktoppkg:/group/system/
solarisdesktop@0.5.110.175.1.0.0.24.3
root@infravm:/#
InstallaPackage:

root@infravm:~#pkginstallsolarisdesktop
Packagestoinstall:370
Createbootenvironment:No
Createbackupbootenvironment:Yes
Servicestochange:14
DOWNLOADPKGSFILESXFER(MB)
SPEED
Completed370/37053216/53216547.3/547.3
0B/s
PHASEITEMS
Installingnewactions84196/85615
commandoutputwas:

drvconfig:modctlfailedtoaddmajornumberbinding.

http://theinfradiary.blogspot.in/2014/04/creatingipsrepositoryonsolaris11.html

3/5

4/8/2015

CreatingIPSrepositoryonSolaris11~TheInfraDiary

Installingnewactions85615/85615
UpdatingpackagestatedatabaseDone
UpdatingimagestateDone
CreatingfastlookupdatabaseDone
root@infravm:~#
SearchforaPackage:

root@infravm:/#pkgsearchWebbrowser
INDEXACTIONVALUEPACKAGE
pkg.summarysetMozillaFirefoxWebbrowser
pkg:/web/browser/firefox@10.0.60.175.1.0.0.22.0
pkg.summarysetMultiUserDesktopoptimizationforMozillaFirefoxWe
bbrowserpkg:/web/browser/firefox/multiuserdesktop@10.0.60.175.1.0.0.
22.0
pkg.summarysetAtextbasedwebbrowser
pkg:/web/browser/w3m@0.5.20.175.0.0.0.0.0
pkg.summarysetTextbasedwebbrowser
pkg:/web/browser/links@1.0.30.175.1.0.0.24.0
pkg.summarysetTextmodewebbrowser
pkg:/web/browser/lynx@2.8.70.175.0.0.0.0.0
root@infravm:/#
SearchforaFile:

root@infravm:/#pkgsearchopath,pkg.namel/usr/bin/vim
PATHPKG.NAME
usr/bin/vimeditor/vim/vimcore
root@infravm:/#
SearchforPackagesthatDependontheSpecified:

root@infravm:~#pkgsearchldepend::editor/vim
INDEXACTIONVALUEPACKAGE
groupdependeditor/vimpkg:/group/system/solar
isdesktop@0.5.110.175.1.0.0.24.3
incorporatedependpkg:/editor/vim@7.3.6000.175.1.0.0.24.0pkg:/consolid
ation/userland/userlandincorporation@0.5.110.175.1.0.0.24.0
optionaldependeditor/vim@7.3.600pkg:/editor/vim/vimcor
e@7.3.6000.175.1.0.0.24.0
requiredependeditor/vim@7.3.600pkg:/editor/gvim@7.3.60
00.175.1.0.0.24.0
root@infravm:~#
IwillwritemorearticleaboutSolaris11soon...
Thankyouforreadingthisarticle.
Recommend this on Google

Newer Post

Home

Older Post

0 comments:
Post a Comment

http://theinfradiary.blogspot.in/2014/04/creatingipsrepositoryonsolaris11.html

4/5

4/8/2015

CreatingIPSrepositoryonSolaris11~TheInfraDiary

Enteryourcomment...

Commentas:

Publish

GoogleAccount

Preview

Copyright 2015 The Infra Diary | Powered by Blogger


Design by FThemes | Blogger Theme by Lasantha - PremiumBloggerTemplates.com | NewBloggerThemes.com

http://theinfradiary.blogspot.in/2014/04/creatingipsrepositoryonsolaris11.html

5/5

You might also like