Friday, September 27, 2019

Migrate SVN to GIT

Reference: https://www.atlassian.com/git/tutorials/svn-to-git-prepping-your-team-migration

java -jar ../svn-migration-scripts.jar authors http://svn.goweekend.ca/ithelpdesk/  > authors.txt

git svn clone --stdlayout --authors-file=/svn/svn2git/migration/authors.txt http://svn.goweekend.ca/myrepo/ myrepo

Wednesday, September 25, 2019

M4000: Firmware Update

XSCF> version -c xcp -v
XSCF> getflashimage http://firmwares.goweekend.ca/m4000/FFXCP1123.tar.gz
* getaddrinfo(3) failed for vsun07.csd.toronto.ca:80
* Closing connection #0
Error: could not resolve host.

In above case, use ip address instead. 

XSCF> flashupdate -c check -m xcp -s 1123
XSCF> flashupdate -c update -m xcp -s 1123

Tuesday, September 24, 2019

Solaris 10: ISO mount: Not a Multiple of 512

# mount -F hsfs -o ro `lofiadm -a /var/tmp/sol-10-u11-ga-sparc-dvd.iso` /mnt
lofiadm: size of /var/tmp/sol-10-u11-ga-sparc-dvd.iso is not a multiple of 512
mount: Mount point cannot be determined

Solution:

# dd if=/var/tmp/sol-10-u11-ga-sparc-dvd.iso of=sol-10-512.iso obs=512 conv=sync
1264889+1 records in
1264890+0 records out


# mount -F hsfs -o ro `lofiadm -a /var/tmp/sol-10-512.iso` /mnt

Friday, September 20, 2019

Maximize the Performance of Your Virtual Network

Configuring Your Domains to Maximize the Performance of Your Virtual Network

In previous versions of Oracle VM Server for SPARC and the Oracle Solaris OS, you could improve your network performance by configuring jumbo frames. This configuration is no longer required and unless required for another reason, using the standard MTU value of 1500 for your service and guest domains is best.
To achieve the improved networking performance, set the extended-mapin-space property to on for the service domain and the guest domains, which is the default setting for the Oracle VM Server for SPARC 3.1 software and supported system firmware.
primary# ldm set-domain extended-mapin-space=on domain-name
To check the extended-mapin-space property value, run the following command:
primary# ldm ls -l domain-name |grep extended-mapin
extended-mapin-space=on


Note - A change to the extended-mapin-space property value triggers a delayed reconfiguration on the primary domain. This situation requires a primary domain reboot. You also must first stop the guest domains before you change this property value.

Solaris 10: Apply Patch 10_Recomended

Following patch failed to apply :
 126546-10

Aborting due to failure while applying patch 126546-10.

Application of this patch should have succeeded - this failure is unexpected.
Please assess cause of failure and verify system integrity before proceeding.

Install log files written :
  /var/sadm/install_data/s10s_rec_patchset_short_2019.09.20_19.55.57.log
  /var/sadm/install_data/s10s_rec_patchset_verbose_2019.09.20_19.55.57.log
  /var/sadm/install_data/s10s_rec_patchset_failed_2019.09.20_19.55.57.log
  /var/sadm/install_data/_patchadd_2019.09.20_19.55.57.log
  /var/sadm/install_data/_patchadd_subproc_2019.09.20_19.55.57.log


IDR151577-01




# patchrm IDR151577-01

# patchrm IDR152812-02
Verify that the patch is removed.

147194-03  Obsoleted by: 148023-03 SunOS 5.10: bmc patch
148023-03 Obsoleted by: 148023-04 SunOS 5.10: bmc patch


# patchadd -p | grep IDR151577-01

# patchadd -p | grep 147194-03

147194-03  Obsoleted by: 148023-03 SunOS 5.10: bmc patch


Following patch failed to apply :
 147793-23

Aborting due to failure while applying patch 147793-23.

Application of this patch should have succeeded - this failure is unexpected.
Please assess cause of failure and verify system integrity before proceeding.

Install log files written :
  /var/sadm/install_data/s10s_rec_patchset_short_2019.09.20_22.44.30.log
  /var/sadm/install_data/s10s_rec_patchset_verbose_2019.09.20_22.44.30.log
  /var/sadm/install_data/s10s_rec_patchset_failed_2019.09.20_22.44.30.log
  /var/sadm/install_data/_patchadd_2019.09.20_22.44.30.log
  /var/sadm/install_data/_patchadd_subproc_2019.09.20_22.44.30.log
c