How to provide unique hostid for a non global zone
# zonecfg -z zone01 zonecfg:zone01> set hostid=80f0c086 (HOSTID of your choice) zonecfg:zone01> exit
# zonecfg -z zone01 zonecfg:zone01> set hostid=80f0c086 (HOSTID of your choice) zonecfg:zone01> exit
This is not the best for security, but if you must…… # passwd userNew Password: simplepasswd: The password must contain at least 1 numeric or special character(s). Modify /etc/default/passwd and uncomment MINSPECIAL and set to 0: # vi /etc/default/passwd #MINDIFF=3 #MINALPHA=2 #MINNONALPHA=1 #MINUPPER=0 #MINLOWER=0 #MAXREPEATS=0 MINSPECIAL=0 #MINDIGIT=0 #WHITESPACE=YES # passwd userNew Password: simpleRe-enter new Password: simplepasswd: password successfully changed for… Leer más »
http://nilesh-joshi.blogspot.com/2012/02/dynamically-adding-raw-device-to.html Dynamically Adding a RAW device to a Solaris zone. Dynamically Adding a RAW device to a Solaris zone. By default it is not possible to add raw device to zone without taking a reboot on zone however there is a famous saying => «There is always a way out for those clever enough to… Leer más »
Exactly how a missing device is reattached depends on the device in question. If the device is a network-attached drive, connectivity to the network should be restored. If the device is a USB device or other removable media, it should be reattached to the system. If the device is a local disk, a controller might… Leer más »
Note that if you’re on a slow link, or the server is under heavy load, the tool used for copying won’t be the bottleneck, and any way of copying will be slow anyway. This should give you the basic usage for copying between your local computer and the remote server: http://oreilly.com/pub/h/38 To copy from local computer… Leer más »
https://blogs.oracle.com/solaris/understanding-oracle-solaris-constraint-packages install the solaris-11.3 constraint pacakge, that will ensure that you stay on the 11.3 release train and not move to the 11.4 train without explict action. # pkg install pkg:/release/constraint/solaris-11.3 For more information see https://blogs.oracle.com/solaris/understanding-oracle-solaris-constraint-packages
Guest Author This may sound counterintuitive, but turning on ZFS compression not only saves space, but also improves performance. This is because the time it takes to compress and decompress the data is quicker than then time it takes to read and write the uncompressed data to disk (at least on newer laptops with multi-core chips). To… Leer más »
#!/bin/bashfor snapshot in `zfs list -H -t snapshot | cut -f 1`dozfs destroy $snapshotdone