cd /<server-root>/alias cat > slapd-`hostname`-pin.txt << EOF Internal (Software) Token:SomeToken EOF
Categories: directory services, ldap, os, solaris
Tags: directory, ldap, ssl, sun, token
Comments: No Comments.
cd /<server-root>/alias cat > slapd-`hostname`-pin.txt << EOF Internal (Software) Token:SomeToken EOF
Sun Solaris 10 has been around for over four years now. Over this period of time, Sun has released several updates for Solaris 10. It is often confusing to decipher which release “update†is tied to the “month & year†of Solaris 10. Below is a paragraph detailing the Solaris 10 Updates and their month/year.
Type `cat /etc/release` to figure out which OS release the server is currently running.
Remember, applying the latest patch cluster set to Solaris does not mean Solaris now has new features included with the latest OS release.
For example, if you want the newest features in Solaris 10 Update 8, you will need to install Solaris 10 Update 8 not install the latest patch cluster set on your currently running Solaris 10 Update 3 server.
raidctl -p "wp=on"
After creating a new RAID1 volume using raidctl. The disks on the box can be presented to devfs/devices via the cfgadm command.
cfgadm -c configure c0 echo | format
The Sun LSI Internal SCSI RAID controllers are managed via the raidctl utility. The Solaris OS loads the mpt driver to manage the devices attached to the LSI Internal RAID controllers.
When moving the physical disks and associated raid volumes on the disk to another system. The volume must to be activated on the target system.
Steps taken via OBP to activate the volume (Example using T5220):
setenv auto-boot? false reset-all show-disks select /pci@0/pci@0/pci@2/scsi@0 (T5220) show-volumes 0 activate-volume reset-all
Run the flashfirmware utility from Sun to update the system controller firmware. The firmware utility can be downloaded from http://www.sun.com/download/products.xml?id=4705863e Once you have installed the utility and the downloaded the patch. Here’s the output of what happens next.
sc> flashupdate -s 127.0.0.1 NOTE: A flashupdate takes about 6 minutes to load a new file. Some commands are disabled until the file load is complete. The SC must be reset to complete the upgrade. Are you sure you want to load the specified file (y/n)? y Using the following information for flash update image file: /coredump/ILOM_flash.pkg sector_size: 0x20000 image_start: 0x0 flash_start: 0xfe0000 header_offset: 0x0 flash_size: 0x1000000 ................................................................................................. Operation succeeded New firmware images were loaded. Reset the SC to complete the upgrade. sc> resetsc -y Performing hard reset on the SC mount -F nfs HOST:/vol/VOL /mnt cd /mnt cp -R /mnt/v1.0.0/Patches/firmware/T5220/139439-05 /var/tmp/. cd /var/tmp/139439-05 ./sysfwdownload Sun_System_Firmware-7_2_4_e-SPARC_Enterprise_T5120+T5220.pkg (WAIT till 100%... .......... (6%).......... (13%).......... (20%).......... (27%).......... (34%).......... (41%).......... (48%).......... (55%).......... (62%).......... (69%).......... (76%).......... (83%).......... (90%).......... (97%).... (100%) Download completed successfully. cd /var/tmp rm -rf 139439-05 poweroff #. create /SP/users/admin role=Administrator cli_mode=alom exit login as admin showkeyswitch setkeyswitch -y normal flashupdate -s 127.0.0.1 NOTE: A flashupdate takes about 6 minutes to load a new file. Some commands are disabled until the file load is complete. The SC must be reset to complete the upgrade. Are you sure you want to load the specified file (y/n)? y Using the following information for flash update image file: /coredump/ILOM_flash.pkg sector_size: 0x20000 image_start: 0x0 flash_start: 0xfe0000 header_offset: 0x0 flash_size: 0x1000000 ...... (WAIT...) resetsc
setprivileges USERNAME platadm domainadm@0-1 platop domainop@0-1 useradm showhardconf showstatus showlogs error poweron -y -d 0 console -y -d 0 Reconfigure from scratch: setupplatform Reconfigure specific settings: shownetwork -a sethostname xscf#0 XSCF_CONSOLE_HOSTNAME setnetwork lan#0 -m 255.255.255.0 XSCF.IP.ADDR.HERE setroute -c add -n 0.0.0.0 -m 0.0.0.0 -g XSCF.GW.ADDR.HERE xscf#0-lan#0 setnameserver -c del -a setnameserver -c add XSCF.DW.ADDR.HERE sethostname -d SUB.DOMAIN.COM setntp -c del -a setntp -c add XSCF.NTP.SERVER1.HERE XSCF.NTP.SERVER2.HERE setssh -q -y -c enable setsmtp setemailreport applynetwork shownetwork -a rebootxscf Set Diag Levels showdomainmode -d 0 setdomainmode -d 0 -m diag=none setdomainmode -y -d 0 -m autoboot=on M4000 XSCF - Adding user: Turn key to locked Connect via serisl Type default at login: prompt Press return Turn key from locked to service Press return Turn key from service to locked Press return ( Note: Once default is entered, there is a 60 second timeout ) adduser someadmin password someadmin setprivileges someadmin domainop@0-1 domainmgr@0-1 domainadm@0-1 platop platadm useradm auditop auditadm fieldeng showuser someadmin M4000 XSCF - Network console: sethostname xscf#0 host sethostname -d sub.domain.com setnetwork xscf#0-lan#0 -m 255.255.255.0 10.10.10.10 setroute -c add -n 0.0.0.0 -g 10.10.10.1 xscf#0-lan#0 applynetwork -y setssh -c enable -y rebootxscf -y console -d 0 -y sendbreak -d 0 -y