Sponsored Content
Operating Systems Solaris Archiveadm system cloning - Solaris 11.4 Post 303030585 by samthewildone on Tuesday 12th of February 2019 10:12:17 PM
Old 02-12-2019
i'm not sure anymore.
 

9 More Discussions You Might Find Interesting

1. AIX

Problem cloning system

Hi everyone, I want to clone a AIX 5.2 system from a machine to another one. So i modified bosinst.data and image.data files (according to future platform) before making mksysb on old platform. After booting on CD and restoring system using mksysb tape, the installation is launched but ever... (2 Replies)
Discussion started by: fgaulois
2 Replies

2. UNIX for Dummies Questions & Answers

Full System Backup / Cloning HPUX

I am new to UNIX and need help in cloning a HPUX 10.2 Ace 5, can anybody please guide me in making a full system backup. Real Chess (0 Replies)
Discussion started by: real-chess
0 Replies

3. Solaris

Solaris 10 Zones cloning

I have gone over some articles regarding zones, I haven't found one that gives the exact information I'm looking for. I think I'm close though. I have 2 servers, each with a HBA into a SAN, they are both presented with the same luns. On server1, configured and installed the zone (zone1), the... (6 Replies)
Discussion started by: beaker457
6 Replies

4. UNIX for Advanced & Expert Users

Cloning a solaris system

I have several Solaris 8,9 and 10 servers. I need to refresh them and avoid doing any OS upgrades. I may have to apply patches when I am done due to the new hardware. My current servers have internal disk and my new target servers (same processor types) will have only SAN storage. Once the... (0 Replies)
Discussion started by: zzqv9p
0 Replies

5. Solaris

Cloning Solaris 10 perdicament

Hello and let me say at first, thank you for viewing this problem I have. From the top! Where I work, we have a Dell PowerEdge T300 X86 system running Solaris 10 8/07 s10x_u4wos_12b X86, and we realized, if this machine went down, we would be in trouble. So to fix that situation, I took it... (5 Replies)
Discussion started by: nitrolinux
5 Replies

6. Solaris

Cloning Solaris 10 with zones

Hello, What is the best method to use to clone a Solaris 10 machine with zones, to ensure all software and config can be easily installed on new hardware? Thank You (4 Replies)
Discussion started by: da2013
4 Replies

7. Solaris

Cloning RAID0 drives, Solaris 10u11

Hello all, this is my first time posting here. Where I work we have multiple servers (x3-2's) running Solaris 10u11 with 2 drives configured as RAID0, 300GB per. There are 4-6 open slots for drives to clone to. Past attempts to clone/backup these drives has failed. One of the machines is... (1 Reply)
Discussion started by: eprlsguy
1 Replies

8. Cybersecurity

How to protect system from cloning?

Hello there, I would like to protect a Linux system from cloning, I don't mind if the cloned hard drive works in the same computer, but I need to avoid it to work in other one, even if it uses exactly same mainboard model and rest of computer parts. I want the cloned system to get frozen or... (4 Replies)
Discussion started by: Installimat
4 Replies

9. AIX

Cloning a system via mksysb backup from one system and restore to new system

Hello All, I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance. Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies
libssh2_session_supported_algs(3)				  libssh2 manual				 libssh2_session_supported_algs(3)

NAME
libssh2_session_supported_algs - get list of supported algorithms SYNOPSIS
#include <libssh2.h> int libssh2_session_supported_algs(LIBSSH2_SESSION* session, int method_type, const char*** algs); DESCRIPTION
session - An instance of initialized LIBSSH2_SESSION (the function will use its pointer to the memory allocation function). method_type - Method type. See .BR libssh2_session_method_pref(3). algs - Address of a pointer that will point to an array af returned algorithms Get a list of supported algorithms for the given method_type. The method_type parameter is equivalent to method_type in libssh2_ses- sion_method_pref(3). If successful, the function will allocate the appropriate amount of memory. When not needed anymore, it must be deal- located by calling libssh2_free(3). When this function is unsuccessful, this must not be done. In order to get a list of all supported compression algorithms, libssh2_session_flag(session, LIBSSH2_FLAG_COMPRESS, 1) must be called before calling this function, otherwise only "none" will be returned. If successful, the function will allocate and fill the array with supported algorithms (the same names as defined in RFC 4253). The array is not NULL terminated. EXAMPLE
#include "libssh2.h" const char **algorithms; int rc, i; LIBSSH2_SESSION *session; /* initilize session */ session = libssh2_session_init(); rc = libssh2_session_supported_algs(session, LIBSSH2_METHOD_CRYPT_CS, &algorithms); if (rc>0) { /* the call succeeded, do sth. with the list of algorithms (e.g. list them)... */ printf("Supported symmetric algorithms:0); for ( i=0; i<rc; i++ ) printf("%s0, algorithms[i]); /* ... and free the allocated memory when not needed anymore */ libssh2_free(session, algorithms); } else { /* call failed, error handling */ } RETURN VALUE
On success, a number of returned algorithms (i.e a positive number will be returned). In case of a failure, an error code (a negative num- ber, see below) is returned. 0 should never be returned. ERRORS
LIBSSH2_ERROR_BAD_USE - Invalid address of algs. LIBSSH2_ERROR_METHOD_NOT_SUPPORTED - Unknown method type. LIBSSH2_ERROR_INVAL - Internal error (normally should not occur). LIBSSH2_ERROR_ALLOC - Allocation of memory failed. AVAILABILITY
Added in 1.4.0 SEE ALSO
libssh2_session_methods(3), libssh2_session_method_pref(3) libssh2_free(3) libssh2 1.4.0 23 Oct 2011 libssh2_session_supported_algs(3)
All times are GMT -4. The time now is 11:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy