Creating a Custom Oracle Solaris 11.3 CD (Installation Image)
http://www.oracle.com/pls/topic/lookup?ctx=solaris11&id=CCOSI
http://www.oracle.com/pls/topic/lookup?ctx=solaris11&id=CCOSI
Due to a bug in Solaris 11, kernel zone pool size specified in zonecfg is not working zoneadm -z oscntrl2 install -x 300g
Assigning access to any user to start Nginx Below are the steps needed to a user that will be allowed to start Nginx with the Solaris SMF system. Add to /etc/user_attr nginx::::auths=solaris.smf.manage.nginx Or just run usermod -A solaris.smf.manage.nginx nginx Add to /etc/security/auth_attr.d/local-entries solaris.smf.manage.nginx:::enable, disable and refresh nginx:: Create the service
How to force an FC refresh (forcelip) in Linux echo ‘- – -‘ > /sys/class/scsi_host/host$i/scan
LVM stuff pvdisplay vgdisplay lvdisplay Check status cat /proc/mdstat cat /etc/mdadm.conf Make Raid 10 mdadm –create /dev/md30 –run –level=10 –chunk=4 –raid-devices=4 /dev/sda /dev/sdb /dev/sdd /dev/sdf mdadm –examine /dev/md30 mdadm –detail /dev/md30 Make file system mkfs.ext4 -O extent -b 4096 -E stride=128,stripe-width=128 -O ^has_journal /dev/md30 tune2fs -o journal_data_writeback /dev/md30 # append output to /etc/mdadm.conf mdadm –detail …
Follow the process below to get ldap working on Linux First, Disable the firewall (or configure to allow LDAP traffic). systemctl disable firewalld systemctl stop firewalld /etc/selinux/config SELINUX=disabled LDAP configuration # DC1 echo -n | openssl s_client -connect ldap1.domain.com:1636 | sed -ne ‘/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p’ > /etc/openldap/cacerts/ldap1.pem echo -n | openssl s_client -connect ldap2.domain.com:1636 | …
How to create a vlan interface and start at boot time. First check if the bounding module is loaded. lsmod | grep 8021q /etc/sysconfig/network-scripts/ifcfg-solr DEVICE=solr TYPE=Ethernet BOOTPROTO=none ONBOOT=yes /etc/sysconfig/network-scripts/ifcfg-solr.2018 DEVICE=solr.2018 IPADDR=10.10.18.51 NETWORK=10.10.18.0 NETMASK=255.255.254.0 GATEWAY=10.10.18.1 ONBOOT=yes BOOTPROTO=none USERCTL=no VLAN=yes To test just issue /etc/init.d/network restart or ifup [if_name] To remove the new vlan How to remove …
Memory usage while : ;do date;echo “================”;ps -eo pid,pmem,rss,comm –sort rss|egrep “PID|java” |tail -12;echo “=================”;sleep 5;done top example nohup top -b -d 2 | egrep –color=auto “top|Task|Cpu|Mem|Swap|PID|elastic” >> top.out &
Quick & Dirty: Install htop on Redhead Enterprise Linux 7 (RHEL7) cd /etc/yum.repos.d wget https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm yum install epel-release-7-5.noarch.rpm yum install htop
Installing and configuring KVM on RHEL 7 and OL 7 Installing the required packages yum -y install qemu-kvm qemu-img virt-manager libvirt libvirt-python python-virtinst libvirt-client virt-install virt-viewer yum -y install kvm libvirt python-virtinst virt-top virt-manager virt-v2v virt-viewer vim pv Disable firewall (to get around some issues) systemctl stop firewalld systemctl disable firewalld Now, Start libvirt by …
Installing and configuring kvm on RHEL 7 and OL 7 Read More »