Skip to main content

Posts

Showing posts with the label Solaris Zones

HOW TO INSTALL JAVA IN SOLARIS 11 OR SOLARIS 11 ZONES

1.-Set proxy with user and password if you have proxy with authentication or without it #export https_proxy=https://sun:sun@192.168.100.100:8080 #export http_proxy=http://sun:sun@192.168.2.100.100:8080 2.- Set publisher in order to use the Oracle Support Repository #pkg set-publisher -k  /var/pkg/ssl/pkg.oracle.com.key.pem -c /var/pkg/ssl/pkg.oracle.com.certificate.pem -g https://pkg.oracle.com/solaris/support/  solaris 3.-You can search the packages availables in my case I need to install JAVA 8 #pkg search -p java PACKAGE                                                                 PUBLISHER pkg:/SUNWj6cfg@1.6.0.999.99                                             solaris pkg:/SUNWj6dev@1.6.0.999.99                                             solaris pkg:/SUNWj6dmo@1.6.0.999.99                                             solaris pkg:/SUNWj6dmx@1.6.0.999.99                                             solaris pkg:/SUNWj6dvx@1.6.0.999.99         

How to configure a Pool/Pset and Assign to the Solaris Zone

How to configure a Pool/Pset and Assing it to the Solaris Zone Generate a file with the information below #vi poolnew create pset backup-pset (uint pset.min = 4; uint pset.max = 6 ) create pool pool_backup associate pool pool_backup (pset backup-pset) Now we have a minimun pset set in 4 and maximum set in 6 for a pool named backup in order to create our new pool_backup In the poolnew we have the configuration file in order to create the pool (line 2) and pset with min and max values, finally the association the all the information to the pool # cat poolnew create pset backup-pset (uint pset.min = 4; uint pset.max = 6) create pool pool_backup associate pool pool_backup (pset backup-pset) In the poolnew, now we have the configuration file in order to create the pool (line 2) and pset with min and max values, finally the association the all the information to the pool Apply the configuration with pooladm command # pooladm -c After applying the configuration you can ch