-
Recent Posts
Archives
- July 2020
- April 2020
- February 2020
- January 2020
- December 2019
- November 2019
- August 2019
- July 2019
- June 2019
- May 2019
- February 2019
- January 2019
- November 2018
- October 2018
- September 2018
- August 2018
- June 2018
- May 2018
- April 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- August 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- September 2016
- August 2016
- March 2016
- December 2015
- November 2015
- October 2015
- September 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- November 2014
- October 2014
- September 2014
- August 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
Categories
Category Archives: Uncategorized
linux PS1 settings
Information you can display with PS1 link: cyberciti \a : an ASCII bell character (07) \d : the date in “Weekday Month Date” format (e.g., “Tue May 26”) \D{format} : the format is passed to strftime(3) and the result is … Continue reading
Posted in Uncategorized
Leave a comment
linux parameter expansion
from: wiki Simple usage $PARAMETER ${PARAMETER} Indirection ${!PARAMETER} Case modification ${PARAMETER^} ${PARAMETER^^} ${PARAMETER,} ${PARAMETER,,} ${PARAMETER~} ${PARAMETER~~} Variable name expansion ${!PREFIX*} ${!PREFIX@} Substring removal (also for filename manipulation!) ${PARAMETER#PATTERN} ${PARAMETER##PATTERN} ${PARAMETER%PATTERN} ${PARAMETER%%PATTERN} Search and replace ${PARAMETER/PATTERN/STRING} ${PARAMETER//PATTERN/STRING} ${PARAMETER/PATTERN} ${PARAMETER//PATTERN} String length … Continue reading
Posted in Uncategorized
Leave a comment
Linux create RPM and local repository
Example of RPM and YUM on CentOS 6. 1. Install the RPM build environment: lin60 # yum install -y rpm-build rpmdevtools 2. Create the directory for the RPM environment and the directory in which your program will be installed. lin60 … Continue reading
Posted in Uncategorized
Leave a comment
SVM rootvolume protection
Restoring the root volume of an SVM If the root volume of a Storage Virtual Machine (SVM) becomes unavailable, clients cannot mount the root of the namespace. In such cases, you must restore the root volume by promoting another volume … Continue reading
Posted in Uncategorized
Leave a comment
sed
substitute one column in a file: sed ‘s/[A-Z|0-9]*/REPLACED/1’ filename
Posted in Uncategorized
Leave a comment
linux create local repo
In this example – the server 192.168.0.1 contains all packages in /export/rhel72/Packages – the /export directory is exported log in to vm_client 1. create a mountpoint: # mkdir /software create a repodir # mkdir /localrepo 2. mount the /export/ directory … Continue reading
Posted in Uncategorized
Leave a comment
selinux add httpd port
Ports and SELINUX example. We want our webserver to listen to a non default port. 1. Configure httpd to listen to a non default port – say 8999. After a default install of httpd port 80 is the port that … Continue reading
Posted in Uncategorized
Leave a comment
selinux stopaudit
cat stopaudit grep $1 /var/log/audit/audit.log | audit2allow -M $1 sed -i -e s/allow/dontaudit/ ${1}.te checkmodule -M -m -o $1.mod $1.te semodule_package -o $1.pp -m $1.mod semodule -i $1.pp ./stopaudit httpd
Posted in Uncategorized
Leave a comment
selinux allow script
cat allow.sh grep $1 /var/log/audit/audit.log | audit2allow -M $1 checkmodule -M -m -o $1.mod $1.te semodule_package -o $1.pp -m $1.mod semodule -i $1.pp ./allow.sh httpd
Posted in Uncategorized
Leave a comment
Centos systemd
systemctl # systemctl Start/stop or enable/disable services Activates a service immediately: # systemctl start foo.service Deactivates a service immediately: # systemctl stop foo.service Restarts a service: # systemctl restart foo.service Shows status of a service including whether it is running … Continue reading
Posted in Uncategorized
Leave a comment
SELinux change DocumentRoot for Apache
Subject (processes) and Objects (files) have a security context. (Process contexts are called domains, file contexts are called labels) Context type Apache uses a DocumentRoot that has “httpd_sys_content_t” as type. ls -Zd /var/www/html drwxr-xr-x. root root system_u:object_r:httpd_sys_content_t:s0 /var/www/html Apache’s httpd … Continue reading
Posted in Uncategorized
Leave a comment
netapp cpu domains
https://kb.netapp.com/support/s/article/faq-cpu-utilization-in-data-ontap-scheduling-and-monitoring?language=en_US
Posted in Uncategorized
Leave a comment
cdot RBAC example
(Thanks to Sander, Kees, Maarten and other students in some class in the Netherlands) We want a user to be able to perform a particular task in an SVM. We can use RBAC to configure this. Example: We want to … Continue reading
Posted in Uncategorized
Leave a comment
ontap9 svmdr
Set up , manage and delete an svmdr pair. Present: Two clusters – cluster1 and cluster2 snapmirror license on both clusters peering of the two clusters cluster1 will be the source cluster2 will be the destination. vserver src (source) and … Continue reading
Posted in Uncategorized
Leave a comment
cdot snapmirror exercise with commands
1. Create a new SVM (SVMcl1) on cluster1 and add a LIF to the SVM: 192.168.0.200 vserver create -vserver SVMcl1 -rootvolume root -aggregate aggr1_n1 -rootvolume-security-style unix net int create -vserver SVMcl1 -lif lif1 -address 192.168.0.200 -netmask 255.255.255.0 -role data \ … Continue reading
Posted in Uncategorized
Leave a comment
cdot snapmirror exercise without commands
1. Create a new SVM (SVMcl1) on cluster1 and add a LIF to the SVM: 192.168.0.200 2. Add a 500MB volume (cl1data) to the SVM with junction-path: /data 3. Add an export-policy with a rule for the CentOS VM: (192.168.0.10) … Continue reading
Posted in Uncategorized
Leave a comment
cdot cifs create error
When setting up a cifs SVM. Prerequisite: the time difference between DNS/AD and the cluster is no more than 5 minutes. cl1::*> cifs create -vserver cifs_sales -cifs-server CIFS_SALES -domain netapp.local -ou CN=Computers -default-site “” -status-admin up In order to create … Continue reading
Posted in Uncategorized
Leave a comment
cdot 8.3 domaintunnel
(Elkin) ## clustermode domain-tunnel ## # To have the administrator of the AD domain login to the administration vserver and manage the cluster, create a domain-tunnel. # The name of the admin-vserver: security login create -user-or-group-name netapp\administrator -application ssh -authmethod … Continue reading
Posted in Uncategorized
Leave a comment
cdot simulator new root aggregate
Situation Simulator. Cluster: cl1 Node1 : cl1-01 Node2 : cl1-02 cl1::*> set d cl1::*> cluster show Node Health Eligibility Epsilon ——————– ——- ———— ———— cl1-01 true true true cl1-02 true true false 2 entries were displayed. Node1 (cl1-01) is ok … Continue reading
Posted in Uncategorized
Leave a comment
CDOT config-backups
Howo upload a CDOT config backup from filer to ftpserver. Requirements. Running FTP server in network. IP of ftpserver. Username of ftpuser. Password of ftpuser. Login to Clustermanagement lif. 1. ssh admin@192.168.4.100 Go to priv or diag mode. 2. set … Continue reading
Posted in Uncategorized
Leave a comment
cdot simulator single node setup
Single Node Cluster (sort of)
Posted in Uncategorized
Leave a comment
cdot metrocluster switchback
metrocluster heal -phase aggregates metrocluster heal -phase root-aggregates metrocluster switchback
Posted in Uncategorized
Leave a comment
cdot 8.3.1 licenses
CLUSTERED SIMULATE ONTAP LICENSES +++++++++++++++++++++++++++++++++ These are the licenses that you use with the clustered Data ONTAP version of Simulate ONTAP to enable Data ONTAP features. There are four groups of licenses in this file: – cluster base license – … Continue reading
Posted in Uncategorized
Leave a comment
Cdot Advanced Drive Partitioning how to disable
In order to disable auto-partitioning (ADP), perform the following bootargs at the LOADER prompt before initial setup: 1. Run the following command to disable HDD auto-partitioning: setenv root-uses-shared-disks? false 2. Run the following command to disable SSD storage pool partitioning: … Continue reading
Posted in Uncategorized
Leave a comment
Restoring a vm from a Netapp Snapmirror (DP/XDP) destination
2015 peter van der weerd Restoring a vm from a Netapp Snapmirror (DP/XDP) destination. 1. List the available snapshots on mirrordestination. cl1::> cl1::> snap show -vserver nfs1 -volume linvolmir —Blocks— Vserver Volume Snapshot State Size Total% Used% ——– ——- ——————————- … Continue reading
Posted in Uncategorized
Leave a comment
cdot snmp
original link Enabling SNMP, API access on NetApp cluster mode SVMs In order to get complete monitoring of, and be able delegate access to, Storage Virtual Machines on NetApp Cluster mode, it is necessary to add the SVMs as separate … Continue reading
Posted in Uncategorized
Leave a comment
cdot read logfiles using a browser
cl1::*> security login create -username log -application http -authmethod password Please enter a password for user ‘log’: Please enter it again: cl1::*> vserver service web modify -vserver * -name spi -enabled true Warning: The service ‘spi’ depends on: ontapi. Enabling … Continue reading
Posted in Uncategorized
Leave a comment
cdot setup events
#setup smtpserver and sender, smtpserver should be reachable. event config modify -mailserver smtp.online.nl -mailfrom petervanderweerd@gmail.com #check your settings event config show Mail From: petervanderweerd@gmail.com Mail Server: smtp.online.nl #create destination for critical messages. the recipient will receive #everything sent to the … Continue reading
Posted in Uncategorized
Leave a comment
cdot autosupport test
cluster1::> system node autosupport invoke -type test -node node1
Posted in Uncategorized
Leave a comment
cdot convert snapmirror to snapvault
Steps Break the data protection mirror relationship by using the snapmirror break command. The relationship is broken and the disaster protection volume becomes a read-write volume. Delete the existing data protection mirror relationship, if one exists, by using the snapmirror … Continue reading
Posted in Uncategorized
Leave a comment
cdot mhost troubleshoot
1. go to the systemshell set diag systemshell -node cl1-01 2. unmount mroot cd /etc ./netapp_mroot_unmount logout 3. run cluster show a couple of times and see that health is false cluster show 4. run cluster ring show to see … Continue reading
Posted in Uncategorized
Leave a comment
cdot lif troubleshoot
1. create a lif net int create -vserver nfs1 -lif tester -role data -data-protocol cifs,nfs,fcache -home-node cl1-01 -home-port e0c -address 1.1.1.1 -netmask 255.0.0.0 -status-admin up 2. go to diag mode set diag 3. view the owner of the new lif … Continue reading
Posted in Uncategorized
Leave a comment
CDOT 8.3 release notes
http://mysupport.netapp.com/documentation/docweb/index.html?productID=61898
Posted in Uncategorized
Leave a comment
openstack compute node on centos7
yum install -y https://rdo.fedorapeople.org/rdo-release.rpm
Posted in Uncategorized
Leave a comment
openstack lvm and cinder
If you do not specify a volume group, cinder will create his own volume group called cinder-volumes and use loopback devices for physical volumes. If you do create and specify a volume group, you should specify the volume group to … Continue reading
Posted in Uncategorized
Leave a comment
CDOT 8.3 statistics catalog example
statistics catalog instance show -object lif statistics catalog instance show -object volume statistics catalog counter show -object lif statistics catalog counter show -object volume statistics start -object lif -counter recv_data statistics stop statistics show -object lif
Posted in Uncategorized
Leave a comment
CDOT 8.3 initiator ip in session
To view the ip-addresses in an iSCSI session: cdot83::qos> iscsi session show -vserver iscsi -t Vserver: iscsi Target Portal Group: o9oi Target Session ID: 2 Connection ID: 1 Connection State: Full_Feature_Phase Connection Has session: true Logical interface: o9oi Target Portal … Continue reading
Posted in Uncategorized
Leave a comment
CDOT 8.3 selective lunmapping
Selective lun mapping is a new iscsi feature in cdot 8.3. Selective lun mapping results in that only the two nodes in the HA-pair that hosts the LUN map the lun as ‘reporting-nodes’. This is to reduce the number of … Continue reading
Posted in Uncategorized
Leave a comment
openstack on centos 7
quickstqrt 1. change selinux to permissive setenforce 0 2. run systemctl stop NetworkManager systemctl disable NetworkManager systemctl enable network sudo yum update -y sudo yum install -y https://rdo.fedorapeople.org/rdo-release.rpm sudo yum install -y openstack-packstack packstack –allinone
Posted in Uncategorized
Leave a comment
cdot 8.3 licenses
CLUSTERED SIMULATE ONTAP LICENSES +++++++++++++++++++++++++++++++++ These are the licenses that you use with the clustered Data ONTAP version of Simulate ONTAP to enable Data ONTAP features. There are four groups of licenses in this file: – cluster base license – … Continue reading
Posted in Uncategorized
Leave a comment
openstack restart all
To restart all openstack services: # for svc in api cert compute conductor network scheduler; do service openstack-nova-$svc restart done Redirecting to /bin/systemctl restart openstack-nova-api.service Redirecting to /bin/systemctl restart openstack-nova-cert.service Redirecting to /bin/systemctl restart openstack-nova-compute.service Redirecting to /bin/systemctl restart openstack-nova-conductor.service … Continue reading
Posted in Uncategorized
Leave a comment
ZFS shadow migration exercise
Setting up shadow migration. Solaris 10 has ip-address 192.168.4.159 ZFS appliance has ip-address 192.168.4.220 1. On Solaris10. Create a directory called /mnt/data and put some files in it. # mkdir /mnt/data # cd /mnt/data # cp /var/log/* . Share /mnt/data … Continue reading
Posted in Uncategorized
Leave a comment
ZFS replication_exercise
Controller ZFS1 192.168.4.220 project zfs1_proj is replicated to Controller ZFS2 192.168.4.230. Controller ZFS1 zfs1_proj has share zfs1_proj_fs1 that is mounted by solaris 10 to mountpoint /mnt/fs1 On ZFS1 * create project zfs1_proj and filesystem zfs1_proj_fs1 * * make sure the … Continue reading
Posted in Uncategorized
Leave a comment
ZFS solaris 10 iscsi initiator exercise
On Solaris 1. Determine whether the required software is installed. -bash-3.2# pkginfo |grep iscsi system SUNWiscsir Sun iSCSI Device Driver (root) system SUNWiscsitgtr Sun iSCSI Target (Root) system SUNWiscsitgtu Sun iSCSI Target (Usr) system SUNWiscsiu Sun iSCSI Management Utilities (usr) … Continue reading
Posted in Uncategorized
Leave a comment
solaris 10 initiator
# svcadm enable iscsi_initiator # iscsiadm add discovery-address 192.168.248.213:3260 # iscsiadm modify discovery –sendtargets enable # devfsadm -i iscsi
Posted in Uncategorized
Leave a comment
7000 iscsi
On 7000 cli: configuration san iscsi targets create set alias=a1 set interfaces=e1000g0 commit On linux: cat /etc/iscsi/initiatorname.iscsi InitiatorName=iqn.1994-05.com.redhat:3add18fcc55c On 7000 cli: configuration san iscsi initiators create set alias=lin1 set initiator=InitiatorName=iqn.1994-05.com.redhat:3add18fcc55c On 7000 cli: shares select default lun lin1 set volsize=1g … Continue reading
Posted in Uncategorized
Leave a comment
linux btrfs
http://www.funtoo.org/BTRFS_Fun funtoo linux Go Actions Tools Account BTRFS Fun Support Funtoo and help us grow! Donate $15 per month and get a free SSD-based Funtoo Virtual Container. 5 spots left. Important BTRFS is still experimental even with latest Linux kernels … Continue reading
Posted in Uncategorized
Leave a comment
linux ifcfg keywords
/usr/share/doc/initscripts*/sysconfig.txt 11.1 About Network Interfaces Prev Chapter 11 Network Configuration Next 11.1 About Network Interfaces Each physical and virtual network device on an Oracle Linux system has an associated configuration file named ifcfg-interface in the /etc/sysconfig/network-scripts directory, where interface is … Continue reading
Posted in Uncategorized
Leave a comment
cdot vifproblems
You may have a situation where an interface is configured in the RDB (VifMgr) but no longer present in the local userinterface. 1. create a new interface 2. delete the userinterface entry 3. try to create it again (fails because … Continue reading
Posted in Uncategorized
Leave a comment
Mac Locale warnings after OS update
vi $HOME/.ssh/config SendEnv LANG LC_*
Posted in Uncategorized
Leave a comment
netapp 7-mode lun usage -s and lun clone dependency
create a lun and create a busy lun situation. by default snapshot_clone_dependency is switched to off If you switch it to on before the below actions then you can delete a snapshot even if there are more recent snapshots having … Continue reading
Posted in Uncategorized
Leave a comment
netapp 7-mode snapvault restore files from backuplun
1. filer1 is primary filer and has aggr aggr1. 2. filer2 is secondary filer and has aggr aggr1. 3. windows is connected with iSCSI to filer1 and filer2 the igroup on both filers is called wingroup. 4. create a sourcevolume,qtree,lun … Continue reading
Posted in Uncategorized
Leave a comment
solaris 11 zfs ARC
1. The Adaptive Replacement Cache An ordered list of recently used resource entries; most recently used at the top and least recently used at the bottom. Entries used for a second time are placed at the top of the list … Continue reading
Posted in Uncategorized
Leave a comment
Performance seconds
cpu regs 300ns SSL 25us 250us Disk 5 ms – 20ms Optical 100ms nanosecond to second is as second to 31.710 years microsecond to second is as second to 11.574 days
Posted in Uncategorized
Leave a comment
netapp sim upgrade
By Ron Havenaar/Dirk Oogjen This is how it works with a new simulator: 1. Download the NetApp CDOT 8.2.1 simulator from support.netapp.com 2. Unzip it to a directory of choice. 3. From that directory, import the DataONTAP.vmx file in VMware. … Continue reading
Posted in Uncategorized
Leave a comment
clustermode temproot
1. Bootmenu 2. create_temp_root tempvol disk1
Posted in Uncategorized
Leave a comment
clustermode dns loadbalancing
Setup DNS loadbalancing clustermode. The lifs belonging to the same dns-zone should be in the same vserver. The vserver is in fact the dns-zone. 1. Create vserver vserver create nfs -rootvolume rootvol -aggregate aggr1_n2 -ns-switch file -nm-switch file -rootvolume-security-style unix … Continue reading
Posted in Uncategorized
Leave a comment
clustermode upgrade
1. put image.tgz on webserver. clustershell: system image update -node <nodename> http://<webserver>/image.tgz or 2. put image.tgz in /mroot/pkg/ clustershell: system image update -node file:///mroot/pkg/image.tgz
Posted in Uncategorized
Leave a comment
solaris 10 nocacheflush
Solaris 10 Set Dynamically (using the debugger): echo zfs_nocacheflush/W0t1 | mdb -kw Revert to Default: echo zfs_nocacheflush/W0t0 | mdb -kw Set the following parameter in the /etc/system file: set zfs:zfs_nocacheflush = 1
Posted in Uncategorized
Leave a comment
7-mode upgrade 32bit to 64bit
filer1> priv set diag filer1*> aggr 64bit-upgrade start aggr4 -mode grow-all
Posted in Uncategorized
Leave a comment
solaris 11 who uses which port.
# mkdir /scripts # vi /scripts/ports #!/bin/ksh line=’———————————————‘ pids=$(/usr/bin/ps -ef | sed 1d | awk ‘{print $2}’) if [ $# -eq 0 ]; then read ans?”Enter port you would like to know pid for: ” else ans=$1 fi for f … Continue reading
Posted in Uncategorized
Leave a comment
solaris 11 custom zone install
Adding Additional Packages in a Zone by Using a Custom AI Manifest The process of adding extra software in a zone at installation can be automated by revising the AI manifest. The specified packages and the packages on which they … Continue reading
Posted in Uncategorized
Leave a comment
solaris 11 zonereplication and start
Migrate the zone to other machine using replication. example: zonename azone; zonepath root zones/azone # zfs snapshot -r zones/azone@0 # zfs send -R zones/azone@0 | ssh root@othermachine zfs receive zones/azone Run script on other machine #./script zones/azone/rpool ————————————– #!/bin/bash zfsfs=$1 … Continue reading
Posted in Uncategorized
Leave a comment
netapp 7-mode linux iscsi
Steps: 1. on filer create a volume (lunvol1) 2. on filer create a lun in the volume (lunlin) 3. on linux install the iscsi-initiator-utils 4. on linux determine initiatorname 5. on filer create igroup with linux iqn (lingroup) 6. on … Continue reading
Posted in Uncategorized
Leave a comment
clustermode domain-tunnel
To have the administrator of the AD domain login to the administration vserver and manage the cluster, create a domain-tunnel. The name of the admin-vserver: cl1 security login create -vserver cl1 -username netapp\administrator -application ssh -authmethod domain -role admin create … Continue reading
Posted in netapp, Uncategorized
Leave a comment
clustermode ports failovergroups interfaces roles firewall-policy
show image
Posted in Uncategorized
Leave a comment
solaris 11 exercise ips (1)
1. Log in to your machine. ssh user1@192.168.4.151 switch to root # sudo bash Password: e1car0 2. Your machine has the Full Repository iso mounted. # df -h | grep media /dev/dsk/c3t0d0s2 6.8G 6.8G 0K 100% /media/SOL_11_1_REPO_FULL Check the available … Continue reading
Posted in solaris, Uncategorized
Leave a comment
netapp 7-mode upgrade simulator (exercise)
This is just an exercise for installing a second image on your simulator and boot from it. First the existing image is tarred and zipped and put on the root volume. Then the update is done and after that you … Continue reading
Posted in Uncategorized
Leave a comment
cdot exercises
1. Your cluster has 2 cluster-interfaces per node. Find an available network port per node and add a third cluster-interface on each node to increase the bandwidth on the cluster-network. example 2. Create a new user (user1) in a vserver … Continue reading
Posted in Uncategorized
Leave a comment
clustermode 8.2.1 qtree export
Support for qtree nfs-exports. A new qtree volume qtree create -vserver vserver_name -qtree-path /vol/volume_name/qtree_name -export-policy export_policy_name An existing qtree volume qtree modify -vserver vserver_name -qtree-path /vol/volume_name/qtree_name -export-policy export_policy_name
Posted in Uncategorized
Leave a comment
mysql phpmyadmin install
phpmyadmin_installation Step #1: Turn on EPEL repo phpMyAdmin is not included in default RHEL / CentOS repo. So turn on EPEL repo as described here: $ cd /tmp $ wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm Step #2: Install phpMyAdmin on … Continue reading
Posted in Uncategorized
Leave a comment
mysql reset lost rootpassword
source: reset lost rootpassword # /etc/init.d/mysql stop Output: Stopping MySQL database server: mysqld. Step # 2: Start to MySQL server w/o password: # mysqld_safe –skip-grant-tables & Output: [1] 5988 Starting mysqld daemon with databases from /var/lib/mysql mysqld_safe[6025]: started Step # … Continue reading
Posted in Uncategorized
Leave a comment
clustermode get rid of snap because of smaller disks in vm environment
system node run -node cluster1–01 vol options vol0 nosnap on system node run -node cluster1–02 vol options vol0 nosnap on cluster1::> system node run -node cluster1–01 snap reserve vol0 0 cluster1::> system node run -node cluster1–02 snap reserve vol0 0
Posted in Uncategorized
Leave a comment
netapp 7-mode licenses 8.2
7-Mode Data ONTAP Feature Licenses ================================== Licenses for the ESX build (Serial Number 4079432752) —————————————————– Use these licenses with the VMware ESX build. Feature License Code Description ——————- —————————- ——————————————– CIFS WMNZAUTQACAAAAXAGAAAAAAAAAAA CIFS protocol FCP UBJDCUTQACAAAAXAGAAAAAAAAAAA Fibre Channel Protocol FlexClone … Continue reading
Posted in Uncategorized
Leave a comment
solaris11 distro_const
distribution constructor pfexec pkg install SUNWdistro-const mkdir -p /ips/manifests cp /usr/share/distro_const/dc_text_x86.xml /ips/manifests/ distro_const build /ips/manifests/dc_text_x86.xml
Posted in Uncategorized
Leave a comment
solaris11 ai_installer non_global zones
installing non-global zones with ai
Posted in solaris, Uncategorized
Leave a comment
solaris 11 exercise smf (3) system identity
# svccfg –s svc:/system/identity:node setprop config/nodename = “myhost” # svcadm refresh svc:/system/identity:node # svcadm restart svc:/system/identity:node Configuring console keyboard layout: # svccfg –s keymap:default setprop keymap/layout = UK-English # svcadm refresh keymap # svcadm restart keymap Configuring system locale: # … Continue reading
Posted in Uncategorized
Leave a comment
solaris 11 exercise zfs (2) and intentlog (zil)
sync=standard This is the default option. Synchronous file system transactions (fsync, O_DSYNC, O_SYNC, etc) are written out (to the intent log) and then secondly all devices written are flushed to ensure the data is stable (not cached by device controllers). … Continue reading
Posted in Uncategorized
Leave a comment
solaris 11 exercise zfs (6) encryption
example with key zfs create -o encryption=on rpool/cryptfs Enter passphrase for ‘rpool/cryptfs’: Enter again: zfs snapshot rpool/cryptfs@snap1 zfs clone rpool/cryptfs@snap1 rpool/cryptclone Enter passphrase for ‘rpool/cryptclone’: Enter again: example with keyfile # pktool genkey keystore=pkcs11 keytype=aes keylen=128 label=mykey Enter PIN for … Continue reading
Posted in Uncategorized
Leave a comment
solaris11 flowadm (1)
Simple flowadm example. server1 – 192.168.4.142, nic-name – net0 client1 – 192.168.4.161 client2 – 192.168.4.6 On server1 that runs solaris 11 run the following commands: # flowadm add-flow -l net0 -a remote_ip=192.168.4.161 ssh-1 # flowadm add-flow -l net0 -a remote_ip=192.168.4.6 … Continue reading
Posted in Uncategorized
Leave a comment
solaris11 integrated load balancer (2)
Configuring ILB This section describes the steps for setting up ILB to use a half-NAT topology to load balance traffic among two servers. See the NAT topology implementation in ILB Operation Modes. How to Configure ILB Assume a role that … Continue reading
Posted in Uncategorized
Leave a comment
solaris11 integrated load balancer (1)
How to Enable ILB Before You Begin Make sure that the system’s role-based access control (RBAC) attribute files have the following entries. If the entries are not present, add them manually. File name: /etc/security/auth_attr solaris.network.ilb.config:::Network ILB Configuration::help=NetworkILBconf.html solaris.network.ilb.enable:::Network ILB Enable … Continue reading
Posted in Uncategorized
Leave a comment
solaris11 zone delegation
Delegation of Solaris Zone Administration By darrenm on Jul 04, 2012 In Solaris 11 ‘Zone Delegation’ is a built in feature. The Zones system now uses finegrained RBAC authorisations to allow delegation of management of distinct zones, rather than all … Continue reading
Posted in Uncategorized
Leave a comment
solaris11 linkprop
From the global zone enable link protection on vnic0: We can set different modes: ip-nospoof, dhcp-nospoof, mac-nospoof and restricted. ip-nospoof: Any outgoing IP, ARP, or NDP packet must have an address field that matches either a DHCP-configured IP address or … Continue reading
Posted in Uncategorized
Leave a comment