Resent adding pkg-discuss group. ________________________________ From: Le, Janey Sent: Tuesday, July 21, 2009 5:47 PM To: [email protected] Cc: Jalal, Abdel; Le, Janey Subject: Suncluster with OpenSolaris 2009.06
Hi Rob, I am trying to set up Cluster on OpenSolaris 2009.06 and according to the doc, after getting the key and certificate, I need to add the publisher, but I am not able to, below are the steps that I followed: 1. Become superuser on a machine to which you want to download software. Alternatively, if your user account is assigned the Primary Administrator profile, execute commands as non-root through a profile shell, or prefix the command with the pfexec command. 2. Open a web browser. 3. Register with pkg.sun.com and obtain the necessary key and certificate for the Open HA Cluster repository, pkg.sun.com/opensolaris/ha-cluster/. The following commands show the creation of the directory /var/pkg/ssl to contain the downloaded key file and certificate file for the Open HA Cluster repository. phys-schost# mkdir -m 0755 -p /var/pkg/ssl phys-schost# cp -i ~/Download/Open_HA_Cluster_2009.06.key.pem /var/pkg/ssl phys-schost# cp -i ~/Download/Open_HA_Cluster_2009.06.certificate.pem /var/pkg/ssl For more information, see Using Keys and Certificates for Repositories<http://dlc.sun.com/osol/docs/content/2009.06/IMGPACKAGESYS/keys_cert.html>. 4. Set the location of the Open HA Cluster 2009.06 package repository. ( I hit error at this step) Specify the location of the key file and the certificate file that you obtained in the previous step. phys-schost# /usr/bin/pkg set-publisher \ -k /var/pkg/ssl/Open_HA_Cluster_2009.06.key.pem \ -c /var/pkg/ssl/Open_HA_Cluster_2009.06.certificate.pem \ -O https://pkg.sun.com/opensolaris/ha-cluster/ ha-cluster And below is the error that I got, It looks like that It is having hard time to contact https://pkg.sun.com/opensolaris/ha-cluster/ r...@xcid:/home/Solaris_Exports/AI/scripts# pfexec pkg set-publisher \ > -k /var/pkg/ssl/Open_HA_Cluster_2009.06.key.pem \ > -c /var/pkg/ssl/Open_HA_Cluster_2009.06.certificate.pem \ > -O https://pkg.sun.com/opensolaris/ha-cluster/ ha-cluster pkg: The origin URIs for 'ha-cluster' do not appear to point to a valid pkg server. Please check the server's address and client's network configuration. Additional details: Unable to contact valid package server: https://pkg.sun.com/opensolaris/ha-cluster/ Encountered the following error(s): Transport errors encountered when trying to contact depot server. Reported the following errors: 1: Transfer from 'ha-cluster' timed out: timed out. 2: Transfer from 'ha-cluster' timed out: timed out. 3: Transfer from 'ha-cluster' timed out: timed out. 4: Transfer from 'ha-cluster' timed out: timed out. r...@xcid:/home/Solaris_Exports/AI/scripts# I tried to do nslookup to pkg.sun.com and it works r...@xcid:/home/Solaris_Exports/AI/scripts# nsnoop pkg.sun.com bash: nsnoop: command not found r...@xcid:/home/Solaris_Exports/AI/scripts# nslookup pkg.sun.com Server: 172.22.203.100 Address: 172.22.203.100#53 Non-authoritative answer: pkg.sun.com canonical name = pkg-na-1.sun.com. Name: pkg-na-1.sun.com Address: 72.5.123.35 r...@xcid:/home/Solaris_Exports/AI/scripts# but if I tried the whole link, It can't find the server, r...@xcid:/home/Solaris_Exports/AI/scripts# nslookup pkg.sun.com/opensolaris Server: 172.22.203.100 Address: 172.22.203.100#53 ** server can't find pkg.sun.com/opensolaris: NXDOMAIN r...@xcid:/home/Solaris_Exports/AI/scripts# On one of the cluster node, I used Firefox and tried to browse the link to https://pkg.sun.com/opensolaris/ha-cluster and I got the error below, so I guess, it has something to do with feeding in the Sun account and password if we want to access to the above link. If it is the case, can you please let me know the correct way that I should use to be able to Set the location of the Open HA Cluster 2009.06 package repository? Secure Connection Failed An error occurred during a connection to pkg.sun.com. SSL peer was unable to negotiate an acceptable set of security parameters. (Error code: ssl_error_handshake_failure_alert) The page you are trying to view can not be shown because the authenticity of the received data could not be verified. * Please contact the web site owners to inform them of this problem. Currenly, I am stuck and not able to move on. Thanks a lot for your help. Janey _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
